Water pathfinding problems:
Mobs try to reach its targets in impossible ways in certain conditions when water is involved, even if there is a possible route to get to the player.*
Example situation:
A player stands on a platform which is surrounded by water. The platform is one block above the water and it has a staircase down to the water, so you can get up. A zombie spawns on an island near the platform and sees the player. The zombie swims directly towards the player and ignores the stairs. The zombie won't be able to reach the player.
Note for example: This happens sometimes, depending on how near you are to the staircase.
You can see this in "3" of attachments.
*To reproduce:
Build a platform one block above surrounding water. Build something that can take you up to the platform.
Spawn a mob in the water.
Attract the mob while standing on the platform. You'll see that the mob ignores the path that takes you up to the platform. The mob tries to get up to the platform but never succeed.
The attachments show another way of reproducing. Additionally, when replacing the water with lava in the example "1" of the attachments, the mob's behavior changes.
FIXED:
A mob rather approaches its target by swimming, than to take the faster route.
Mobs that you attract refuses to swim to reach you when you're standing on a platform surrounded by water. The mob never reaches you then(See "2" in attachments). An exception is when there is just a one block gap with water between the platform you stand on and the mob.
Attachments
Comments


Reopened. ProfMobius might have meant to mark it fixed for the next snapshot.

Please use the preview option instead of committing changes so frequently. Thank you.

Yeah, I think I received like 100 emails so far just because of the edits.

Oh, sorry! Will do, redstonehelper.

The issue should be fixed now.
The pathfinding was giving up too easly when expensive terrain was present (like water).

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w43a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.