Bed
| Stackable | No |
|---|---|
| Hardness | 0.2 |
| Blast resistance | 0.2 |
| Luminous | No |
| Block ID | 26 |
Bed is a two-block piece of furniture that a player sleeps in to skip the night.
Obtaining
Crafting
Any colour of wool can be used.
Breaking
Breaking either half removes the whole bed and drops one bed.
Usage
Placing
A bed is placed on top of a block, and fills the space above it and the next space in the direction the player faces. Both spaces must be empty, each above a full, opaque block.
Sleeping
Using either half of a bed puts the player to sleep in it. This works only:
- at night, or during a thunderstorm;
- within 3 blocks of the bed horizontally and 2 vertically;
- when no other player is asleep in it.
Once every player in the world has been asleep for 100 ticks (5 seconds), the clock moves on to the next morning and every player wakes. Sleeping through a daytime thunderstorm skips the rest of that day as well. Sleeping through ends rain and thunder; see Weather#The cycle.
On any difficulty but Peaceful, a monster may appear beside the bed and wake the player instead; see Mob Spawning#Other ways mobs appear.
A sleeping player also wakes when hurt, or when the bed is broken. In multiplayer only, a button on the sleeping screen gets the player up.
A player can sleep while riding a minecart and return to the bed after transport and removal of the cart; see Multiplayer Bed Recall for setup and use.
Spawn point
Waking in the morning sets the player's spawn point at the bed. In multiplayer, getting up with the button sets it too. A compass still points to the world spawn point.
A player who dies respawns in a free space beside the bed: a full, opaque block with two empty spaces above it. If the bed is gone, or no space around it is free, the player respawns at the world spawn point instead, and the bed stops being the spawn point.
In the Nether
Using a bed in the Nether destroys it and sets off an explosion that starts fires.
Behaviour
A piston breaks a bed, which drops. Fire does not burn it.
Data values
- Block ID:
26 - Item ID:
355 - Translation key:
tile.bed,item.bed