Beds

The Bed is a piece of Furniture you can set your spawn to, which can be useful if your house isn't near your spawn. Once a bed has been placed you can right-click it to set its location as your new spawn point. If the bed is removed, your spawn point will revert to the world default.

For a bed to function properly and allow you to set your spawn point, the following criteria must be met: If the requirements are met, right clicking the bed should set your spawn and show the message "Spawn point set!".
 * The bed must have enough space. The interior must be at least 8 blocks wide and 4 block high.
 * The background wall must be crafted from a material other than dirt or dungeon brick.
 * The room's exterior walls may be crafted from dirt. Only the background needs to be another material.
 * A bed may be placed in a non-rectangular room, so long as the blocks immediately above it are left clear.