mojira.dev
MC-152291

Spawnpoint is not reset when a bed is broken and replaced

The bug

If you sleep in a bed and it is broken, you are supposed to be sent to the world spawn. However, if you break and replace the bed, you respawn at the bed again.

To reproduce

  1. Place a bed far away from world spawn

  2. Sleep in it

  3. Break it

  4. Place it again at the same location

  5. Run /kill @s
    → ❌ You respawn at the bed, not at world spawn

Linked issues

Comments 4

1.15.2 and 20w21a are affected. In 20w21a, this occurs for both beds and respawn anchors. This might be intended.

Also, other methods of invalidating and then re-validating your respawn point, such as obstructing your spawn point with blocks but then removing the blocks before you die, do not reset your spawn point to world spawn.

Breaking it and then placing it sounds very intentional. The spawn point will reset for beds until you sleep in it again, no matter if it's in the same position or not. Same with respawn anchors, you can only respawn with them when they're charged with at least 1 and up to 4 glowstone blocks.

Can confirm in 21w06a

Can confirm in 1.20.4

Ron DeFrain

(Unassigned)

Confirmed

Player

Minecraft 1.14.1, 1.15 Pre-Release 2, 1.15.2, 20w21a, 1.16.4, 20w46a, 21w06a

Retrieved