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:
Build a room with a door (a place, which can be exited only through door(s))
Summon any mob in it, that can be provoked / led by food.
Make sure the mob (normally) can come out of the room.
Open the door.
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
Relates to MC-50556
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.
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 confirm.