mojira.dev
MC-102896

Mobs can't pathfind through open doors.

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.

Linked issues

Attachments

Comments 11

Can confirm.

Happens to me too. Can really be used as an exploit, because if I keep doors open, zombies cant break them and wont go through them either.
EDIT: Looks like not all mobs are affected. For example, adult zombies are, but not baby zombies.

Still an issue in 17w47b

Just saw this happen with zombies not pathfinding through open iron doors in 1.12.2

1 more comments

The bug seems fixed for 18w19a. I did everything like in the Gif and the zombie just walked straight out and attacked me. It was none of the special cases.

Can anyone else confirm the fix ?

Mobs can now pathfind through open doors, but sometimes it still stuck.

[media]

I can't seem to reproduce this in 1.13 so I guess it's fixed.

This is NOT fixed, and hasn't ever been functioning. most obvious when villagers are trying to pathfind to their beds.

SunCat

migrated

Confirmed

door, mob, open, pathfinding

Minecraft 1.9.4, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10, Minecraft 1.10.1, ..., Minecraft 17w47a, Minecraft 17w47b, Minecraft 18w11a, Minecraft 18w15a, Minecraft 18w19b

Minecraft 1.13

Retrieved