Villagers can get stuck in front of or behind doors with certain block states
Depending on how a door is placed and what it's 'open' state has been set to, villagers cannot open it and get stuck in front of or behind it disallowing them from path-finding properly.
This is likely because they check the door's block state very literally and do not regard how the door was placed.
Steps to Reproduce:
- Recreate a setup like this:
- Place doors over the wool using the same camera angle as shown in the screenshots
- Place 3 work stations outside of the enclosure, or 3 beds at night
- Summon a villager in each space behind the enclosed doors
Expected Result:
The villager would be able to path-find past the door by either opening it, or walking through it if the door already has proper clearance for the villager to walk through.
Observed Behavior:
Only in the last setup (the door over the blue wool) will the villager be able to path-find through the door by opening it. In the other two setups, the villager will get stuck behind the door unable to path-find properly. In some cases, the villager will spam opening and closing the door.
Screenshots/Videos:
Notes:
This issue is very similar to MC-256129 and may even be the cause of it, but was reported separately as I did not feel MC-256129 adequately covered this behavior.
The other report focuses on villagers not closing doors when avoiding other mobs, whereas this report covers villagers getting stuck, being unable to path-find.
2024-12-11, 06:50 PM
2025-01-22, 07:53 AM
5
2
-