Bed

Beds allow the player to skip to the next dawn and will show the world slowly fading away. In SMP, this will only happen when all players sleep. In another later update, the last bed the player slept in will serve as the player's respawn point the next time they die.The item was added in the 1.3 Update  Like some other blocks, the bed can't be placed on leaves, glass or snow. However, on fast graphics, beds CAN be placed on leaves. You can also create a "floating bed" if you destroy the blocks beneath the bed. "Half beds" can be created by placing a cactus on the ground, and then placing a bed next to it. This method is similar to the technique used when creating Half doors.


 * The bed is 1m*0.7m*2m and you can not walk onto it.
 * Trying to use it during the day, will give you a message saying "You can only sleep at night." This is the 2nd message to be displayed in Beta Single Player - the other is "Screenshot saved as ..."
 * Breaking the blocks under the bed will not destroy it.
 * Because of this, it's possible to put beds over each other like with fences.
 * Beds are not stackable in the inventory.
 * Beds cannot be placed on glass.
 * Beds will always have the foot-end towards the player when placed.
 * You can use any colored wool to make a bed. However, the bed will always be red.
 * You can't sleep while being attacked.
 * Sleeping in a bed will not affect Smelting.
 * When breaking it will light up the color.
 * There is a chance that a mob will spawn (even in well lit areas) after you fall asleep which will wake you up and start attacking you (except on peaceful), there is also a slight delay before the mob attacks you giving you time to get the first blow. This is confirmed as true.
 * You cant place a bed underwater but: you can place it in a dry area and then let water flow over it. but you cant sleep in it it will say : "You can only sleep at night".
 * You can not sleep in a bed if a chest is next to it. You can if there is a chest at the foot or head of the bed though.
 * You cannot sleep in the Nether. Trying to do so will make the "You can only sleep at night" text appear.

The bed was added in Minecraft release Beta 1.3

Crafting
The bed may only be used during the night, and when used you automatically go to the next day unless there is a possible way for a hostile mob to get to the bed's location. In that case, the player will wake up with a mob nearby and no time will have passed.

Trivia

 * When 1.3 was first released, every world generated started with a full stack of torches, a diamond pick, axe and shovel and 64 beds, separated into 1 and a stack of 63. This was later confirmed to be due to the debug item spawning code still being in place and was removed.


 * If the player has a skin applied, sleeping will reset their skin to the default skin.


 * Time doesn't actually pass when you sleep, the game just sets the time to morning (This means entities such as mobs stay, and furnaces don't smelt as though you waited the whole night)