Bed

Beds allow the player to skip to the next dawn. In SMP, this will only happen when all players sleep. Beds were added in Beta 1.3. In a future update, the last bed the player slept in will serve as the player's respawn point the next time they die. Beds cannot be destroyed by fire.

Placement
Beds, unlike typical blocks, take up two blocks of space. Basic placement requires at least this much space away from the player's facing direction. Like some other blocks, beds can not be placed on glass or snow but can be placed on leaves if graphics are set to "Fast". It is also possible to create a "floating bed" if the blocks underneath the bed are destroyed. This allows beds placed over each other like with fences. When placed, the foot will face toward the user. Two or more beds can be placed next to each other, effectively allowing double beds.

Beds cannot be placed underwater. They can be placed in a dry area and then flooded, however using them will result in the "You can only sleep at night" message. Chests next to the bed will render it unusable unless it is at the foot or head of the bed. In order for the bed to be useful, it must have enough light on and around it to prevent hostile mob attacks during sleep.

Behavior
Beds are used by right-clicking on them during night time. Attempting to use it during the day will result in a "You can only sleep at night." message, which also appears when attempting to use beds in the Nether. When used, the player is positioned in the bed and their view slowly fades to gray. After this transition, the player wakes up at dawn. However, if a hostile mob is within proximity of the bed and has access to it, you will be awakened with the hostile mob standing next to you. There appears to be a slight delay before the mob attacks you giving you time to get the first blow.

Sleeping, while skipping night time, does not accelerate other events such as the decay of dropped items, crop growth or smelting.

Crafting
Note: You can use any colored wool, you can even use multiple colors of wool, however, the bed will remain red.