Hello!
I was experimenting with villagers in 1.14.2 and noticed my villager was sleeping. Very normal appearance, so I thought "I should sleep so it will turn day". But for whatever reason, it wasn't time for me to sleep just yet. I had to wait another 500 or so ticks.
Also tested in 1.14.3 Pre1, villagers can sleep before a player can.
Recreate:
Remove and replace the door on your villager house with a block.
Make sure the villager has a bed and is in the house. Then, set your time (/time set 11500).
The villager should go to bed, now place a bed next to him and try to sleep. You can't unless you set the time again (/time set 12000).
Linked issues
Comments 4
Duplicate of MC-151546
Added the reproduction steps to MC-151546.
iCourt, I believe this is working as intended. Villagers need to sleep and work in order to spawn golems. If they wait to sleep until the same time as you do, then there's a chance you might sleep but they won't have time to get into the bed. This way they will always be able to sleep if there's a bed available.
Or maybe villagers just like going to bed early, who knows. 🙂