Steps to Reproduce:
Dig a 1x1x7 hole and fill it with water;
Spawn a dolphin/fish inside;
Place a glass pane in the middle to block the mob from passing to the other side.
Observed Results:
The mob keeps trying to go through, even though they're unable to.
Expected Results:
The mob realises it's unable to pass and stops trying.
Screenshots/Videos attached: Yes
Notes:
Related issues
is duplicated by
relates to
Attachments
Comments


There are some waterlogged blocks that mobs should treat the same as water: kelp, seagrass, and coral fans come to mind. The problem is that they don’t take account of the collision box of waterlogged blocks.

Affects 1.16.0.55.

It seems the fix to MCPE-49607 was not applied to swimming.

Confirmed in 1.21.44