Villagers arent going "home"
What I expected to happen was...:
At night villagers are supposed to go to their house and sleep, especially if there are mobs near.
What actually happened was...:
They just stood and/or walked around like it was day
Comments 7
Tested in 20w11a, it seems to be a combination of things. All villagers used to try to get indoors at night before 1.14 when they cared about doors, and now that they're attached to beds villagers that don't have any assigned beds just stand around at night outside leading to them getting killed easily.
The other part of it is even when there are many available beds all throughout the village, it seems villagers won't detect them for a while and have a very short range of doing so, leading to them standing around as well until they happen to wander close to one.
I'm seeing this too, they can't all path find to their assigned beds and just stand outside the house in the closest block to it.
Only for some villagers, it seems, not all.
Villagers aren't programmed to go into their 'Homes' during that part of the day, they assign themselves a bed and then will pathfind and sleep in that bed during the night. While standing right in front of and facing the villager, use the
/data get tab(to their entity id) Brain
and check their bed coordinates. If they have no bed, they will not have an assigned place to go when night comes according to their schedule. But if they do have a bed, it is relatively close and they can pathfind to it then this would be a bug.