Mojira Archive
MC-197857

Villagers trying to claim claimed beds

The bug
Breaking and placing a claimed bed in the same place causes a second villager to claim it, even though the original owner had not forgotten his bed location. This causes one villager to sleep at night while the other tries to claim the same bed.

What I expected to happen was...:
When replacing the claimed bed, the original owner would either discard his claim or the second villager would not try to claim it.

What actually happened was...:
Two villagers claimed the same bed.

To reproduce: 24w46a MC-197857.mp4

  1. In Video Settings, set Particles to All
  2. Make a trench two blocks deep
  3. Place a bed and a villager
  4. Wait for the villager to claim the bed (it will emit green particles)
  5. Spawn another villager in the trench
  6. Break and place the bed in the same position
  7. Check if the second villager claims the bed (it will also emit green particles)
  8. If it happens, use this command:
    /time set night
  9. You will see one villager sleeping in the bed, and the other constantly reclaiming the bed (with lots of green particles on his head