mojira.dev
MC-209649

Pillagers are not pathfinding out of cactuses and other damaging blocks if they are still able to attack their target

If a pillager with a crossbow is touching a cactus but is still able to shoot the player they won't move to save themselves. This isn't a problem with skeletons and strays.

I wasn't able to upload my screenshots I got the message Jira was unable to load because there was a missing token but just to let you know the list includes fire, magma blocks, cactus, campfires, suffocation, and lava

Attachments

Comments 8

Can confirm for 20w51a (tested with villagers).

In 1.18.2 and 22w15a

To reproduce this with cactuses you need to knock them into the cactuses either by yourself, or by getting them to shoot themselves. They don't pathfind into them, but once they're in the cactus they don't move as long as they can shoot you.

I have just experienced this in 23w14a.

In 1.20.2 and 23w41a

In 1.21.1 and 24w34a

Bobby Misner

(Unassigned)

Community Consensus

Mob behaviour

pathfinding, pillager

1.16.4, 20w51a, 1.17, 1.18.2, 22w15a, 23w05a, 23w14a, 1.20.2, 23w41a

Retrieved