mojira.dev
MC-151546

Villagers sleep earlier than the player

I had some cured zombie villagers in my house, and they went to bed. So I placed by bed down and tried to sleep but got the "You can only sleep at night and during thunderstorms" message. The villagers are able to go to sleep earlier than the player can.

Reproduction steps (from MC-153736)

  • 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

Attachments

Comments 10

Can confirm in 20w51a.

Can confirm in 21w03a

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b. Video attached. Also, here are some steps to reproduce this issue:

Steps to Reproduce:

  • Set the time to just before night.

/time set 12500
  • Place 2 beds and summon a villager next to one of them.
    → ❌  Notice how the villager is able to sleep earlier than you can.

Can confirm in 1.17.1.

Can confirm in 1.18.2.

Can confirm in 1.19 and 1.19.1 Pre-release 1.

Can confirm in 1.19.2.

Can confirm in 23w51b.

Ian Alexander Morrow

(Unassigned)

Confirmed

Mob behaviour

Minecraft 1.14, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1, 1.15.1, 1.16.3, ..., 1.20.1, 1.20.4, 23w51b, 1.21.1, 24w38a

Retrieved