Bed

From Box of Rocks WIKI
Revision as of 13:12, 13 May 2021 by BoxWiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A bed is a block that allows a player to sleep and to reset their spawn point to within a few blocks of the bed in the Overworld. If the bed is obstructed, the player spawns at the default world spawning location.

Obtaining

Natural generation

A red bed naturally generates in each igloo.

Beds of various colors generate in village houses, depending on the specific structure and biome:

  • Desert village houses have cyan, green, or lime beds.
  • Plains village houses have white or yellow beds.
  • Savanna village houses have orange, red, or yellow beds.
  • Snowy taiga[BE only] and taiga village houses have blue or purple beds.
  • Snowy tundra village houses have blue, red, or white beds.

Breaking

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

Block Bed
Hardness 0.2
Breaking time
Default 0.3

A bed also drops itself as an item when pushed by a piston.

Crafting

Ingredients Crafting recipe Description
Matching Wool +
Any Planks

Wool color must match. Planks do not need to match.
White Bed +
Matching Colored Dye


White beds can be re-dyed using dyes.‌[Java Edition only]
Any Bed +
Matching Dye


A bed of any color can be re-dyed using dyes.‌[Bedrock and Education editions only]
Any Dyed Bed +
Bleach


Removes the color from the bed.‌[Bedrock and Education editions only]
Ingredients Crafting recipe Description
Any Bed +
Bone Meal or
Lapis Lazuli or
Cocoa Beans or
Ink Sac


[Bedrock and Education editions only]

Trading

Journeyman-level shepherd villagers sell 1 of 16 beds for 3 emeralds as part of their trades.

Usage

Sleeping

File:Sleep Animation.gif
The animation when falling asleep.

Beds are used by pressing the use item button while looking at the bed.

A player sleeps by using a bed during a thunderstorm[Java Edition only], or at night (between 12544 and 23461 ticks in clear weather, when stars appear in the sky). Attempting to use a bed at any other time results in the message "You can sleep only at night and during thunderstorms"‌[JE only] or "You can only sleep at night".‌[BE only] A player sleeps in a bed for 101 in-game ticks, or 5.05 seconds before the time skips to the next day. Sleeping in a bed with the /gamerule doDaylightCycle set to false results in the player being kicked out of the bed after the 101 ticks, but does not change time of the world to day.

Sleeping in a bed is possible only in the Overworld. Attempting to sleep in a bed in the Nether, the End, and custom dimensions in which they are disabled causes it to explode and set fire to surrounding blocks;[1] The explosion has power 5, which is stronger than TNT (4), but not as strong as a charged creeper or end crystal (6). The explosion centers on the head part of the bed.[verify] Villagers can sleep normally in any dimension.[2] Upon death from a bed explosion, the message "(Player) was killed by [Intentional Game Design]" appears.

The player must be close to the bed to sleep. If the player is close enough to click on the bed, but not close enough to sleep in it, the message "You may not rest now, the bed is too far away"‌[JE only]/"The bed is too far away"‌[BE only] appears.

If a "monster" is within 8 blocks of the bed horizontally (in the X- and Z-axis), and 5 blocks vertically (in the Y-axis), the message "You may not rest now, there are monsters nearby" appears and the player is prevented from sleeping until the monsters leave or are killed. Most hostile mobs, as well as some neutral mobs prevent players from sleeping, as shown in the table below.

If the player has not entered a bed or didn't die for 3 in-game days, phantoms can spawn unless /gamerule doInsomnia is set to false. This can be verified by checking if the "Time Since Last Rest" statistic is greater than 1.00 h. ‌[Java Edition only]

Mob Prevent the player from sleeping 
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:EntityLink Template:EntityLink Template:Tc
Template:EntityLink Template:EntityLink Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:Tc
Template:EntityLink Template:EntityLink Template:EntityLink Template:Tc
Template:EntityLink Template:Tc


The player also cannot sleep in a bed occupied by another player, resulting in the message, "This bed is occupied".

A player can, however, sleep in a bed being used by a villager. The player may first wake the villager (pressing use on the villager) and then quickly enter the bed before the villager can lie down again. The villager reclaims the bed after the player wakes. The villager is kicked out of its bed when a player attempts to sleep there.

A player also cannot sleep while on fire, while poisoned, or while starving.

If all sleeping requirements are met and the player enters a bed, the player is positioned in the bed. The player falls asleep as the screen fades to black. In Bedrock Edition, the sleeping animation slowly lowers the player into bed.

Once all players in a world are asleep, after 5 seconds (100 ticks) the time of day changes to sunrise. (time 0)

During this time, the chat window is focused, and the player can leave the bed by clicking the Leave Bed button.

Waterlogged beds‌[Bedrock Edition only] cannot be slept in unless the player or villager has the Template:EffectLink or Template:EffectLink status effects. Attempting to use a waterlogged bed otherwise does not display any message.[3]

Beds displaying an error above the hotbar is a feature exclusive to beds; other blocks that cannot be used do not display such a message.[4]

Passing the night

Sleeping changes the time of day to sunrise and resets the weather to clear weather. The player wakes up next to the bed, facing west.

Sleeping does not accelerate processes that take place over time such as the growth of crops or smelting. If /gamerule doDaylightCycle is false, the player instead wakes up in the night.

To skip the night in multiplayer, all players in the Overworld must be in bed at the same time. Pressing the Leave Bed button is not necessary in this case.

If the bed is destroyed while the player is in it, due to for example an explosion or by another player, the player wakes prematurely and the night does not pass.

Setting the spawn point

Once a player has entered a bed, their spawn point is set to the location of that bed. In Java Edition, multiple players can set their spawn point on a single bed. In Bedrock Edition, the last player to set their spawn point on a certain bed will be the only player who will respawn there, and players who had previously slept there will respawn at the world spawn.

Using a bed in the daytime likewise sets the spawn point, without actually entering the bed.

The message "Respawn point set" is displayed in chat when the respawn point is successfully changed.

The check for a bed is only made when the player respawns. This means that the bed can be destroyed and replaced or even reoriented, but as long as there is an bed present in the same location, the player can respawn there. If a player's bed is absent, or if the area around the bed is made unsuitable for respawning (see below), a message is displayed saying You have no home bed or respawn anchor, or it was obstructed, and the player respawns at the world spawn point.

When choosing where to respawn the player, the northwesternmost (lowest X- and Z-coordinates) location of the seven blocks adjacent to the head of the bed is chosen first. If this location is obstructed, the next choice is to its south (+Z), rather than the east (+X). Only when all seven locations around the head are obstructed are the three remaining ones adjacent to the foot then to be considered.

For a location to be unobstructed, the block at the level of the bed must be air or non-solid (e.g. torches, but not glass) and there must be a space with a solid block below it and two non-colliding blocks for the player to stand in 0-2 blocks below the bed. It does not matter if the bed itself has blocks above it. The bed never spawns the player on or directly below itself even if all other locations are obstructed. If a bed is obstructed, the player's spawn point is cleared after they respawn. That is, even if the bed is subsequently made usable again, the player continues to respawn at the world spawn until interacting with the bed again.

Specifically, when interacting with it, the location of the head of the bed is saved as the spawn point, and if a bed is in that space (whether it is the foot or the head) then the respawn works. This can be observed by reorienting the bed with its head in the same location. Interacting with it does not produce a "Respawn point set" message as the game doesn't change the saved spawn point. If a bed is reoriented so that its foot is in this space, it still functions on the next respawn, but it can also be interacted with to update the spawn point to the new head of the bed and cause a "Respawn point set" message. Attempting the reverse, reorienting the bed so that it overlaps the original location of the foot, results in a respawn at world spawn. However, the location of the foot of the bed is also saved. If the bed is moved so that part of it overlaps the original location of the head, it can be observed that the same locations need to be obstructed to stop spawning. It is possible to respawn 2 blocks away from the bed this way.

Bouncing

Falling onto a bed bounces the player with 66% strength – the bouncing-up velocity is 66% of the impact velocity. The player also takes 50% of normal fall damage.

Baby villagers bounce on beds during the day.

If the player is falling while sleeping requirements are met, and presses use on a bed within reach before hitting the ground, the fall damage is delayed until the player wakes.

Housing

Beds are used to count the number of houses in a village, with one bed equating to one house.

Curing

Each bed in the vicinity of a zombie villager has a chance to speed up the process of curing the zombie villager. Iron bars (such as in a prison cell) also have this effect.

Placement

Beds require two blocks of floor space. Placement requires at least 2 blocks from the player's facing direction. When placed, the foot of the bed is placed on the block selected and the head of the bed on the block farther away from the player. In Bedrock Edition, beds require solid blocks below them when placed. However, the bed remains in place if its supporting blocks are later removed. In Java Edition, beds do not require supporting blocks and can be placed anywhere, provided there is enough room.

Sounds

Generic

Java Edition:

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
File:Wood dig1.oggFile:Wood dig2.oggFile:Wood dig3.oggFile:Wood dig4.oggBlock brokenBlocksOnce the block has brokenblock.wood.breaksubtitles.block.generic.break1.00.816
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggNone[sound 1]BlocksFalling on the block with fall damageblock.wood.fallNone[sound 1]0.50.7516
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggBlock breakingBlocksWhile the block is in the process of being brokenblock.wood.hitsubtitles.block.generic.hit0.250.516
File:Wood dig1.oggFile:Wood dig2.oggFile:Wood dig3.oggFile:Wood dig4.oggBlock placedBlocksWhen the block is placedblock.wood.placesubtitles.block.generic.place1.00.816
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggFootstepsBlocksWalking on the blockblock.wood.stepsubtitles.block.generic.footsteps0.151.016

Bedrock Edition:

SoundSourceDescriptionNamespaced IDVolumePitch
?BlocksOnce the block has brokendig.wood1.00.8
?BlocksFalling on the block with fall damagefall.wood0.41.0
?BlocksWhile the block is in the process of being brokenhit.wood0.230.5
?BlocksJumping from the blockjump.wood0.121.0
?BlocksFalling on the block without fall damageland.wood0.181.0
?BlocksWalking on the blockstep.wood0.31.0
?BlocksWhen the block is placeduse.wood1.00.8

Unique

Java Edition:

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
File:Explosion1.oggFile:Explosion2.oggFile:Explosion3.oggFile:Explosion4.oggExplosion?Explosions created by thisentity.generic.explodesubtitles.entity.generic.explode?(<1.0)16

Data values

ID

Java Edition:

NameNamespaced IDBlock tags (JE)Item tags (JE)FormTranslation key
White Bedwhite_bedbedsbedsBlock & Itemblock.minecraft.white_bed
Orange Bedorange_bedbedsbedsBlock & Itemblock.minecraft.orange_bed
Magenta Bedmagenta_bedbedsbedsBlock & Itemblock.minecraft.magenta_bed
Light Blue Bedlight_blue_bedbedsbedsBlock & Itemblock.minecraft.light_blue_bed
Yellow Bedyellow_bedbedsbedsBlock & Itemblock.minecraft.yellow_bed
Lime Bedlime_bedbedsbedsBlock & Itemblock.minecraft.lime_bed
Pink Bedpink_bedbedsbedsBlock & Itemblock.minecraft.pink_bed
Gray Bedgray_bedbedsbedsBlock & Itemblock.minecraft.gray_bed
Light Gray Bedlight_gray_bedbedsbedsBlock & Itemblock.minecraft.light_gray_bed
Cyan Bedcyan_bedbedsbedsBlock & Itemblock.minecraft.cyan_bed
Purple Bedpurple_bedbedsbedsBlock & Itemblock.minecraft.purple_bed
Blue Bedblue_bedbedsbedsBlock & Itemblock.minecraft.blue_bed
Brown Bedbrown_bedbedsbedsBlock & Itemblock.minecraft.brown_bed
Green Bedgreen_bedbedsbedsBlock & Itemblock.minecraft.green_bed
Red Bedred_bedbedsbedsBlock & Itemblock.minecraft.red_bed
Black Bedblack_bedbedsbedsBlock & Itemblock.minecraft.black_bed
NameNamespaced ID
Block entitybed

Bedrock Edition:

BedNamespaced IDNumeric ID FormTranslation key
Standingbed26Blocktile.bed.name
Itembed355Itemitem.bed.black.name
item.bed.red.name
item.bed.green.name
item.bed.brown.name
item.bed.blue.name
item.bed.cyan.name
item.bed.silver.name
item.bed.gray.name
item.bed.pink.name
item.bed.lime.name
item.bed.yellow.name
item.bed.lightBlue.name
item.bed.magenta.name
item.bed.orange.name
item.bed.white.name
NameSavegame ID
Block entityBed

Metadata

See also: Data values

In Bedrock Edition, beds use the following data values: Template:/DV

Block states

See also: Block states

Template:/BS

Block data

A bed has a block entity associated with it that holds additional data about the block.

Template:/BE

Advancements

Template:Advancements

History

Java Edition Beta
November 26, 2011Originally, crying obsidian was intended to act as a block to reset spawn points, until beds were introduced.
1.332px
32px Added beds.
The only color for beds is red.
Sleeping in an area potentially exposed to monsters can cause players to wake up early, with a skeleton or zombie spawned next to them.
Trying to sleep in a bed in the Nether does nothing.
1.4Sleeping in a bed now resets the player's spawn position, though it does not work for most users. Apparently, at the moment, the spawn point unintentionally changes only if Leave Bed is clicked and the function is limited to multiplayer.
1.4_01Beds now act as a respawn point as intended.
1.6Test Build 3Trying to sleep in a bed in the Nether now causes the bed to explode.
1.7As blocks now pull textures from the expected places for model application, this has resulted in the bed texture shifting downward in terrain.png. No visual difference has resulted for the actual bed.
Java Edition
1.0.0Beta 1.9 Prerelease 4Bed explosions in the Nether now light nearby blocks on fire.
Beta 1.9 Prerelease 5The bottom textures of bed have been changed to the texture of the new oak planks from 32px to 32px.
Beta 1.9 Prerelease 6Beds no longer spawn monsters, instead, trying to sleep when monsters are around displays a message saying You may not rest now, there are monsters nearby.
1.2.4releaseCats while in standing position now purposely go and sit on beds.
1.5?Beds now check their biome for detonation rather than just their dimension.
1.814w29aBeds now display the cracking animation on top and bottom.
14w33aBeds now make sounds when placed, and plays logical sounds when stepped on and broken.[5]
1.915w43aA bed now generates inside igloos.
1.1116w32aThe messages "You can only sleep at night", "You may not rest now, there are monsters nearby", and "This bed is occupied" now appears on top of the hotbar, the place that the message "Press <whatever your sneak key is> to dismount" also appears when the player is riding a mob.
16w33aIf the player is close enough to click on the bed, but not close enough to sleep in it, the message "You may not rest now, the bed is too far away" is now displayed.
1.1217w06aNeutral zombie pigmen no longer prevent the player from sleeping in a bed.
March 13, 2017Jeb mentions colored beds for 1.12.
17w15a32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px Dyed beds have been added.
The former "Bed" has been renamed to "Red Bed".
32px The texture of red beds has been slightly changed. The top of the beds are no longer mirrored.
Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Beds now appear 3D in the inventory.
32px Beds now have 3D legs.[6]
Beds have been made bouncy, though they do not completely reduce all fall damage.
Beds are now a block entity.
17w17a32px The four legs of a bed are now each textured separately, and their model is different.
32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px
Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite Template:Sprite The textures of beds have now also been slightly changed.
1.1317w47aThe different block states for the bed ID have been split up into their own IDs.
Beds now require solid blocks below them, or they break into an item. Previously, a bed needed to be placed on solid blocks, but the blocks could later be removed.
Prior to The Flattening, this block's numeral ID was 26, and the item's 355.
18w07aSleeping in a bed is now important to keep phantoms from spawning.
18w20aPlayers in creative mode can now sleep even if monsters are nearby.
18w22aBeds no longer require supporting blocks below them; they do not break into an item if said blocks are removed, and can be directly placed on top of non-solid blocks.
pre2The "You can only sleep at night" message when using a bed has been changed to "You can sleep only at night and during thunderstorms."
1.1418w43a32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px

The textures of all beds have been changed.

32px The bottom textures of beds have been changed to new oak planks texture.
18w44aCats can now sleep in empty beds or sit on their owner when their owner is sleeping.
18w47a32px The bottom textures of beds have been changed to the new oak planks to texture, once again.
18w48aBeds now generate in the updated plains villages.
18w49aBeds now generate in the updated savanna villages and the new snowy tundra villages.
18w50aBeds now generate in the updated desert and taiga villages.
19w08aAll mobs can now sleep in beds using commands.
19w11aVillagers now claim beds and sleep in them during the night.
1.1519w35aIf a player tries to sleep in a bed that is occupied by a villager, that villager is now kicked out of the bed.
19w36aTrying to sleep in a bed during the daytime now sets the player's spawn location to that bed.
pre2Successfully changing a spawn point using a bed now displays a message in chat.
1.1620w12aThe message "Your home bed was missing or obstructed" has been changed to "You have no home bed or respawn anchor, or it was obstructed" due to the addition of the respawn anchor, used to set the player's spawn in the Nether.
1.16.220w30aBeds now prioritize the side of the bed the player or villager entered from and then spaces circling around the foot of the bed up to the head of the bed.
Upcoming Java Edition
1.1720w51aAdded gamerules for sleeping in multiplayer.
Pocket Edition Alpha
v0.4.032px
32px Added beds.
v0.5.0Beds can now be obtained after activating the nether reactor.
v0.9.0build 1Beds no longer restore health in normal difficulty, making food a more required survival-needed resource.
Added smooth lighting to beds.
v0.11.0build 8The lighting on beds has been improved.
v0.12.1build 1Tamed ocelots while standing now purposely go and sit on beds.
Beds are no longer available from the nether reactor.
v0.16.0build 1Beds now make a sound when placed, identical to blocks like stone.[7]
Pocket Edition
1.0.0alpha 0.17.0.1Beds are now generated in igloos.
alpha 0.17.0.236px The Leave Bed button now has a new texture.
alpha 1.0.0.0Sleeping now ends weather.
1.1.0alpha 1.1.0.032px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px

32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px Added the other 15 colors of beds.

The former "Bed" has been renamed to "Red Bed".
32px The texture of red beds has been slightly changed.
A new animation when sleeping has been added to beds.
Beds in igloos are now white in ice plains and brown in cold taigas.
Beds now bounce the player two blocks up, and have 3D legs.
Placement, stepping and breaking sounds for beds are now correctly wooden.[7]
Bedrock Edition
1.4.0beta 1.2.14.2Beds can now be waterlogged and require Water Breathing to sleep in.
beta 1.2.20.1Colored beds can now be turned into white beds by adding bleach. This works only if Education Edition features are turned on.
1.6.0beta 1.6.0.1Sleeping in a bed is now important to keep phantoms from spawning.
1.8.0beta 1.8.0.8Cats can now sleep in empty beds or sit on their owner when their owner is sleeping.
1.10.0beta 1.10.0.3Various beds now generate in the new villages.
Villagers can now sleep by occupying a bed, which prevent players from using it.
Igloos now generate with red beds.
Beds are now used to count the number of available houses in villages.
32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px The textures of all beds have been changed.
1.11.0beta 1.11.0.4Beds can now be bought from shepherd villagers.
1.13.0?Players now succeed in attempting to sleep on villager-occupied beds, kicking the villager off.
1.16.0? The ID has been changed to “(color)_bed”.
Legacy Console Edition
TU1CU1 1.00 Patch 11.0.132px
32px Added beds.
TU12Cats in standing position now purposely go and sit on beds, preventing players from using them.
TU43CU33 1.36 Patch 13The sleeping animation while in beds has been changed.
TU54CU44 1.52 Patch 241.0.432px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px

32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px Added the other 15 colors of beds.

The former "Bed" has been now renamed to "Red Bed".
32px The texture of red beds has been slightly changed.
Beds are now dyeable and bounce the player two blocks up, and have a single 3D legs.
TU60CU51 1.64 Patch 301.0.11The sleeping animation in beds has been changed again.
TU69 1.76 Patch 38Sleeping in a bed is now important to keep phantoms from spawning.
Beds can now be waterlogged and require Template:EffectLink to sleep in.
1.83 The sleeping animation for beds has been reverted to how it was before 1.64.
1.91 Various beds now generate in the new villages.
Villagers can now sleep by occupying a bed, which prevents players from using it.
Beds are now used to count the number of available houses in villages.
Beds can now be bought from shepherd villagers.
New Nintendo 3DS Edition
0.1.032px
32px Added beds.
1.9.1932px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px

32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px Added the other 15 colors of beds.

The former "Bed" has been renamed to "Red Bed".
32px The texture of red beds has been slightly changed.
Beds now bounce the player two blocks up and have 3D legs.
Education Edition
1.032px
Added beds.
1.0.132px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px

32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px Added the other 15 colors of beds.

The former "Bed" has been renamed to "Red Bed".
32px The texture of red beds has been slightly changed.
Beds now bounce the player two blocks up, and have 3D legs.
1.0.27Colored beds can now be turned into white beds by adding bleach.
1.1232px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px The textures of all beds have been changed.

Bed "item"

This section is missing information about Bedrock Edition history (addition, changes made). 
Please expand the section to include this information. Further details may exist on the talk page.
Java Edition Beta
1.332px Beds have an extra, unobtainable item form corresponding to its block ID, which uses the bottom half texture of the bed. It can be obtained via inventory editors with numeric item ID 26.
This item is titled "Bed" in the inventory.
1.6Test Build 3Bed items can be obtained from the newly added debug chests, mainly from the 26th slot of the 1st chest from the left, and the 10th slot of the 5th chest from the left.
releaseDebug chests no longer spawn, preventing bed items from being obtained this way.
1.8Pre-release 2 ;)Added pick block functionality. This will change the currently selected slot to any containing this otherwise-unobtainable bed item, but will not allow it to be obtained if not already in the hotbar.
Java Edition
1.2.5prePick Block now returns the actually obtainable bed item.
1.3.112w16aBed items can now be obtained in singleplayer worlds via the /give command using the respective numeric ID.
1.7.213w37aThe direct item form of the bed block has been removed from the game. It can no longer exist as an item in any way, only as a placed block.

Issues

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

Trivia

  • The reason beds explode in the Nether and the End is because Notch found it was the easiest solution to dimension-unique respawning.[8]
  • If the player quits the game while sleeping, upon return the player wakes up beside the bed.
  • Using the /teleport command while another player is sleeping still teleports the sleeping player, but the player wakes immediately.‌[Java Edition only]
  • If the player places a bed on ice, running over the bed acts like running over ice, similar to slabs.
  • Before differently colored beds were added, using all 6 planks and all 16 wool combinations, there were 3,456 different ways to craft a bed.
  • When placed using the /setblock command, only one half of a bed is placed, because beds are two blocks long. A single half can be slept in like a whole bed.
  • Villagers can sleep in the Nether and the End without causing the bed to explode.[9]
  • If the player crouches while attempting to sleep the player gets inside the sheets.
  • While the block state used to determine the half of a two-block block such as doors and double-tall flowers is called half, in the case of beds this is called part.
  • Players and villagers do not drown or take damage from lava while in a bed, even if the bed is covered in lava.
  • The red bed was the original default bed color. In Java Edition 1.12 and Pocket Edition 1.1.0 version of the game, the default color was changed to white.

Gallery

References

  1. MCPE-28723 – "Exploding bed in the Nether" resolved as "Works As Intended". This is referenced in Java Edition when a player is killed by "Intentional Game Design".
  2. MC-146515 resolved as "Works As Intended"
  3. MCPE-35802
  4. MC-160479 resolved as "Works As Intended"
  5. MC-66347 – "Beds make incorrect sounds" resolved as "Fixed".
  6. MC-11963 – "bed hind legs not rendered" resolved as "Fixed".
  7. 7.0 7.1 MCPE-10077 – "Incorrect sounds on beds" resolved as "Fixed".
  8. "duh"@Notch on Twitter, May 11, 2020, in response to "So you're telling me the "Inteded Game Design" should actually be "Sorry, I was too lazy to code"?"@NoahBandito on Twitter, May 11, 2020
  9. MC-146515 Resolved as Works As Intended

cs:Postel de:Bett es:Cama fr:Lit hu:Ágy it:Letto ja:ベッド ko:침대 nl:Bed pl:Łóżko pt:Cama ru:Кровать th:เตียง uk:Ліжко zh:床