The Bug
In desert villages, there are ''windows'' with air. But in some houses, they are just 1 block above the ground, which allows baby zombies to enter that and attack villagers. See in the screenshots.
Generic affected structures are:
desert_small_house_1
desert_small_house_2
desert_small_house_4
Profession affected structures are:
desert_library_1
desert_fletcher_house_1
desert_shepherd_house
It can be even reproduced in these during thunderstorms when villagers are working, because of MC-146143
To reproduce:
Find or load one of listed structures
/place template minecraft:village/desert/houses/{structure}
Set the time to night
Spawn a villager inside the house
Spawn a baby zombie outside the house in front of the window
→❌ Observe that it enters through the window, and tries to attack the villager
Fix
Change the structures to have it at least 1,5 blocks above the ground or give the flowerpot a new property
Attachments
Comments 5
In 22w07a, the desert_small_house_1 (small home with cyan bed and terracotta in the roof) generates without its potted cactus. Creepers can thus see you in the house, approach, and explode. As it is only one block, I presume a baby zombie could also enter and attack you or a villager.
[media]Just checked. Can reproduce in 22w07a; baby zombies are able to pathfind through the gap and gank you.
Cannot reproduce in 21w44a; baby zombies are unable to pathfind through the gap.