I am making an iron farm in the new pre-release and I have multiple rooms with 10 villagers and 10 beds. Each night in every room, 1-3 villagers refuse to sleep.
[media]Attachments
Comments 3
What might be happening is some of the villagers register their bed in another cell, one other than the one their in. You can check if this is the case by looking at the unsleeping villager, and typing /data get enity [entity id, you will see it, just tab to it]. It should be right at the top, labeled "minecraft:home". I had the same issue. You can prevent this by putting in the beds once you put the villagers in the cell.
I am kinda new here so I don't understand the bot's reply. This is something I wanted to report as well. Also very often you can see one villager sleeping and another one standing next to the bed or even on top of it waiting for it to be free/trying to sleep in there as well.
E: Tested on all Pre-release versions, still happens in the 5th one.
Please do not mark unreleased versions as affected.
You don't have access to them yet.