mojira.dev
MC-1257

Spawnpoint not set when used with /spawnpoint; bed-not-found error used.

I used a command block to set all spawn points in 1-second intervals. When I died using /kill, I spawn on the world spawn and a message comes, saying "Your bed was missing or obstructed". I tried to reproduce this bug, but it doesn't give the same results.

Attachments

Comments 4

If at any point the spawnpoint isn't air (that means grass, buttons, pressure plates, water etc.), Minecraft counts it as obstructed and resets it to the default one. Works as intended.
You always need to stand in two completly empty blocks.

Yes; I made sure of that. However, it is below a fence and above a pinewood plank, if this also means anything.

More info would be nice. You said, youre using a commandblock which sets your spawnpoint every second? That way your spawnpoint is constantly moving around, unless youre not moving. That way as soon as it hits a block which isnt air it becomes invalid, but valid again if you move away from whatever block you were standing in. This would also explain why your results are different.

just had the same issue without bed-not-found, the spawnpoint did not work and I was somewhere in the woods. Thanks for the hint Raphael, it was not working because a sign was in the spawnpoint. 🙂

Math Maniac

(Unassigned)

Unconfirmed

command_block, spawn

Minecraft 1.4.2

Retrieved