Share

Share

Bed

From Minecraft Wiki
Jump to: navigation, search
Bed
Bed.png
Bed
Type

Solid Block

Requirements

None

Physics

No

Transparency

Yes

Luminance

No

Blast resistance

1

Hardness

0.2

Tool

Any tool

Renewable

Yes

Stackable

No

Flammable

No, but catches fire from lava

First appearance

Beta 1.3

Drops

Itself

Data values
Block
dec: 26 hex: 1A bin: 11010
Item
dec: 355 hex: 163 bin: 101100011
Name

bed

A bed is a block that allows the player to sleep and to reset its spawn point to within a few blocks of the bed.

Obtaining[edit]

Beds can be mined with any tool, or without a tool.

Block Hardness Tool Breaking time (seconds)
Hand Wooden Stone Iron Diamond Golden Shears Sword

Bed
0.2 0.3

Crafting[edit]

Ingredients Crafting recipe

Any Wool +
Any Wood Planks




Grid layout Arrow (small).png Bed
White WoolOrange WoolMagenta WoolLight Blue WoolYellow WoolLime WoolPink WoolGray WoolLight Gray WoolCyan WoolPurple WoolBlue WoolBrown WoolGreen WoolRed WoolBlack Wool White WoolOrange WoolMagenta WoolLight Blue WoolYellow WoolLime WoolPink WoolGray WoolLight Gray WoolCyan WoolPurple WoolBlue WoolBrown WoolGreen WoolRed WoolBlack Wool White WoolOrange WoolMagenta WoolLight Blue WoolYellow WoolLime WoolPink WoolGray WoolLight Gray WoolCyan WoolPurple WoolBlue WoolBrown WoolGreen WoolRed WoolBlack Wool
Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks

Neither the color of the wool, nor the type of wood used has any effect on the bed's appearance.

Usage[edit]

Beds are 9/16th of a block high, one more pixel than half a block, so you do not need to jump to walk onto the bed from one level below the bed. It also allows you to walk up onto other blocks while on top of the bed.

Placement[edit]

Beds take up two blocks of space. Placement requires at least this much space away from the player's facing direction. When placed, the foot will be placed on the block selected and will face toward the user. Like certain other blocks, beds can not be placed on snow, ice, glowstone, glass, carpet or leaves. If you remove the blocks underneath the bed, the bed will not be removed, but will remain floating.

Sleeping[edit]

Beds are used by pressing the use item button looking at the bed during the night. At daytime, they can also be used during thunderstorms. Attempting to use a bed at any other time will result in a "You can only sleep at night" message. The exact tick time span during which a bed may be used at night is between 12541 and 23458, inclusive.

In order for the bed to work the player must be able to stand next to the bed at the same level as it, on a type of block that a bed could be placed on. In other words: Obstruction will not occur if there's a solid block (the same restrictions apply as the bed itself) at the 'floor level' with 2 air, or transparent blocks above it, in one of the ten blocks that surround the bed. It doesn't matter if the bed itself has blocks above it.

If all sleeping requirements are met and the player enters a bed, the player will be positioned in the bed, in multiplayer you will be seen above the sheets, and the screen will slowly fade to black. During this time, the player can leave the bed by clicking the Leave Bed button. Once the player has entered the bed, the spawn point is set near the bed.

The animation when falling asleep.

Sleeping only changes the time of day to sunrise; it does not speed up processes which take place over time such as smelting. However, if it were raining or snowing, the weather will end when the player wakes up.

The bed is in no way tied to a player's spawn point - the game only checks for the presence of a bed at a player's spawn point when the respawn button is clicked from the death screen. The bed may be destroyed, replaced, reoriented, etc. and will still serve as a spawn point for players so long as it exists when the player tries to respawn. If a player's bed is destroyed or the bed is surrounded by solid blocks and the player dies when the player had set his spawnpoint there, a message is displayed saying Your home bed was missing or obstructed, and the player will respawn at the original spawn point.

Beds placed in the nether or the end will explode when the player tries to sleep, and set fire to surrounding blocks.

The player cannot sleep if a hostile mob is within 8 blocks of the bed horizontally (along each axis) and 5 blocks vertically. If a monster is nearby, even through a wall, the message You may not rest now, there are monsters nearby will be displayed and the player will not be able to sleep until the monsters leave or are killed.

Multiplayer[edit]

To skip the night, all players in the overworld must be in bed at the same time.

Players can also chat while in bed, and can leave the bed before the timeskip (thus blocking it for everyone).

Destroying a bed while another player is sleeping would cause the player to wake up, even when it was not caused by a player (for example: an explosion).

If you try to sleep in a bed occupied by another player, you will get the message This bed is occupied.

Block states[edit]

Name Value Description

 facing
north
south
east
west
The direction the head of the bed is pointing.
The same direction the player faces when placing the bed.

 occupied
true
false
True when a player is using the bed.

 part
head
foot
The half of the bed in the current block.

Video[edit]

History[edit]

Beta
1.3 Added beds. Sleeping in an area potentially exposed to monsters could cause players to wake up early, with a skeleton or zombie spawned next to them. Early plans for changing the spawn was crying obsidian.
1.4 Sleeping in a bed now resets your spawn position, though does not work for most users. Apparently, at the moment the spawn point unintentionally only changes if Leave Bed is clicked and the function is limited to multiplayer.
1.4_01 Beds now act as a respawn point as intended.
1.6 Trying to sleep in a bed in the nether causes it to explode.
1.7 The bed side texture has been moved in the texture pack file, as well as the cake texture.
Official release
1.0.0 Beds no longer spawn monsters, instead, trying to sleep when monsters are around will display a message saying You may not rest now, there are monsters nearby.
1.2.4 Cats in standing position will now purposely go and sit on beds, preventing players from using them.
1.5 Beds check their biome for detonation rather than just their dimension.
1.7.2 Block ID 26 (bed) was removed from the /give command.
1.8 14w29a Now displays the cracking animation on top and bottom.
Pocket Edition Alpha
0.4.0 Added beds.
0.9.0 build 1 Beds no longer restore health in normal difficulty, making food a more reliable survival-needed resource.
Added smooth lighting to beds.
Console Edition
TU1 Added beds.
TU12 Cats in standing position will now purposely go and sit on beds, preventing players from using them.
Pi Edition
0.1.1 Added beds.

Issues[edit]

Issues relating to "Bed" are maintained on the issue tracker. Report issues there.

Trivia[edit]

  • If the player falls from high enough to take damage, but right click on a bed before they hit the ground, they won't take fall damage.
  • If there is a solid block above a bed, the surface of the bed will become black, much as with slabs.
  • If the world is quit while sleeping, upon return the player will be awake beside the bed.
  • The player's avatar clips just slightly into the bed if they have something in their hand and their feet protrude off the edge.
  • Using the /tp command while another player is sleeping will still teleport the sleeping player.
  • If you place a bed on ice, running over the bed acts like running over ice, similar to slabs.
  • If a player sleeps when a jukebox is playing, the sound's direction will not adjust to the player's change in orientation until they wake up.
  • In Pocket Edition, sleeping in a floating bed will cause you to clip through when you wake.
  • If you sleep when the /gamerule doDaylightCycle is turned off, you will fall asleep, but wake up at night.

Gallery[edit]