mojira.dev
MC-198380

Erratic pathfinding by mobs on double carpet

In 20w27a and below a mob (eg Zombie) would not pathfind onto a double carpet, for example a one block deep ditch covered with two carpets.  They would stop at the last block before the ditch.

In 20w28a at onwards the mob now pathfinds onto the carpet and then spins erratically until it changes the path finding target through either random walk or the target player moving blocks.  The mob then path finds off the carpet onto the other side of the carpet "barrier".

This makes carpet barriers at entrances no longer function as before .

Linked issues

Attachments

Comments 5

Can confirm. Also affects 20w51a.

Can confirm in 1.17.1.

Can confirm in 21w42a.

Can confirm in 1.18 Pre-release 1.

Can confirm in 1.19.3 and 23w07a

Alan Mullett

(Unassigned)

Confirmed

Mob behaviour

pathfinding

1.16.2, 20w51a, 1.17.1, 21w42a, 1.18 Pre-release 1, ..., 22w18a, 1.19.2, 1.19.3, 23w07a, 1.21.3

Retrieved