mojira.dev
MC-156022

Mobs' pathfinding breaks when on waterlogged top slabs

The bug

Entities have difficultly pathfinding when standing on waterlogged top slabs.

Similarly to MC-136318, the mobs will stop moving and spin when on top of a waterlogged block. In 1.14.4 Pre-Release 2, the pathfinding was fixed for most waterlogged blocks. However, the pathfinding is still bugged if the block is the top half of a waterlogged slab.

How to reproduce

  1. Run the following command:

    /fill ~10 ~-1 ~10 ~-10 ~-1 ~-10 minecraft:cut_copper_slab[waterlogged=true,type=top]
  2. Summon a cow on top of the cut copper slabs

  3. Attack the cow

Observed behavior

The cow does not panic; it has difficulty pathfinding while on waterlogged top slabs.

Expected behavior

The cow would panic; Entities would not have difficultly pathfinding while on waterlogged top slabs.

Linked issues

Attachments

Comments 22

Confirmed for 19w34a

12 more comments

Can confirm in 1.18.2.

I can confirm in 23w05a

In 23w32a

There's also an issue with hostile mob pathfinding to a player who is standing on waterlogged top slabs, where they take an unnecessarily long path to them instead of a direct one

Can confirm in 24w45a.

William Gross

(Unassigned)

Confirmed

Platform

Normal

Mob behaviour

Minecraft 1.14.4 Pre-Release 2, 1.14.4, 19w34a, 19w38b, 19w42a, ..., 1.19.3, 23w05a, 23w32a, 1.21.3, 24w46a

Retrieved