Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-102896

Mobs can't pathfind through open doors.


    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.13
    • Minecraft 1.9.4, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 18w11a, Minecraft 18w15a, Minecraft 18w19b
    • Confirmed

      Works as expected

      • if the doors are wooden and the mob is a villager or zombie (villager) with CanBreakDoors:1
      • if the mob is a zombie (villager) and it has a villager as a target
      • if the mob is a baby zombie (villager)

      If the only way from mob to the target goes through open doors, the mob stays behind the doors and follows the player's movements (see the Animation.gif)
      If there are 2 ways from a zombie to player, one through open doors and the other without them, the zombie chooses the second way.
      Steps to reproduce:

      1. Build a room with a door (a place, which can be exited only through door(s))
      2. Summon any mob in it, that can be provoked / led by food.
      3. Make sure the mob (normally) can come out of the room.
      4. Open the door.
      5. Provoke/take needed food in your hand/go far enough away.
        The result: the mob will be stuck behind the door.

            ProfMobius ProfMobius (Thomas Guimbretiere)
            SunCat [Mod] SunCat
            27 Vote for this issue
            12 Start watching this issue