Minecraft wiki entry for Tips_and_tricks, associated text: Be careful when decorating around the bed. Some block placements will allow you to sleep in the bed, but will prevent the bed from actually letting you respawn. Never completely surround the bed, even with half-height blocks, such as stone slabs. Also, if you put glass beside your bed, you may not be able to spawn beside it, as players cannot naturally spawn on glass. If your bed is obstructed and you died somewhere, you will end up near the world spawn point with a message saying that "Your bed is missing or obstructed". A good way to check if your bed is not obstructed is to build a copy of your bed and the blocks surrounding it near world spawn, and then jump on a Pointed Dripstone until you die. If all is well, you should respawn on or next to your bed, but if you ended up at world spawn, you can easily get your stuff back and edit the bed until you respawn by your bed.