Mojira Archive
MC-278842

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:

  1. Recreate a setup like this:
  2. Place doors over the wool using the same camera angle as shown in the screenshots
    1. Green door:
    2. Red door ('open' the door after placing it):
    3. Blue door:
  3. Place 3 work stations outside of the enclosure, or 3 beds at night
  4. 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:

2024-12-11_12-36-06.mp4

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.

Unresolved

[Mod] Jiingy

2024-12-11, 06:50 PM

2025-01-22, 07:53 AM

5

2

Community Consensus

Normal

Platform

Mob behaviour

1.21.4

-