Villagers
Open and close doors continuously, failing to accomplish their goal of getting in or out, when a door is blocked from either the inside or the outside of a house.
Note: Bug reproduces more rarely when a villager is outside the house.
Baby Villagers 1
Ignore or don't enter houses with doors blocked by the upper or lower half at nighttime, even if they're small enough to go inside. But if the top half of a door is blocked, sometimes they do go inside, but less frequently than unblocked doors at nighttime. Seemingly as frequent as when villagers enter unblocked doors at daytime. Also, when they decide to enter, they walk slowly towards the house to enter it, just like at daytime.
Baby Zombies 2
Don't break doors that are blocked by the lower half.
1 To reproduce (baby villager)
Build a house with a door
Block the lower half or the top half of the door
Summon baby villager outside the house
/summon Villager ~ ~1 ~ {Age:-6000}
Set time to night to more easily see the bug
/time set night
Observe the issue
2 To reproduce (baby zombie):
Build a house with a door
Block the lower half of the door
Summon baby zombie that can break doors outside the house
/summon Zombie ~ ~ ~ {IsBaby:1,CanBreakDoors:1}
Go inside the house with survival mode
Observe the issue
Related issues
Attachments
Comments


It seems as though villagers are trying to path diagonally. Surround a villager on all four sides by a cobblestone wall, but without the corners. The villager will keep trying to path to a corner, even though it can't fit between the cobblestone walls. Add the corners, and the villager won't try to path anywhere. The same behavior can be observed with other blocks that villagers consider movement inhibiting (full blocks, rails, etc.).
So, if a door is blocked such that the barrier is extended by one block to either side, it seems as though the villager will not repeatedly open/close the door, since the diagonals are also blocked.

I have also observed that if you place two doors with one in front of the other in a house, and a Villager tries to get in, the Villager continuously opens and closes the valent door, and the Villager never actually gets in the house, though in the technical aspects, the Villager would be inside the house, because the Villager is between the two doors, I'm going to create a new ticket for that issue.

Ticket created, see MC-97042

Villagers are still trying to path to unreachable corners in 16w07a. May relate to the issues partially addressed by MC-94438.

What about 1.9.1 pre-releases?

Can confirm for 1.9.1 & 1.9.2 (See Screenshots)

To Reproduce for Villager:
1. Make a valid house.
2. Place a block next to the outside of the door to obstruct it, so that Villagers on the inside can open/close it, but can't exit.
3. Spawn a Villager on the inside of the house you made.\
4. Observe effects.

Can Confirm for baby zombie.

Clarifying the comment I made on 13/Feb/16, the villager thinks that the second door is an obstruction, when really, the Villager can also open that door too, making the bug MC-97042 I reported.

Confirmed for 1.13.1.

Also a bug on MCPE, but not only baby zombies and not only bottom half.

Can this still be reproduced in 20w30a or later?