Beds



Beds are furniture items which allow the player to set a new spawn point, or to sleep, which makes time pass 5 times faster, and gives a boost to health regeneration, similar to chairs and sofas. Beds fulfill the chair requirement for the purposes of housing. Beds have two separate sections which can be interacted with via. Interacting with the head of a bed causes the player to enter the bed and sleep. Interacting with the foot half of a bed, when it is placed in a valid House, changes the player's spawn point.

Like most other furniture, the direction a bed is placed in depends on the direction the player is facing when placing it.

There are currently 35 /  27 craftable beds and 5 that can be acquired from the environment. All beds are functionally identical, and differ only in appearance.

Sleeping
Pressing on the head of a bed causes the player to lie down and sleep (indicated by their eyes closing), which accelerates time by five times its normal rate (1 hour of in-game time, which would usually take 1 minute of real-life time, takes only 12 seconds while sleeping). This affects game time, including watches, the sun and moon, plant growth, and background animations (but not buff timers, NPC movement or other animations).


 * It is not possible to sleep during invasion events, including Blood Moons, Solar Eclipse and Lunar Events, or when an Enchanted Sundial is advancing time.
 * Sleeping does not affect potion cooldowns or durations. However, it does give a boost on health regeneration. The latter effect is shared with chairs and sofas.
 * Time acceleration in multiplayer requires that all players be asleep.
 * While sleeping, some actions involving the key will not cause the player to open their eyes, nor does it cause time to revert to normal.
 * As a general rule of thumb, most actions involving the key will not cause the player's eyes to open.
 * Holding, but not using, items such as Torches and Umbrellas in the player's hand, will not cause the player to open their eyes.
 * While sleeping, some actions will cause the player's eyes to open, and the accelerated time to revert to normal, but will not kick the player out of bed.
 * If an item that can aim (like a gun, spell, or summon) is used, the player can attack while lying down as long as they aim at a 0° to 180° angle (an arc above the character). Other items that can aim (like a flail, drill, shortsword) must be used at -90° to 90° (an arc facing the player's feet).
 * Placing blocks or wire will only open the character's eyes.
 * Using Wire Cutters or a Grand Design to break wires is allowed.
 * The only way to destroy blocks without getting out of bed entirely is to use some form of explosives.
 * Getting hit by an enemy, breaking blocks, or pressing any movement keys will cause the player to get out of bed, and time to revert to normal.

Setting player spawn point
Pressing on the foot of a bed, when it is placed in a valid house, sets the player's spawn point to that bed. This is signified by the status message "" When the same is done on a bed that has already been set as the player's spawn point, the status message "" is shown, and the player's spawn point is set back to the world's default.

For a bed to function properly as a spawn point, it must be in a valid house. Other than the bed itself, no other furniture or lighting is required. There must also be clear space at the head of the bed for the player to stand. A bed may be placed in a non-rectangular room, as long as the leftmost 3 tiles immediately above it are left clear.

For example: There may be a bed (4×2) surrounded by blocks on the left, right, and bottom, and above the foot of the bed, as long as there is space for the player to spawn at the head of the bed.


 * [[File:Valid bed.png]]

The top-left 3 tiles just above the bed are clear. The mirror image of this arrangement is also valid.

Tips

 * It is advisable to place and activate a bed in the same house the Nurse is living in, so immediate healing is available after recalling or respawning. Be careful not to reset the spawn point by accidentally hitting the bed upon pressing the Nurse's "heal" button, in case she is standing in front of the bed.
 * There are many naturally-generated structures which can serve as suitable locations for a bed, such as Underground Cabins or the houses on Floating Islands. Some might require minor modifications, e.g. to fill background wall holes.

Trivia

 * The Pink Dungeon Bed was previously called Red Dungeon Bed. It still is on the.
 * Hovering the cursor over the head of a bed will produce a.
 * This Sleeping Icon is actually an unobtainable, completely unusable item the only purpose of which is to create this icon. Its item ID is 5013.
 * During multiplayer, up to 2 players may sleep in a bed at once.