Bed: Difference between revisions
m (// Edit via Wikiplus) |
No edit summary |
||
(35 intermediate revisions by 19 users not shown) | |||
Line 96: | Line 96: | ||
* [[Village#Snowy|Snowy tundra village]] houses have blue, red, or white beds. |
* [[Village#Snowy|Snowy tundra village]] houses have blue, red, or white beds. |
||
; Trial chambers |
; Trial chambers |
||
Beds can generate inside the [[trial chambers]] as any color inside various |
Beds can generate inside the [[trial chambers]] as any color inside various intersections. Each bed has its color randomized. |
||
{{Block distribution}} |
{{Block distribution}} |
||
Line 161: | Line 161: | ||
== Usage == |
== Usage == |
||
=== Sleeping === |
=== Sleeping === |
||
[[File:Sleep Animation.gif|thumb|Player falling asleep.]] |
[[File:Sleep Animation.gif|380px|thumb|Player falling asleep {{in|je}}.]] |
||
[[File:Ore UI - Sleep Screen Animation (Bedrock).gif|380px|thumb|Player falling asleep {{in|be}}.]] |
|||
Beds are used by pressing the {{control|use item}} button while looking at the bed. |
Beds are used by pressing the {{control|use item}} button while looking at the bed. |
||
Line 167: | Line 169: | ||
A player sleeps by {{control|using|using}} a bed during a [[thunderstorm]], or at [[night]] (between 12542 and 23459 ticks in clear weather, when stars appear in the sky, or between 12010 and 23991 ticks in rainy weather). Players can sleep during a thunderstorm even if they are in a biome where it does not rain (i.e. desert). Attempting to use a bed at any other time results in the message "You can sleep only at night or during thunderstorms" {{in|Java}} or "You can only sleep at night and during thunderstorms" {{in|Bedrock}}. A player sleeps in a bed for 101 in-game [[tick]]s, or 5.05 seconds before the time skips to the next day. Sleeping in a bed with the {{cmd|gamerule doDaylightCycle}} set to <code>false</code> results in the player being kicked out of the bed after the 101 ticks, but does not change time of the world to day. |
A player sleeps by {{control|using|using}} a bed during a [[thunderstorm]], or at [[night]] (between 12542 and 23459 ticks in clear weather, when stars appear in the sky, or between 12010 and 23991 ticks in rainy weather). Players can sleep during a thunderstorm even if they are in a biome where it does not rain (i.e. desert). Attempting to use a bed at any other time results in the message "You can sleep only at night or during thunderstorms" {{in|Java}} or "You can only sleep at night and during thunderstorms" {{in|Bedrock}}. A player sleeps in a bed for 101 in-game [[tick]]s, or 5.05 seconds before the time skips to the next day. Sleeping in a bed with the {{cmd|gamerule doDaylightCycle}} set to <code>false</code> 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 dimension]]s in which they are disabled causes it to [[explode]] and set [[fire]] to surrounding blocks.<ref>{{bug|mcpe-28723||Exploding bed in the Nether!?|WAI}} This is referenced {{in|Java}} when a player is killed by "Intentional Game Design".</ref> 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. [[Villager]]s can sleep normally in any dimension without the bed being blown up.<ref>{{bug|MC-146515||Villagers can sleep in all dimensions|WAI}}</ref> Upon death from a bed explosion, the [[Death messages|message]] "'''(Player) was killed by <span class="minetip" title=MCPE-28723>{{bug|MCPE-28723|[Intentional Game Design]}}</span>'''" appears. {{IN|Bedrock}}, bed explosions can be disabled by setting {{cmd|gamerule respawnBlocksExplode}} to <code>false</code>; this still prevents beds to be used in invalid dimensions. |
Sleeping in a bed is possible only in the [[Overworld]]. Attempting to sleep in a bed in [[the Nether]], [[the End]], and [[custom dimension]]s in which they are disabled causes it to [[explode]] and set [[fire]] to surrounding blocks.<ref>{{bug|mcpe-28723||Exploding bed in the Nether!?|WAI}} This is referenced {{in|Java}} when a player is killed by "Intentional Game Design".</ref> 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. [[Villager]]s can sleep normally in any dimension without the bed being blown up.<ref name="villager">{{bug|MC-146515||Villagers can sleep in all dimensions|WAI}}</ref> Upon death from a bed explosion, the [[Death messages|message]] "'''(Player) was killed by <span class="minetip" title=MCPE-28723>{{bug|MCPE-28723|[Intentional Game Design]}}</span>'''" appears. {{IN|Bedrock}}, bed explosions can be disabled by setting {{cmd|gamerule respawnBlocksExplode}} to <code>false</code>; this still prevents beds to be used in invalid dimensions. |
||
The player must be close to the bed to sleep. If the player is close enough to interact with the bed, but not close enough to sleep in it, the message "You may not rest now, the bed is too far away" {{in|Java}} or "Bed is too far away" {{in|Bedrock}} appears. To use a bed, a player must be within a distance of 3 blocks {{in|Java}} or 2 blocks {{in|Bedrock}} from the bed. |
The player must be close to the bed to sleep. If the player is close enough to interact with the bed, but not close enough to sleep in it, the message "You may not rest now, the bed is too far away" {{in|Java}} or "Bed is too far away" {{in|Bedrock}} appears. To use a bed, a player must be within a distance of 3 blocks {{in|Java}} or 2 blocks {{in|Bedrock}} from the bed. |
||
Line 184: | Line 186: | ||
|- |
|- |
||
|{{EntityLink|Breeze}} |
|{{EntityLink|Breeze}} |
||
|{{Tc|yes}} |
|||
|- |
|||
|{{EntityLink|Creaking}} |
|||
|{{Tc|yes}} |
|{{Tc|yes}} |
||
|- |
|- |
||
Line 561: | Line 566: | ||
== Advancements == |
== Advancements == |
||
{{load advancements|Sweet Dreams}} |
{{load advancements|Sweet Dreams}} |
||
⚫ | |||
{{yt|2VLd3hKi_uQ}} |
|||
== History == |
== History == |
||
''For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see [[/Asset history]]'' |
''For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see [[/Asset history]]'' |
||
{{See technical block}} |
|||
{{info needed section|Beds restoring health: did it ever happen in Java Edition? and when was it removed in Pocket Edition?}} |
|||
{{HistoryTable |
{{HistoryTable |
||
|{{HistoryLine||September 16, 2010|link={{tweet|notch|24691652815}}|[[Notch]] was considering adding beds as a block to reset spawn points, making up "some interesting economics" with this.}} |
|{{HistoryLine||September 16, 2010|link={{tweet|notch|24691652815}}|[[Notch]] was considering adding beds as a block to reset spawn points, making up "some interesting economics" with this.}} |
||
Line 574: | Line 578: | ||
|The only color for beds is red. |
|The only color for beds is red. |
||
|Beds can be crafted using any color combination of wool. |
|Beds can be crafted using any color combination of wool. |
||
|When a player goes to sleep, the game attempts to spawn up to 20 [[zombie]]s, [[skeleton]]s, or [[spider]]s |
|When a player goes to sleep, the game attempts to spawn up to 20 [[zombie]]s, [[skeleton]]s, or [[spider]]s in a 32x16x32 area centered on the bed. For each mob that spawns successfully, the game attempts to find a valid path from the mob to the player's bed; if one is found, the mob is teleported next to the bed and the player woken up without skipping to morning. |
||
|Trying to sleep in a bed in [[the Nether]] does nothing.}} |
|Trying to sleep in a bed in [[the Nether]] does nothing.}} |
||
|{{HistoryLine||1.4|Sleeping in a bed now resets the player's spawn position, though it does not work for most users. The spawn point unintentionally changes only if ''Leave Bed'' button (only available in [[multiplayer]] at the time) is clicked.}} |
|{{HistoryLine||1.4|Sleeping in a bed now resets the player's spawn position, though it does not work for most users. The spawn point unintentionally changes only if ''Leave Bed'' button (only available in [[multiplayer]] at the time) is clicked.}} |
||
Line 591: | Line 595: | ||
|{{HistoryLine|||dev=14w33a|Beds now make [[sound]]s when placed, and play logical sounds when stepped on and [[Breaking|broken]].<ref>{{bug|MC-66347||Beds make incorrect sounds|Fixed}}</ref>}} |
|{{HistoryLine|||dev=14w33a|Beds now make [[sound]]s when placed, and play logical sounds when stepped on and [[Breaking|broken]].<ref>{{bug|MC-66347||Beds make incorrect sounds|Fixed}}</ref>}} |
||
|{{HistoryLine||1.9|dev=15w43a|Bed now generates inside [[igloo]]s.}} |
|{{HistoryLine||1.9|dev=15w43a|Bed now generates inside [[igloo]]s.}} |
||
|{{HistoryLine|||dev=16w06a|The player's body, hand and held item are now rendered while sleeping in bed.}} |
|||
|{{HistoryLine||1.11|dev=16w32a|The messages "You can only sleep at night", "You may not rest now, there are monsters nearby", and "This bed is occupied" now appear 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]].}} |
|{{HistoryLine||1.11|dev=16w32a|The messages "You can only sleep at night", "You may not rest now, there are monsters nearby", and "This bed is occupied" now appear 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]].}} |
||
|{{HistoryLine|||dev=16w33a|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" is now displayed.}} |
|{{HistoryLine|||dev=16w33a|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" is now displayed.}} |
||
Line 615: | Line 620: | ||
|{{HistoryLine|||dev=18w44a|Cats can now sleep in empty beds or sit on their owner when their owner is sleeping.}} |
|{{HistoryLine|||dev=18w44a|Cats can now sleep in empty beds or sit on their owner when their owner is sleeping.}} |
||
|{{HistoryLine|||dev=18w47a|[[File:Red Bed JE6 BE3 (facing NWU).png|32px]] The bottom textures of beds have been changed to the new oak planks to texture, once again.}} |
|{{HistoryLine|||dev=18w47a|[[File:Red Bed JE6 BE3 (facing NWU).png|32px]] The bottom textures of beds have been changed to the new oak planks to texture, once again.}} |
||
|{{HistoryLine|||dev=18w48a|Beds now generate in the updated [[Village#Plains|plains village]]s.}} |
|{{HistoryLine|||dev=18w48a|Beds now generate in the updated [[Village#Plains|plains village]]s.|Beds now have an accurate hitbox.<ref>{{bug|MC-4090}}</ref>}} |
||
|{{HistoryLine|||dev=18w49a|Beds now generate in the updated [[Village#Savanna|savanna village]]s and the new [[Village#Snowy|snowy tundra village]]s.}} |
|{{HistoryLine|||dev=18w49a|Beds now generate in the updated [[Village#Savanna|savanna village]]s and the new [[Village#Snowy|snowy tundra village]]s.}} |
||
|{{HistoryLine|||dev=18w50a|Beds now generate in the updated [[Village#Desert|desert]] and [[Village#Taiga|taiga village]]s.}} |
|{{HistoryLine|||dev=18w50a|Beds now generate in the updated [[Village#Desert|desert]] and [[Village#Taiga|taiga village]]s.}} |
||
|{{HistoryLine|||dev=19w08a|All mobs can now sleep in beds using [[commands]].}} |
|{{HistoryLine|||dev=19w08a|All mobs can now sleep in beds using [[commands]].}} |
||
|{{HistoryLine|||dev=19w11a|[[Villager]]s now claim beds and sleep in them during the night. |
|{{HistoryLine|||dev=19w11a|[[Villager]]s now claim beds and sleep in them during the night. |
||
|Shepherd villagers now [[Trading|sell]] beds. |
|Shepherd villagers now [[Trading|sell]] beds. |
||
|[[Third-person view]] now works properly while sleeping in a bed.}} |
|||
|{{HistoryLine||1.15|dev=19w35a|If a player tries to sleep in a bed that is occupied by a villager, that villager is now kicked out of the bed.}} |
|{{HistoryLine||1.15|dev=19w35a|If a player tries to sleep in a bed that is occupied by a villager, that villager is now kicked out of the bed.}} |
||
|{{HistoryLine|||dev=19w36a|Trying to sleep in a bed during the daytime now sets the player's spawn location to that bed.}} |
|{{HistoryLine|||dev=19w36a|Trying to sleep in a bed during the daytime now sets the player's spawn location to that bed.}} |
||
Line 635: | Line 641: | ||
|{{HistoryLine||1.19.4|exp=Update 1.20|dev=23w07a|[[Planks#Cherry|Cherry planks]] can now be used to craft beds.}} |
|{{HistoryLine||1.19.4|exp=Update 1.20|dev=23w07a|[[Planks#Cherry|Cherry planks]] can now be used to craft beds.}} |
||
|{{HistoryLine||1.20|dev=Pre-release 1|Beds of any color can now be dyed into any other color.}} |
|{{HistoryLine||1.20|dev=Pre-release 1|Beds of any color can now be dyed into any other color.}} |
||
|{{HistoryLine||1.20.3|exp=Update 1.21|dev=23w45a|Beds now generate in [[trial chambers]].}} |
|||
|{{HistoryLine||1.21.2|dev=24w33a|Beds in trial chambers intersections now have randomized colors.}} |
|||
|{{HistoryLine|pocket alpha}} |
|{{HistoryLine|pocket alpha}} |
||
|{{HistoryLine||v0.4.0|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}} |
|{{HistoryLine||v0.4.0|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}} |
||
|{{HistoryLine||v0.5.0|Beds can now be obtained after activating the [[nether reactor]].|Added a Leave Bed button that lets the player exit the bed.}} |
|{{HistoryLine||v0.5.0|Beds can now be obtained after activating the [[nether reactor]].|[[File:Leave Bed 0.5.0.png|45px]] Added a ''Leave Bed'' button that lets the player exit the bed.|Beds now restore [[health]] when slept in.}} |
||
|{{HistoryLine||v0.7.0|[[File:Leave Bed 0.7.0.png|45px]] The texture of ''Leave Bed'' button has been changed.}} |
|||
|{{HistoryLine||v0.9.0|dev=build 1|Beds no longer restore [[health]] in normal difficulty, making [[food]] a more required [[Survival]]-needed resource. |
|{{HistoryLine||v0.9.0|dev=build 1|Beds no longer restore [[health]] in normal difficulty, making [[food]] a more required [[Survival]]-needed resource. |
||
|Added smooth lighting to beds. |
|Added smooth lighting to beds. |
||
|[[File:Leave Bed 0.9.0.png|32px]] The ''Leave Bed'' button is now smaller.}} |
|||
|{{HistoryLine||v0.11.0|dev=build 8|The lighting on beds has been improved.}} |
|{{HistoryLine||v0.11.0|dev=build 8|The lighting on beds has been improved.}} |
||
|{{HistoryLine||v0.12.1|dev=build 1|Tamed [[ocelot]]s while standing now purposely go and sit on beds. |
|{{HistoryLine||v0.12.1|dev=build 1|Tamed [[ocelot]]s while standing now purposely go and sit on beds. |
||
Line 646: | Line 657: | ||
|{{HistoryLine|pocket}} |
|{{HistoryLine|pocket}} |
||
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Beds are now generated in [[igloo]]s.}} |
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Beds are now generated in [[igloo]]s.}} |
||
|{{HistoryLine|||dev=alpha 0.17.0.2|[[File:Leave Bed 1.0.jpg|36px]] The ''Leave Bed'' button |
|{{HistoryLine|||dev=alpha 0.17.0.2|[[File:Leave Bed 1.0.jpg|36px]] The texture of ''Leave Bed'' button has been changed again.}} |
||
|{{HistoryLine|||dev=alpha 1.0.0.0|Sleeping now ends [[weather]].}} |
|{{HistoryLine|||dev=alpha 1.0.0.0|Sleeping now ends [[weather]].}} |
||
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|[[File:White Bed JE2 BE2.png|32px]] [[File:Light Gray Bed JE2 BE2.png|32px]] [[File:Gray Bed JE2 BE2.png|32px]] [[File:Black Bed JE2 BE2.png|32px]] [[File:Brown Bed JE2 BE2.png|32px]] [[File:Orange Bed JE2 BE2.png|32px]] [[File:Yellow Bed JE2 BE2.png|32px]] [[File:Lime Bed JE2 BE2.png|32px]] [[File:Green Bed JE2 BE2.png|32px]] [[File:Cyan Bed JE2 BE2.png|32px]] [[File:Light Blue Bed JE2 BE2.png|32px]] [[File:Blue Bed JE2 BE2.png|32px]] [[File:Purple Bed JE2 BE2.png|32px]] [[File:Magenta Bed JE2 BE2.png|32px]] [[File:Pink Bed JE2 BE2.png|32px]]<br>[[File:White Bed (item) BE1.png|32px]] [[File:Light Gray Bed (item) BE1.png|32px]] [[File:Gray Bed (item) BE1.png|32px]] [[File:Black Bed (item) BE1.png|32px]] [[File:Brown Bed (item) BE1.png|32px]] [[File:Orange Bed (item) BE1.png|32px]] [[File:Yellow Bed (item) BE1.png|32px]] [[File:Lime Bed (item) BE1.png|32px]] [[File:Green Bed (item) BE1.png|32px]] [[File:Cyan Bed (item) BE1.png|32px]] [[File:Light Blue Bed (item) BE1.png|32px]] [[File:Blue Bed (item) BE1.png|32px]] [[File:Purple Bed (item) BE1.png|32px]] [[File:Magenta Bed (item) BE1.png|32px]] [[File:Pink Bed (item) BE1.png|32px]] Added the other 15 colors of beds. |
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|[[File:White Bed JE2 BE2.png|32px]] [[File:Light Gray Bed JE2 BE2.png|32px]] [[File:Gray Bed JE2 BE2.png|32px]] [[File:Black Bed JE2 BE2.png|32px]] [[File:Brown Bed JE2 BE2.png|32px]] [[File:Orange Bed JE2 BE2.png|32px]] [[File:Yellow Bed JE2 BE2.png|32px]] [[File:Lime Bed JE2 BE2.png|32px]] [[File:Green Bed JE2 BE2.png|32px]] [[File:Cyan Bed JE2 BE2.png|32px]] [[File:Light Blue Bed JE2 BE2.png|32px]] [[File:Blue Bed JE2 BE2.png|32px]] [[File:Purple Bed JE2 BE2.png|32px]] [[File:Magenta Bed JE2 BE2.png|32px]] [[File:Pink Bed JE2 BE2.png|32px]]<br>[[File:White Bed (item) BE1.png|32px]] [[File:Light Gray Bed (item) BE1.png|32px]] [[File:Gray Bed (item) BE1.png|32px]] [[File:Black Bed (item) BE1.png|32px]] [[File:Brown Bed (item) BE1.png|32px]] [[File:Orange Bed (item) BE1.png|32px]] [[File:Yellow Bed (item) BE1.png|32px]] [[File:Lime Bed (item) BE1.png|32px]] [[File:Green Bed (item) BE1.png|32px]] [[File:Cyan Bed (item) BE1.png|32px]] [[File:Light Blue Bed (item) BE1.png|32px]] [[File:Blue Bed (item) BE1.png|32px]] [[File:Purple Bed (item) BE1.png|32px]] [[File:Magenta Bed (item) BE1.png|32px]] [[File:Pink Bed (item) BE1.png|32px]] Added the other 15 colors of beds. |
||
Line 666: | Line 677: | ||
|[[File:White Bed JE3 BE3.png|32px]] [[File:Light Gray Bed JE3 BE3.png|32px]] [[File:Gray Bed JE3 BE3.png|32px]] [[File:Black Bed JE3 BE3.png|32px]] [[File:Brown Bed JE3 BE3.png|32px]] [[File:Red Bed JE4 BE3.png|32px]] [[File:Orange Bed JE3 BE3.png|32px]] [[File:Yellow Bed JE3 BE3.png|32px]] [[File:Lime Bed JE3 BE3.png|32px]] [[File:Green Bed JE3 BE3.png|32px]] [[File:Cyan Bed JE3 BE3.png|32px]] [[File:Light Blue Bed JE3 BE3.png|32px]] [[File:Blue Bed JE3 BE3.png|32px]] [[File:Purple Bed JE3 BE3.png|32px]] [[File:Magenta Bed JE3 BE3.png|32px]] [[File:Pink Bed JE3 BE3.png|32px]] The textures of all beds have been changed.}} |
|[[File:White Bed JE3 BE3.png|32px]] [[File:Light Gray Bed JE3 BE3.png|32px]] [[File:Gray Bed JE3 BE3.png|32px]] [[File:Black Bed JE3 BE3.png|32px]] [[File:Brown Bed JE3 BE3.png|32px]] [[File:Red Bed JE4 BE3.png|32px]] [[File:Orange Bed JE3 BE3.png|32px]] [[File:Yellow Bed JE3 BE3.png|32px]] [[File:Lime Bed JE3 BE3.png|32px]] [[File:Green Bed JE3 BE3.png|32px]] [[File:Cyan Bed JE3 BE3.png|32px]] [[File:Light Blue Bed JE3 BE3.png|32px]] [[File:Blue Bed JE3 BE3.png|32px]] [[File:Purple Bed JE3 BE3.png|32px]] [[File:Magenta Bed JE3 BE3.png|32px]] [[File:Pink Bed JE3 BE3.png|32px]] The textures of all beds have been changed.}} |
||
|{{HistoryLine||1.11.0|dev=beta 1.11.0.4|Beds can now be [[Trading|bought]] from shepherd [[villager]]s.}} |
|{{HistoryLine||1.11.0|dev=beta 1.11.0.4|Beds can now be [[Trading|bought]] from shepherd [[villager]]s.}} |
||
|{{HistoryLine||1.13.0|dev= |
|{{HistoryLine||1.13.0|dev=beta 1.13.0.1|[[Player]]s now succeed in attempting to sleep on villager-occupied beds, kicking the villager off.}} |
||
|{{HistoryLine|bedrock upcoming}} |
|||
|{{HistoryLine||1.21.60|dev=Preview 1.21.60.21|Changed wording for lowest number required for player [[sleeping]] to skip the [[night]].}} |
|{{HistoryLine||1.21.60|dev=Preview 1.21.60.21|Changed wording for lowest number required for player [[sleeping]] to skip the [[night]].}} |
||
|{{HistoryLine|console}} |
|{{HistoryLine|console}} |
||
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}} |
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}} |
||
|{{HistoryLine||xbox=TU7|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Beds no longer spawn monsters and the pathfinding logic has been removed. Trying to sleep when monsters are around now displays the message ''You may not rest now, there are monsters nearby'', regardless of if the monsters can actually reach the player or not.{{check version}}}} |
|||
|{{HistoryLine||xbox=TU12|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu= Patch 1|[[Cat]]s in standing position now purposely go and sit on beds, preventing [[player]]s from using them.}} |
|{{HistoryLine||xbox=TU12|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu= Patch 1|[[Cat]]s in standing position now purposely go and sit on beds, preventing [[player]]s from using them.}} |
||
|{{HistoryLine||xbox=TU43|xbone=CU33|ps3=1.36|psvita=1.36|ps4=1.36|wiiu=Patch 13|The sleeping animation while in beds has been changed.|Bed now generates inside [[igloo]]s.}} |
|{{HistoryLine||xbox=TU43|xbone=CU33|ps3=1.36|psvita=1.36|ps4=1.36|wiiu=Patch 13|The sleeping animation while in beds has been changed.|Bed now generates inside [[igloo]]s.}} |
||
Line 708: | Line 719: | ||
|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 26, and the item's 355.}} |
|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 26, and the item's 355.}} |
||
}} |
}} |
||
⚫ | |||
{{:Technical blocks/Bed}} |
|||
== Issues == |
== Issues == |
||
Line 722: | Line 730: | ||
* If the player places a bed on [[ice]], running over the bed acts like running over ice, similar to slabs. |
* If the player places a bed on [[ice]], running over the bed acts like running over ice, similar to slabs. |
||
* When placed using the {{cmd|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. |
* When placed using the {{cmd|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.<ref |
* Villagers can sleep in the Nether and the End without causing the bed to explode.<ref name="villager"/> |
||
* While the block state used to determine the half of a two-block block such as [[door]]s and double-tall [[flower]]s is called ''half'', in the case of beds this is called ''part''. |
* While the block state used to determine the half of a two-block block such as [[door]]s and double-tall [[flower]]s is called ''half'', in the case of beds this is called ''part''. |
||
* 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. |
* 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. |
||
Line 740: | Line 748: | ||
Sleeping.png|A player going to sleep in a bed on the first day of a ''[[Minecraft]]'' world. |
Sleeping.png|A player going to sleep in a bed on the first day of a ''[[Minecraft]]'' world. |
||
CobwebVillage.png|A bed in an abandoned village has its bottom half replaced by wheat crops due to a glitch. |
CobwebVillage.png|A bed in an abandoned village has its bottom half replaced by wheat crops due to a glitch. |
||
NewBedrock Sleep Screen.png|The updated {{BE}} sleep screen in Bed menu. |
|||
</gallery> |
|||
⚫ | |||
<gallery> |
|||
File:Moments before bed disaster.jpeg|"Moments before disaster." |
|||
</gallery> |
</gallery> |
||
=== In other media === |
=== In other media === |
||
<gallery> |
<gallery> |
||
The Sham.jpg|The Sham, a villainous, sentient bed featured in the [[ |
File:The Sham.jpg|The Sham, a villainous, sentient bed featured in the [[Campfire Tales Skin Pack]]. |
||
Rainbow Bed.png|The [[Minecraft Earth:Rainbow Bed|rainbow bed]], a unique bed featured {{in|Earth}}. |
File:Rainbow Bed.png|The [[Minecraft Earth:Rainbow Bed|rainbow bed]], a unique bed featured {{in|Earth}}. |
||
Efe Snores.png|[[Efe]] sleeping on a bed in [[Mojang cinematics#A Tale of Two Friends|''A Tale of Two Friends'']]. |
File:Efe Snores.png|[[Efe]] sleeping on a bed in [[Mojang cinematics#A Tale of Two Friends|''A Tale of Two Friends'']]. |
||
Efe wakes up.png|Efe gets off bed, from the same short film. |
File:Efe wakes up.png|Efe gets off bed, from the same short film. |
||
File:AYIB Restyled.jpeg|[[Makena]] resting on a purple bed with a [[wolf]], in [[A year in blocks|''A year in blocks'']]. |
|||
Badland Bed.png|A cyan bed from [[LEGO Minecraft|LEGO]] ''The Badlands Mineshaft''. |
File:Badland Bed.png|A cyan bed from [[LEGO Minecraft|LEGO]] ''The Badlands Mineshaft''. |
||
An apartment with Minecraft furnishing.jpeg|An apartment with ''[[Minecraft]]'' furnishing. |
File:An apartment with Minecraft furnishing.jpeg|An apartment with ''[[Minecraft]]'' furnishing. |
||
</gallery> |
</gallery> |
||
⚫ | |||
* [[Ore UI]], the {{el|bedrock}} UI refresh |
|||
== References == |
== References == |
Revision as of 22:26, 5 April 2025
Renewable |
Yes |
---|---|
Stackable |
No |
Tool |
Any tool |
Blast resistance |
0.2 |
Hardness |
0.2 |
Luminous |
No |
Transparent |
Yes |
Waterloggable | |
Flammable |
No |
Catches fire from lava | |
Map color (Java) |
|
{ "title": "Bed", "rows": [ { "field": "Yes", "label": "(link to Renewable resource article, displayed as Renewable)" }, { "field": "No", "label": "Stackable" }, { "field": "Any tool", "label": "Tool" }, { "field": "0.2", "label": "(link to Explosion#Blast resistance article, displayed as Blast resistance)" }, { "field": "0.2", "label": "(link to Breaking#Blocks by hardness article, displayed as Hardness)" }, { "field": "No", "label": "(link to Light article, displayed as Luminous)" }, { "field": "Yes", "label": "(link to Opacity article, displayed as Transparent)" }, { "field": "'''(link to Java Edition article, displayed as JE):''' No<br>'''(link to Bedrock Edition article, displayed as BE):''' Yes", "label": "(link to Waterlogging article, displayed as Waterloggable)" }, { "field": "No", "label": "(link to Flammable article, displayed as Flammable)" }, { "field": "'''(link to Java Edition article, displayed as JE):''' Yes<br>'''(link to Bedrock Edition article, displayed as BE):''' No", "label": "Catches fire from (link to lava article, displayed as lava)" }, { "field": "<span style=\"display: inline-block; white-space: nowrap;\"><span style=\"display: inline-block; background-color: rgb(199, 199, 199)\n; border: 1px solid #888; border-radius: 0.3em; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> 3 WOOL\n</span>", "label": "(link to Map color article, displayed as Map color) <small>((link to Java Edition article, displayed as Java))</small>" } ], "invimages": [ "White Bed", "Light Gray Bed", "Gray Bed", "Black Bed", "Brown Bed", "Red Bed", "Orange Bed", "Yellow Bed", "Lime Bed", "Green Bed", "Cyan Bed", "Light Blue Bed", "Blue Bed", "Purple Bed", "Magenta Bed", "Pink Bed", "White Bed BE", "Light Gray Bed BE", "Gray Bed BE", "Black Bed BE", "Brown Bed BE", "Red Bed BE", "Orange Bed BE", "Yellow Bed BE", "Lime Bed BE", "Green Bed BE", "Cyan Bed BE", "Light Blue Bed BE", "Blue Bed BE", "Purple Bed BE", "Magenta Bed BE", "Pink Bed BE" ], "images": [ "White Bed.png", "Light Gray Bed.png", "Gray Bed.png", "Black Bed.png", "Brown Bed.png", "Red Bed.png", "Orange Bed.png", "Yellow Bed.png", "Lime Bed.png", "Green Bed.png", "Cyan Bed.png", "Light Blue Bed.png", "Blue Bed.png", "Purple Bed.png", "Magenta Bed.png", "Pink Bed.png" ] }
A bed is a block that can be dyed. It allows a player to sleep and reset their spawn point to within a few blocks of the bed in the Overworld. If the bed is obstructed or removed, the player spawns at the default world spawning location.
Obtaining
Breaking
Beds can be mined with any tool, or without a tool.[1]
- incorrect tool, drops nothing
- correct tool, drops nothing or something other than the block itself
- correct tool, drops the block itself
- italicized can be instant mined
A bed also drops itself as an item when pushed by a piston.
Natural generation
- Igloo
A red bed naturally generates in each igloo.
- Village
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.
- Trial chambers
Beds can generate inside the trial chambers as any color inside various intersections. Each bed has its color randomized.
Crafting
Ingredients | Crafting recipe | [hide]Description |
---|---|---|
Matching Wool + Any Planks |
The wool color must match. The planks can be different. | |
Any Bed + Matching Dye |
A bed of any color can be re-dyed using dyes. | |
Any Dyed Bed + Bleach |
This removes the color from the bed.[Bedrock Edition and Minecraft Education only] |
Trading
Villager | Probability | Villager wants | Player receives | |
---|---|---|---|---|
JE | BE | |||
![]() | 95% | 100% | 3 × ![]() | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Any color Bed[t 1] |
- ↑ The list of possible offers contains individual offers for each color, so multiple colors may be offered by the same villager as separate trades.
Usage
Sleeping


Beds are used by pressing the use item button while looking at the bed.
A player sleeps by using a bed during a thunderstorm, or at night (between 12542 and 23459 ticks in clear weather, when stars appear in the sky, or between 12010 and 23991 ticks in rainy weather). Players can sleep during a thunderstorm even if they are in a biome where it does not rain (i.e. desert). Attempting to use a bed at any other time results in the message "You can sleep only at night or during thunderstorms" in Java Edition or "You can only sleep at night and during thunderstorms" in Bedrock Edition. 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.[2] 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. Villagers can sleep normally in any dimension without the bed being blown up.[3] Upon death from a bed explosion, the message "(Player) was killed by [Intentional Game Design]" appears. In Bedrock Edition, bed explosions can be disabled by setting /gamerule respawnBlocksExplode
to false
; this still prevents beds to be used in invalid dimensions.
The player must be close to the bed to sleep. If the player is close enough to interact with the bed, but not close enough to sleep in it, the message "You may not rest now, the bed is too far away" in Java Edition or "Bed is too far away" in Bedrock Edition appears. To use a bed, a player must be within a distance of 3 blocks in Java Edition or 2 blocks in Bedrock Edition from the bed.
If a "monster" is within 8 blocks of the bed head 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.
Mob | Prevent the player from sleeping |
---|---|
![]() |
Yes |
![]() ![]() ![]() ![]() |
Yes |
![]() |
Yes |
![]() |
Yes |
![]() |
Yes |
![]() |
Yes |
![]() |
Yes |
![]() |
When hostile |
![]() |
No |
![]() |
Yes |
![]() |
No |
![]() |
Yes |
![]() ![]() |
Yes |
![]() |
No |
![]() |
Yes |
![]() |
No |
![]() |
No[JE only]/Yes[BE only] |
![]() |
Yes[JE only]/No[BE only] |
![]() |
Yes[JE only]/No[BE only] |
![]() |
Yes |
![]() |
Yes |
![]() |
Yes |
![]() |
No |
![]() |
Yes |
![]() ![]() |
No[JE only]/Yes[BE only][4] |
![]() ![]() |
Yes |
![]() |
No[JE only]/Yes[BE only] |
![]() |
Yes |
![]() |
Yes |
![]() |
Yes |
![]() |
Yes |
![]() |
Yes |
![]() |
Yes |
![]() ![]() ![]() |
Yes |
![]() |
When hostile[JE only]/Yes[BE only] |
If the player has not entered a bed and didn't die for 3 in-game days, phantoms can spawn unless /gamerule doInsomnia
is set to false
. In Java Edition, this can be verified by checking if the "Time Since Last Rest" statistic is greater than 1.00 h.
Taking damage from any source while in a bed causes the player to wake; this means players cannot sleep while on fire, while poisoned, or while starving, because the damage wakes them before they can fully fall asleep. Attacks from other players and hostile mobs also wake the player in this way, although the latter is rarely seen due to hostile mobs typically preventing the bed from being entered in the first place.
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.
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
button.Waterlogged beds[Bedrock Edition only] cannot be slept in unless the player or villager has the Water Breathing or
Conduit Power status effects. Attempting to use a waterlogged bed otherwise does not display any message.[5]
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.[6]
The process for determining where to put the player after waking up is the same as for determining where to respawn the player after death (see below). The player attempting to sleep in a bed with no suitable wakeup positions (achievable by interacting with the bed from underneath it), such that the player will suffocate upon waking up, will result in the message "This bed is obstructed". The player always wakes up facing the head of the bed.
Villagers always wake up on top of the bed, meaning they can suffocate if there isn't enough room above the bed.
Passing the night
Sleeping changes the time of day to sunrise and resets the weather cycle, changing the weather to clear conditions. In Java Edition, the weather cycle resets only during rainy or snowy weather.
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 button is not necessary in this case. The percentage of players that need to sleep to skip the night can be customized with the game rule playersSleepingPercentage
.
Villagers are unable to skip the night by sleeping in beds, unlike players.
Players and villagers do not drown or take damage from lava while in a bed, even if the bed is covered in lava. However, 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 (or right clicked the bed during daytime), their spawn point is set to the location of that bed. Multiple players can set their spawn point on a single bed.
Using a bed in the daytime likewise sets the spawn point, without actually entering the bed.
When a bed explodes, it does not set the spawn point.
The message "Respawn point set" is displayed in chat when the respawn point is successfully changed.
The check for a bed is made only when the player respawns. This means that the bed can be destroyed and replaced or even reoriented, but as long as there is a 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" in Java Edition or "Your home bed was missing or obstructed" in Bedrock Edition, and the player respawns at the world spawn point.
When choosing where to respawn the player, the two blocks to the immediate left and right of the head of the bed are considered first. Which block is chosen between the two corresponds to which direction the player was facing when they last interacted with the bed to set their spawn point; For example, a bed facing west will respawn the player on the south side of the bed if they are facing towards the north while setting their spawn point, and vice versa. If the player is perfectly aligned with the bed when the spawn point is set, the right side of the bed takes priority. Interacting with the bed again will still update which side of the bed is chosen for respawning, even if the location of the spawn point itself does not change.
Once a side is chosen, if the block immediately on the chosen side of the head of the bed is obstructed, the next block to be checked is chosen moving in a clockwise (right side) or counterclockwise (left side) direction around the bed. If all of the 10 blocks immediately adjacent to the bed are obstructed, the block above the head of the bed is checked, followed by the block above the foot of the bed. The player is always respawned facing the head of the bed, the same as for waking up.
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. Putting a slab one block above a bed can act as a two block tall space, as the bed is half a block tall. The bed never spawns the player 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 less fall damage when bouncing on a bed. The player's fall distance is set to 50% of the actual distance fallen, which usually results in the player taking less than half of the 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.
A player can bounce on a bed while another player or villager is sleeping on it without waking the player or the villager up.
Villagers can be pushed onto beds, as the bed is half a block tall.
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.
Explosions
Because beds explode in the Nether and the End, they can be used as any other explosion, to demolish blocks or deal damage. Explosions can be used, for example, to mine for ancient debris or to kill the ender dragon.
In Bedrock Edition, beds do not explode if /gamerule respawnBlocksExplode is set to false.
Sounds
Generic
[hide]![]() wood sound type | ||||||||
---|---|---|---|---|---|---|---|---|
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
Block broken | Blocks | Once the block has broken | block | subtitles | 1.0 | 0.8 | 16 | |
Block placed | Blocks | When the block is placed | block | subtitles | 1.0 | 0.8 | 16 | |
Block breaking | Blocks | While the block is in the process of being broken | block | subtitles | 0.25 | 0.5 | 16 | |
Something falls on a block | Entity-Dependent | Falling on the block with fall damage | block | subtitles | 0.5 | 0.75 | 16 | |
Footsteps | Entity-Dependent | Walking on the block | block | subtitles | 0.15 | 1.0 | 16 |
[hide]![]() wood sound type | |||||
---|---|---|---|---|---|
Sound | Source | Description | Resource location | Volume | Pitch |
Blocks | Once the block has broken | dig | 1.0 | 0.8-1.0 | |
Blocks | When the block is placed | dig | 1.0 | 0.8 | |
Blocks | While the block is in the process of being broken | hit | 0.23 | 0.5 | |
Players | Falling on the block with fall damage | fall | 0.4 | 1.0 | |
Players | Walking on the block | step | 0.3 | 1.0 | |
Blocks | Jumping from the block | jump | 0.12 | 1.0 | |
Blocks | Falling on the block without fall damage | land | 0.18 | 1.0 |
Unique
[hide]Sounds | ||||||||
---|---|---|---|---|---|---|---|---|
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
Explosion | Blocks | When a player attempts to sleep while not in the Overworld | entity | subtitles | 4.0 | 0.56-0.84 | 16 |
[hide]Sounds | |||||
---|---|---|---|---|---|
Sound | Source | Description | Resource location | Volume | Pitch |
Blocks | When a player attempts to sleep while not in the Overworld | random | 4.0 | 1.0 |
Data values
ID
Name | Identifier | Form | Block tags | Item tags | [hide]Translation key |
---|---|---|---|---|---|
![]() | white_bed | Block & Item | beds | beds | block |
![]() | orange_bed | Block & Item | beds | beds | block |
![]() | magenta_bed | Block & Item | beds | beds | block |
![]() | light_blue_bed | Block & Item | beds | beds | block |
![]() | yellow_bed | Block & Item | beds | beds | block |
![]() | lime_bed | Block & Item | beds | beds | block |
![]() | pink_bed | Block & Item | beds | beds | block |
![]() | gray_bed | Block & Item | beds | beds | block |
![]() | light_gray_bed | Block & Item | beds | beds | block |
![]() | cyan_bed | Block & Item | beds | beds | block |
![]() | purple_bed | Block & Item | beds | beds | block |
![]() | blue_bed | Block & Item | beds | beds | block |
![]() | brown_bed | Block & Item | beds | beds | block |
![]() | green_bed | Block & Item | beds | beds | block |
![]() | red_bed | Block & Item | beds | beds | block |
![]() | black_bed | Block & Item | beds | beds | block |
Name | [hide]Identifier |
---|---|
![]() | bed |
Bed | Identifier | Numeric ID | Form | Item ID[i 1] | [hide]Translation key |
---|---|---|---|---|---|
![]() | bed | 26 | Block & Ungiveable Item[i 2] | item.bed | tile |
![]() | bed | 418 | Item | — | item item item item item item item item item item item item item item item |
Name | [hide]Savegame ID |
---|---|
![]() | Bed |
Metadata
In Bedrock Edition, bed items use the following data values:
DV | [hide]Description | |
---|---|---|
![]() |
0 | White Bed |
![]() |
1 | Orange Bed |
![]() |
2 | Magenta Bed |
![]() |
3 | Light Blue Bed |
![]() |
4 | Yellow Bed |
![]() |
5 | Lime Bed |
![]() |
6 | Pink Bed |
![]() |
7 | Gray Bed |
![]() |
8 | Light Gray Bed |
![]() |
9 | Cyan Bed |
![]() |
10 | Purple Bed |
![]() |
11 | Blue Bed |
![]() |
12 | Brown Bed |
![]() |
13 | Green Bed |
![]() |
14 | Red Bed |
![]() |
15 | Black Bed |
Block states
Name | Default value | Allowed values | [hide]Description |
---|---|---|---|
facing | north | east north south west | The direction the head of the bed is pointing. The same direction the player faces when placing the bed. |
occupied | false | false true | True when a player or villager is using the bed. |
part | foot | foot head | The half of the bed in the current block. |
Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
[hide]Description |
---|---|---|---|---|---|
direction | 0x1 0x2 | 0 | 0 1 2 3 | 0 1 2 3 | The direction the head of the bed is pointing.
|
head_piece_bit | 0x8 | true | false true | 0 1 | If the current block is the head part. |
occupied_bit | 0x4 | false | false true | 0 1 | True when a player or villager is using the bed. |
Block data
A bed has a block entity associated with it that holds additional data about the block.
- [NBT Compound / JSON Object] Block entity data
- Tags common to all block entities see Template:Nbt inherit/blockentity/template
Advancements
Icon | Advancement | In-game description | Actual requirements (if different) |
---|---|---|---|
![]() ![]() | Sweet Dreams | Sleep in a Bed to change your respawn point | Lie down in a bed. The advancement is granted as soon as the player is in the bed, even if the player does not successfully sleep. |
History
For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see /Asset history
September 16, 2010 | Notch was considering adding beds as a block to reset spawn points, making up "some interesting economics" with this. | ||||||
---|---|---|---|---|---|---|---|
November 26, 2011 | Jeb mentioned that crying obsidian was intended to act as a block to reset spawn points as well. | ||||||
[hide]Java Edition Beta | |||||||
1.3 | ![]() ![]() | ||||||
The only color for beds is red. | |||||||
Beds can be crafted using any color combination of wool. | |||||||
When a player goes to sleep, the game attempts to spawn up to 20 zombies, skeletons, or spiders in a 32x16x32 area centered on the bed. For each mob that spawns successfully, the game attempts to find a valid path from the mob to the player's bed; if one is found, the mob is teleported next to the bed and the player woken up without skipping to morning. | |||||||
Trying to sleep in a bed in the Nether does nothing. | |||||||
1.4 | Sleeping in a bed now resets the player's spawn position, though it does not work for most users. The spawn point unintentionally changes only if Leave Bed button (only available in multiplayer at the time) is clicked. | ||||||
1.4_01 | Beds now set the player's spawn point as intended, both in singleplayer and in multiplayer. | ||||||
1.6 | Test Build 3 | Trying to sleep in a bed in the Nether now causes the bed to explode. | |||||
1.7 | As 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. | ||||||
[hide]Java Edition | |||||||
1.0.0 | Beta 1.9 Prerelease 4 | Bed explosions in the Nether now light nearby blocks on fire. | |||||
Beta 1.9 Prerelease 5 | The bottom textures of beds have been changed to the texture of the new oak planks from ![]() ![]() | ||||||
Beta 1.9 Prerelease 6 | Beds no longer spawn monsters and the pathfinding logic has been removed. Trying to sleep when monsters are around now displays the message You may not rest now, there are monsters nearby, regardless of if the monsters can actually reach the player or not. | ||||||
1.2.4 | release | Cats while in standing position now purposely go and sit on beds. | |||||
Spruce, birch, and jungle planks can now be used to craft beds. | |||||||
1.5 | ? | Beds now check their biome for detonation rather than just their dimension. | |||||
1.7.2 | 1.7.1 | Acacia and dark oak planks can now be used to craft beds. | |||||
1.8 | 14w29a | Beds now display the cracking animation on top and bottom. | |||||
14w33a | Beds now make sounds when placed, and play logical sounds when stepped on and broken.[7] | ||||||
1.9 | 15w43a | Bed now generates inside igloos. | |||||
16w06a | The player's body, hand and held item are now rendered while sleeping in bed. | ||||||
1.11 | 16w32a | The messages "You can only sleep at night", "You may not rest now, there are monsters nearby", and "This bed is occupied" now appear 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. | |||||
16w33a | 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" is now displayed. | ||||||
1.12 | 17w06a | Neutral zombie pigmen no longer prevent the player from sleeping in a bed. | |||||
March 13, 2017 | Jeb mentions colored beds for 1.12. | ||||||
17w15a | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ||||||
The "Bed" has been renamed to "Red Bed". | |||||||
Beds can now only be crafted using wool of the same color. | |||||||
![]() | |||||||
![]() | |||||||
![]() | |||||||
Beds have been made bouncy, though they do not completely reduce all fall damage. | |||||||
Beds are now a block entity. | |||||||
17w17a | ![]() | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |||||||
1.13 | 17w47a | 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. | |||||
Beds can no longer be placed with their foot part inside entities[9] but can still be placed with their head part inside entities.[10] | |||||||
18w07a | Sleeping in a bed is now important to keep phantoms from spawning. | ||||||
A smooth transition is now applied to the camera when the player enters or leaves a bed. | |||||||
18w20a | Players in Creative mode can now sleep even if monsters are nearby. | ||||||
18w22a | Beds 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. | ||||||
pre2 | The "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.14 | 18w43a | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |||||
![]() | |||||||
18w44a | Cats can now sleep in empty beds or sit on their owner when their owner is sleeping. | ||||||
18w47a | ![]() | ||||||
18w48a | Beds now generate in the updated plains villages. | ||||||
Beds now have an accurate hitbox.[11] | |||||||
18w49a | Beds now generate in the updated savanna villages and the new snowy tundra villages. | ||||||
18w50a | Beds now generate in the updated desert and taiga villages. | ||||||
19w08a | All mobs can now sleep in beds using commands. | ||||||
19w11a | Villagers now claim beds and sleep in them during the night. | ||||||
Shepherd villagers now sell beds. | |||||||
Third-person view now works properly while sleeping in a bed. | |||||||
1.15 | 19w35a | If a player tries to sleep in a bed that is occupied by a villager, that villager is now kicked out of the bed. | |||||
19w36a | Trying to sleep in a bed during the daytime now sets the player's spawn location to that bed. | ||||||
pre2 | Successfully changing a spawn point using a bed now displays a message in chat. | ||||||
1.16 | 20w06a | Crimson planks and warped planks can now be used to craft beds. | |||||
20w12a | The 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. | ||||||
20w18a | The message "You have no home bed or respawn anchor, or it was obstructed" has been changed to "You have no home bed or charged respawn anchor, or it was obstructed" due to the fact that respawn anchors can be depleted.[12] | ||||||
1.16.2 | 20w30a | Beds 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. | |||||
1.17 | 20w51a | Added gamerules for sleeping in multiplayer. | |||||
1.18 | 21w44a | Sleeping now resets the weather cycle only if it is currently raining or snowing.[13] | |||||
1.19 | 22w11a | Mangrove planks can now be used to craft beds. | |||||
1.19.3 Experiment | 22w42a | Bamboo planks can now be used to craft beds. | |||||
1.19.3 | 22w43a | Bed explosions can now be properly blocked by shields.[14] | |||||
1.19.4 Experiment | 23w07a | Cherry planks can now be used to craft beds. | |||||
1.20 | Pre-release 1 | Beds of any color can now be dyed into any other color. | |||||
1.20.3 Experiment | 23w45a | Beds now generate in trial chambers. | |||||
1.21.2 | 24w33a | Beds in trial chambers intersections now have randomized colors. | |||||
[hide]Pocket Edition Alpha | |||||||
v0.4.0 | ![]() ![]() | ||||||
v0.5.0 | Beds can now be obtained after activating the nether reactor. | ||||||
![]() | |||||||
Beds now restore health when slept in. | |||||||
v0.7.0 | ![]() | ||||||
v0.9.0 | build 1 | Beds no longer restore health in normal difficulty, making food a more required Survival-needed resource. | |||||
Added smooth lighting to beds. | |||||||
![]() | |||||||
v0.11.0 | build 8 | The lighting on beds has been improved. | |||||
v0.12.1 | build 1 | Tamed ocelots while standing now purposely go and sit on beds. | |||||
Beds are no longer available from the nether reactor. | |||||||
v0.16.0 | build 1 | Beds now make a sound when placed, identical to blocks like stone.[15] | |||||
[hide]Pocket Edition | |||||||
1.0.0 | alpha 0.17.0.1 | Beds are now generated in igloos. | |||||
alpha 0.17.0.2 | ![]() | ||||||
alpha 1.0.0.0 | Sleeping now ends weather. | ||||||
1.1.0 | alpha 1.1.0.0 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |||||
The "Bed" has been renamed to "Red Bed". | |||||||
![]() | |||||||
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.[15] | |||||||
[hide]Bedrock Edition | |||||||
1.4.0 | beta 1.2.14.2 | Beds can now be waterlogged and require Water Breathing to sleep in. | |||||
beta 1.2.20.1 | Colored beds can now be turned into white beds by adding bleach. This works only if Minecraft Education features are turned on. | ||||||
1.6.0 | beta 1.6.0.1 | Sleeping in a bed is now important to keep phantoms from spawning. | |||||
1.8.0 | beta 1.8.0.8 | Cats can now sleep in empty beds or sit on their owner when their owner is sleeping. | |||||
1.10.0 | beta 1.10.0.3 | Various 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. | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |||||||
1.11.0 | beta 1.11.0.4 | Beds can now be bought from shepherd villagers. | |||||
1.13.0 | beta 1.13.0.1 | Players now succeed in attempting to sleep on villager-occupied beds, kicking the villager off. | |||||
1.21.60 | Preview 1.21.60.21 | Changed wording for lowest number required for player sleeping to skip the night. | |||||
[hide]Legacy Console Edition | |||||||
Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
TU1 | CU1 | 1.00 | 1.00 | 1.00 | Patch 1 | 1.0.1 | ![]() ![]() |
TU7 | Beds no longer spawn monsters and the pathfinding logic has been removed. Trying to sleep when monsters are around now displays the message You may not rest now, there are monsters nearby, regardless of if the monsters can actually reach the player or not.[is this the correct version?] | ||||||
TU12 | Cats in standing position now purposely go and sit on beds, preventing players from using them. | ||||||
TU43 | CU33 | 1.36 | 1.36 | 1.36 | Patch 13 | The sleeping animation while in beds has been changed. | |
Bed now generates inside igloos. | |||||||
TU54 | CU44 | 1.52 | 1.52 | 1.52 | Patch 24 | 1.0.4 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
The "Bed" has been now renamed to "Red Bed". | |||||||
![]() ![]() | |||||||
Beds are now dyeable and bounce the player two blocks up, and have a single 3D legs. | |||||||
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" is now displayed. | |||||||
TU56 | CU47 | 1.55 | 1.55 | 1.55 | Patch 26 | 1.0.6 | Beds in the Nether or the End no longer explode if "TNT Explodes" is disabled. |
The description of beds has been updated due to different colors of beds now existing.. | |||||||
TU60 | CU51 | 1.64 | 1.64 | 1.64 | Patch 30 | 1.0.11 | The sleeping animation in beds has been changed again. |
TU69 | 1.76 | 1.76 | 1.76 | Patch 38 | Sleeping in a bed is now important to keep phantoms from spawning. | ||
Beds can now be waterlogged and require ![]() | |||||||
A smooth transition is now applied to the camera when the player enters or leaves a bed. | |||||||
1.82 | 1.83 | 1.82 | 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. | |||||||
[hide]New Nintendo 3DS Edition | |||||||
0.1.0 | ![]() ![]() | ||||||
1.9.19 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ||||||
The "Bed" has been renamed to "Red Bed". | |||||||
![]() | |||||||
Beds now bounce the player two blocks up and have 3D legs. | |||||||
[hide]Minecraft Education | |||||||
1.0 | ![]() ![]() | ||||||
1.0.1 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ||||||
The "Bed" has been renamed to "Red Bed". | |||||||
![]() | |||||||
Beds now bounce the player two blocks up, and have 3D legs. | |||||||
1.0.27 | Colored beds can now be turned into white beds by adding bleach. | ||||||
1.12 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Data history
[hide]Java Edition | |||||||
---|---|---|---|---|---|---|---|
1.13 | 17w47a | The different block states for the bed ID have been split up into their own IDs.
| |||||
Prior to The Flattening, this block's numeral ID was 26, and the item's 355. |
Issues
Issues relating to "Bed" are maintained on the bug tracker. Issues should be reported and viewed 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.[16]
- Dimension-unique respawning was eventually implemented via the respawn anchor, and gained command support at the same time. Despite this, beds and respawn anchors still explode in invalid dimensions.
- 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.
- 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.[3]
- 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.
- 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
Screenshots
-
A sleeping player in multiplayer.
-
The message that can be seen after a failed attempt to respawn at the spawn point set by a bed.
-
A crater created by attempting to sleep in the Nether.
-
A crater created by attempting to sleep in the End.
-
All the different color variants.
-
A stack of beds.
-
A player being awakened by a zombie.
-
The message that can be seen when any players attempt to sleep during daytime.
-
A player going to sleep in a bed on the first day of a Minecraft world.
-
A bed in an abandoned village has its bottom half replaced by wheat crops due to a glitch.
-
The updated Bedrock Edition sleep screen in Bed menu.
Mojang images
-
"Moments before disaster."
In other media
-
The Sham, a villainous, sentient bed featured in the Campfire Tales Skin Pack.
-
The rainbow bed, a unique bed featured in Minecraft Earth.
-
Efe sleeping on a bed in A Tale of Two Friends.
-
Efe gets off bed, from the same short film.
-
Makena resting on a purple bed with a wolf, in A year in blocks.
-
A cyan bed from LEGO The Badlands Mineshaft.
-
An apartment with Minecraft furnishing.
See also
- Ore UI, the Bedrock Edition UI refresh
References
- ↑ MC-192722 — Beds have no assigned tool
- ↑ 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".
- ↑ Jump up to: a b MC-146515 — Villagers can sleep in all dimensions — resolved as "Works As Intended".
- ↑ MCPE-172928 — resolved as "Unresolved".
- ↑ MCPE-35802
- ↑ MC-160479 resolved as "Works As Intended"
- ↑ MC-66347 — Beds make incorrect sounds — resolved as "Fixed".
- ↑ MC-11963 — bed hind legs not rendered — resolved as "Fixed".
- ↑ MC-2208
- ↑ MC-123619
- ↑ MC-4090
- ↑ MC-178336
- ↑ MC-63340 — Sleeping always resets time until rain — resolved as "Fixed".
- ↑ MC-200006 — resolved as "Fixed".
- ↑ Jump up to: a b MCPE-10077 – "Incorrect sounds on beds" resolved as "Fixed".
- ↑ "duh" – @Notch on X (formerly 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 X (formerly Twitter), May 11, 2020