At sunset adult villagers head home and sleep in bed, meanwhile baby villagers seem to have problem getting into doors and wander around for a while. When a baby villager try to open a door it closes right after so can't enter and then search for other houses. So player should open the door or push them to successfully get inside.
Attachments
Comments 5
Baby villagers often fails to enter the house(either open and then instantly close the door, or they manage to get inside the door like 0.3 block and then get out) even when there's available bed inside. Adult villagers properly enters house as they do.
It might seems this has something to do with hitboxes, like the program didn't recognized baby villagers are inside.
commands used were
/summon villager ~ ~ ~ {Age:-10000,CustomName:'{"text":"testbabyvillager"}'}
/data get entity @e[name=testbabyvillager,limit=1]
and in normal world generation natually spawned baby villager AI has same behavior.
Please provide a screenshot of the area with the F3 debug screen enabled.