mojira.dev
MC-149099

Some villagers don't goto bed at night.

Even though there are beds for them some just wont sleep in them and stay up all night.
see image.

Attachments

Comments 6

While standing next to the villager that won't sleep, run the following command:

/data get entity @e[type=minecraft:villager,sort=nearest,limit=1] Brain.memories."minecraft:home"

Does this entry exist? If it does, do the coordinates lead to a bed that's already occupied?

Not sure, either way it's a problem.

Did you even bother running the command? It will tell you if it found anything. Screenshot the response and attach it here if you want to.

I've been having the same issue and tried the command on a villager who keeps trying to go to his original house he spawned with. I destroyed the bed and the door (just for good measure) there to try and get him to reassign to a bed closer to his profession block. the command confirms he's still trying to get to the same location even though the bed there doesen't exist.  Sorry the screenshots are a bit rubbish

[media][media]

Added screenshots for 1.14.2 pre-release 3. After a few second of laying in bed they jump back out and just stand there the whole night afterwards. Sometimes they don't even go to bed at all and just stand up the whole night, trying to interact with the sleeping villagers

Is this still an issue in 1.14.3-pre3? If so, please update the affected versions.

Ray

(Unassigned)

Unconfirmed

(Unassigned)

Minecraft 1.14 Pre-Release 5

Retrieved