mojira.dev
MC-217561

villager pathfinding is still kind of broken

Sometimes I would see villagers getting stuck when they are trying to go to their work station or to their bed. When a butcher tries to get to their smoker, they would be stuck on the smooth stone slab thing and eventually lose their job because it thinks it can't get to the smoker even though it can, as shown in one of the pictures. One of the butchers is stuck outside the butcher shop because they cant seem to walk around the building to get to their work station. Cartographers and masons sometimes get stuck on the trapdoors at their work buildings. I even noticed the armorer somehow forgot his job. A lot of pathfinding issues with houses happen with the 4-bed house. a villager who sleeps at the upper-right bed jumps up and down on the stairs because it cant figure out how to walk up the stairs. Finally, a villager who sleeps in the house with a green carpet gets stuck on the carpet and can't walk around, as shown in another picture. I've also noticed villagers who try to sleep in a bed that was claimed by another villager.

Attachments

Comments 3

The problems with villagers standing on a block next to their workstation is due to this bug MC-159046
When the two block space above a workstation is blocked off, the villager will pathfind to the heighest poit it can get to instead of standing in front of the workstation. Removing the blocks above will solve the issue.

The villagers caught on the corners of trapdoors are due to this bug, which has been marked as Works As Intended MC-50556

The villagers blocked off by the carpet is due to the combined height of the villager plus a carpet is more than 2 blocks tall, so the villagers hitbox prevents it from moving in that space where there is carpet under a 2 block heigh ceiling. See this bugreport MC-97799 The villagers height used to be lower before which allowed them to walk over carpet in a 2 block space but their height got changed in 15w39 a from 1.8 blocks to 1.95 blocks. Their AI still think they can fit despite they don't.

The last issue with a villager on a stair that thinks it can get up is a new problem in 1.16 (not sure if it already existed in 1.15) where villagers think they can jump 1 block up when standing on the lower part of a stair block which effectively makes the height 1.5 blocks, thus resulting in them often getting stuck on stairs. I have not found any bugreport for this issue.

This report is invalid as multiple issues have been stated in one ticket.

Thank you for your report!
However, this issue is Invalid.

Please put only one bug report in each ticket. It is very difficult to keep track of bugs when they are not in their own tickets.
However, please review the Bug Tracker Guidelines before creating new reports. Be sure to search for an existing issue as it is likely to have already been reported.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

GreenPlanet669

(Unassigned)

Unconfirmed

(Unassigned)

21w08b

Retrieved