The bug
Villagers in 1.14.4 will run around the village as if there is no shelter during raids. They may occasionally find a building but they will run out of it as if a pillager or zombie was inside. At night when being chased by zombies, villagers will not run inside most of the time and instead run out into the wilderness.
How to reproduce
To replicate, find a village and start a raid or spawn zombies at night in a village without enough beds.
Linked issues
is duplicated by 1
Attachments
Comments 4
Heres a video demonstrating the problem. The last villager (baby villager) took about 50 seconds to find shelter after the raid horn had sounded. Also notice how the villagers repeatedly runs into a home and then shortly after leaves it again to go seek for another.
https://youtu.be/lEmQvJmimSs
Oh also, sometimes the villagers seem to forget there's a raid happening and they start to walk randomly around doing what they are supposed to do at the current time of day, they'll continue to do so until they spot an enemy and then remembers the raid and starts panicing again.
Sometimes they may even decide to run to a random spot in the outskirts of the village and just stand still until an enemy is sighted.
They will still show the sweat particles when they have "forgotten" the raid.
Im not sure if this is a separate bug tho.
Heres a picture showing a couple of villagers just standing during a raid and not moving.
[media]
Related to MC-146143
This is still present in 19w44a
Also, it seems like the more villagers there are in the village, the harder it is for them to choose which home to stay in.
I have found that given enough time, they will eventually all find a place to stay but its neither based on being their own home nor a unoccupied home i.e. which house they choose to seek shelter in seems completely random, they just have a really hard time choosing one.