The bug
Mobs try to pathfind through corners, if there is an air block behind the corner. This seems to affect all mobs, including passive mobs such as villagers.
To reproduce
Build a diagonal wall that mobs could theoretically walk around
Behind that wall, build a pillar
Climb on that pillar
Switch to Survival mode
Spawn a zombie on the other side of the wall
Video
[media]Original description
Sorry, I am creating this bug again because MC-142516 was resolved as a duplicate of a non-related bug.
"Zombies, Creepers, Skeletons are all behaving like they have no AI for pathfinding at all. In bamboo forests or inside mineshafts they are unable to get around a corner (or double corner), just to reach me. Instead they are searching for the shortest direct path and get stuck."
All mobs are generally moving and are following me. They have also seen me, I usually hit them first and run just 5 blocks away. All the mobs in the picture have seen me, followed, but then stayed where you can see them. They just have no clue how to get around.
Linked issues
is duplicated by 25
relates to 3
Attachments
Comments 29
If I remember correctly, this is a feature of the AI appearing when it's not supposed to. Ordinarily, when the AI cannot create a path from the monster to its target, it will attempt to simply get as close as possible without entering a hazard. However, in these cases, the monster clearly has a very short path to follow but is prevented from following the path. This definitely relates to my MC-142964, except manifesting in a comically more severe way. In fact let me test this...
Well, part of your error is something more obvious - mobs path through Bamboo like they would tall grass; they ignore it entirely.
Confirmed in 19w12b. I edited the ticket a bit (I hope you're fine with that, OP) and attached a video showcasing this bug.
This behaviour can also be observed with villagers in snowy tundra villages. They try to get in and out of their igloos by going through their corners.
It’s an issue in bedrock Edition too. Villager path finding is awful. Forget about building two story buildings because Villagers can barely find themselves in a house. They also don’t respond to the bell sometimes. I don’t know if I should create a separate report because there are several issues. I sometimes wish that they never change the formula from doors to beds.
This section of the bug tracker is for Java Edition only. For Bedrock Edition, please visit the MCPE project.
This bug is back again in 19w36a, but may be only when doing certain AI tasks. I've seen a villager path-find into a pair of diagonal fence posts while heading to work. but seem to avoid doing so when doing other things.
Sorry about that. Though, the bug seems to be different this time around so I've created a ticket for a "different" bug; one regarding villagers path-finding to work (and possibly other targets as well). Because this time around it might just be them path-finding straight to the target as opposed to path-finding thru corners.
MC-160582
I added some more pictures of mobs not following anymore if they reach bamboo.