mojira.dev
MCPE-81361

AI pathfinding can't distinguish water from a full solid block

When mobs that walk (villagers, foxes, drowned, or more related) find a route over water, they assume that water is a full solid block. This leads them to believe that a path through water to an area one block high is valid, leading to cause MCPE-77646.

Video Example

https://youtu.be/zjC0WgtGHcg

Comments 4

I can confirm for 1.16. I’ve had multiple mobs did that I needed because of this.

In other words, the problem is that mobs try to path out of water onto blocks that are 1 block up from water level? Then if the block has water under it, they will go under the block and drown.

Makzevu

(Unassigned)

386182

Confirmed

Windows

1909 (18363.535)

pathfinding

1.19.0.25 Preview, 1.18.10.26 Beta, 1.18.0.22 Beta, 1.17.40.20 Beta, 1.17.0.54 Beta, ..., 1.16.40 Hotfix, 1.16.100.59 Beta, 1.16.100, 1.16.200, 1.18.0

Retrieved