Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Bed: Difference between revisions

From SAS Gaming Wiki
imported>MemphisM
 
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{For}}
{{MC/For}}
{{Infobox block
{{Infobox block
| group = White
| group = White
Line 72: Line 72:
| stackable = No
| stackable = No
| flammable = No
| flammable = No
| waterloggable = {{jebe|No|Yes}}
| waterloggable = {{MC/JEBE|No|Yes}}
| lavasusceptible = {{jebe|Yes|No}}
| lavasusceptible = {{MC/JEBE|Yes|No}}
|mapcolor =
|mapcolor =
{{TooltipSprite||rainbow-bed-top-head|Any Bed Head}} {{Map color|Bed}}  
{{TooltipSprite||rainbow-bed-top-head|Any Bed Head}} {{Map color|Bed}}  
Line 96: Line 96:


}}
}}
A '''bed''' is a [[Minecraft:dyeable]] utility [[Minecraft:block]] that allows a [[Minecraft:player]] in the [[Minecraft:Overworld]] to sleep through the [[Minecraft:night]] and reset their [[Minecraft:spawn point]] to within a few blocks of the bed, as long as it is not broken or obstructed.
A '''bed''' is a dyeable utility [[Minecraft:block]] that allows a player in the [[Minecraft:Overworld]] to sleep through the night and reset their spawn point to within a few blocks of the bed, as long as it is not broken or obstructed.


== Obtaining ==
== Obtaining ==
=== Breaking ===
=== Breaking ===
No tool can accelerate the breaking process of bed.<ref>{{bug|MC-192722||Beds have no assigned tool}}</ref>
No tool can accelerate the breaking process of bed.<ref>{{bug|MC-192722||Beds have no assigned tool}}</ref>
{{breaking row|horizontal=1|Bed|sprite=all-beds|any}}
{{MC/Breaking row|horizontal=1|Bed|sprite=all-beds|any}}
Bed drops itself when it's destroyed.
Bed drops itself when it's destroyed.


=== Natural generation ===
=== Natural generation ===
'''Igloo'''
'''Igloo'''
* A red bed naturally generates in each [[Minecraft:igloo]].
* A red bed naturally generates in each igloo.


'''Village'''
'''Village'''
* Beds of various colors generate in [[Minecraft:village]] houses, depending on the specific structure and [[Minecraft:biome]]:
* Beds of various colors generate in village houses, depending on the specific structure and [[Minecraft:biome]]:
** [[Minecraft:Village#Desert|Desert village]] houses have cyan, green, or lime beds.
** Desert village houses have cyan, green, or lime beds.
** [[Minecraft:Village#Plains|Plains village]] houses have white or yellow beds.
** Plains village houses have white or yellow beds.
** [[Minecraft:Village#Savanna|Savanna village]] houses have orange, red, or yellow beds.
** Savanna village houses have orange, red, or yellow beds.
** [[Minecraft:Village#Snowy|Snowy taiga]]{{only|bedrock|short=1}} and [[Minecraft:Village#Taiga|taiga village]] houses have blue or purple beds.
** Snowy taiga{{only|bedrock|short=1}} and taiga village houses have blue or purple beds.
** [[Minecraft:Village#Snowy|Snowy tundra village]] houses have blue, red, or white beds.
** Snowy tundra village houses have blue, red, or white beds.


'''Trial chambers'''
'''Trial chambers'''
* Beds can generate inside the [[Minecraft:trial chambers]] as any color inside various intersections. Each bed has its color randomized.
* Beds can generate inside the trial chambers as any color inside various intersections. Each bed has its color randomized.


=== Crafting ===
=== Crafting ===
Line 167: Line 167:
== Usage ==
== Usage ==
=== Sleeping ===
=== Sleeping ===
[[File:Sleep Animation.gif|380px|thumb|Player falling asleep {{in|je}}]]
[[File:Sleep Animation.gif|380px|thumb|Player falling asleep {{MC/In|je}}]]


[[File:Ore UI - Sleep Screen Animation (Bedrock).gif|380px|thumb|Player falling asleep {{in|be}}]]
[[File:Ore UI - Sleep Screen Animation (Bedrock).gif|380px|thumb|Player falling asleep {{MC/In|be}}]]


Beds are used by pressing the {{control|use item}} button while looking at the bed.
Beds are used by pressing the {{MC/Control|use item}} button while looking at the bed.


A player sleeps by {{control|using|using}} a bed during a [[Minecraft:thunderstorm]], or at [[Minecraft:night]] (between 12523 and 23477 ticks in clear weather, when stars appear in the sky, or between 12002 and 23998 ticks in rainy weather). Players can sleep during a thunderstorm even if they are in a biome where it does not rain (e.g. 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 [[Minecraft: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 {{MC/Control|using|using}} a bed during a thunderstorm, or at night (between 12523 and 23477 ticks in clear weather, when stars appear in the sky, or between 12002 and 23998 ticks in rainy weather). Players can sleep during a thunderstorm even if they are in a biome where it does not rain (e.g. desert). Attempting to use a bed at any other time results in the message "You can sleep only at night or during thunderstorms" {{MC/In|Java}} or "You can only sleep at night and during thunderstorms" {{MC/In|Bedrock}}. A player sleeps in a bed for 101 in-game [[Minecraft:tick]]s, or 5.05 seconds before the time skips to the next day. Sleeping in a bed with the {{MC/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 [[Minecraft:Overworld]]. Attempting to sleep in a bed in [[Minecraft:the Nether]], [[Minecraft:the End]], and [[Minecraft:custom dimension]]s{{only|java|short=1}} in which they are disabled causes it to [[Minecraft:explode]] and set [[Minecraft: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 [[Minecraft:TNT]] (4), but not as strong as a charged [[Minecraft:creeper]] or [[Minecraft:end crystal]] (6). The explosion centers on the head part of the bed. [[Minecraft: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 [[Minecraft: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 [[Minecraft:Overworld]]. Attempting to sleep in a bed in [[Minecraft:the Nether]], [[Minecraft:the End]], and custom dimensions{{only|java|short=1}} in which they are disabled causes it to explode and set [[Minecraft:fire]] to surrounding blocks.<ref>{{bug|mcpe-28723||Exploding bed in the Nether!?|WAI}} This is referenced {{MC/In|Java}} when a player is killed by "Intentional Game Design".</ref> The explosion has power 5, which is stronger than [[Minecraft:TNT]] (4), but not as strong as a charged creeper or end crystal (6). The explosion centers on the head part of the bed. [[Minecraft: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 message "'''(Player) was killed by <span class="minetip" title=MCPE-28723>{{bug|MCPE-28723|[Intentional Game Design]}}</span>'''" appears. {{MC/In|Bedrock}}, bed explosions can be disabled by setting {{MC/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" {{MC/In|Java}} or "Bed is too far away" {{MC/In|Bedrock}} appears. To use a bed, a player must be within a distance of 3 blocks {{MC/In|Java}} or 2 blocks {{MC/In|Bedrock}} from the bed.


If a [[Minecraft: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.
If a [[Minecraft: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.
Line 185: Line 185:
! colspan="2" | Prevent the player from sleeping
! colspan="2" | Prevent the player from sleeping
|-
|-
! {{el|je}}
! {{MC/El|je}}
! {{el|be}}
! {{MC/El|be}}
|-
|-
|{{EntityLink|Blaze}}<br>{{EntityLink|Bogged}}<br>{{EntityLink|Breeze}}<br>{{EntityLink|Cave Spider}}<br>{{EntityLink|Creaking}}<br>{{EntityLink|Creeper}}<br>{{EntityLink|Drowned}}<br>{{EntityLink|Elder Guardian}}<br>{{EntityLink|Enderman}}<br>{{EntityLink|Endermite}}<br>{{EntityLink|Evoker}}<br>{{EntityLink|Guardian}}<br>{{EntityLink|Husk}}<br>{{EntityLink|Parched}}<br>{{EntityLink|Pillager}}<br>{{EntityLink|Phantom}}<br>{{EntityLink|Ravager}}<br>{{EntityLink|Skeleton}}<br>{{EntityLink|Shulker}}<br>{{EntityLink|Silverfish}}<br>{{EntityLink|Spider}}<br>{{EntityLink|Stray}}<br>{{EntityLink|Vex}}<br>{{EntityLink|Vindicator}}<br>{{EntityLink|Warden}}<br>{{EntityLink|Witch}}<br>{{EntityLink|Wither}}<br>{{EntityLink|Wither Skeleton}}<br>{{EntityLink|Zoglin}}<br>{{EntityLink|Zombie}}<br>{{EntityLink|Zombie Villager}}
|{{MC/Entitylink|Blaze}}<br>{{MC/Entitylink|Bogged}}<br>{{MC/Entitylink|Breeze}}<br>{{MC/Entitylink|Cave Spider}}<br>{{MC/Entitylink|Creaking}}<br>{{MC/Entitylink|Creeper}}<br>{{MC/Entitylink|Drowned}}<br>{{MC/Entitylink|Elder Guardian}}<br>{{MC/Entitylink|Enderman}}<br>{{MC/Entitylink|Endermite}}<br>{{MC/Entitylink|Evoker}}<br>{{MC/Entitylink|Guardian}}<br>{{MC/Entitylink|Husk}}<br>{{MC/Entitylink|Parched}}<br>{{MC/Entitylink|Pillager}}<br>{{MC/Entitylink|Phantom}}<br>{{MC/Entitylink|Ravager}}<br>{{MC/Entitylink|Skeleton}}<br>{{MC/Entitylink|Shulker}}<br>{{MC/Entitylink|Silverfish}}<br>{{MC/Entitylink|Spider}}<br>{{MC/Entitylink|Stray}}<br>{{MC/Entitylink|Vex}}<br>{{MC/Entitylink|Vindicator}}<br>{{MC/Entitylink|Warden}}<br>{{MC/Entitylink|Witch}}<br>{{MC/Entitylink|Wither}}<br>{{MC/Entitylink|Wither Skeleton}}<br>{{MC/Entitylink|Zoglin}}<br>{{MC/Entitylink|Zombie}}<br>{{MC/Entitylink|Zombie Villager}}
| {{tc|yes}}
| {{MC/Tc|yes}}
| {{tc|yes}}
| {{MC/Tc|yes}}
|-
|-
|{{EntityLink|Zombified Piglin}}
|{{MC/Entitylink|Zombified Piglin}}
|{{tc|Partial|Yes, when hostile}}
|{{MC/Tc|Partial|Yes, when hostile}}
|{{Tc|Yes}}
|{{MC/Tc|Yes}}
|-
|-
|{{EntityLink|Magma Cube}}<br>{{EntityLink|Slime}}
|{{MC/Entitylink|Magma Cube}}<br>{{MC/Entitylink|Slime}}
|{{tc|no}}
|{{MC/Tc|no}}
|{{tc|yes}}
|{{MC/Tc|yes}}
|-
|-
|{{EntityLink|Piglin}}<br>{{EntityLink|Piglin Brute}}
|{{MC/Entitylink|Piglin}}<br>{{MC/Entitylink|Piglin Brute}}
|{{tc|yes}}
|{{MC/Tc|yes}}
|{{tc|no}}
|{{MC/Tc|no}}
|-
|-
|{{EntityLink|Camel Husk}}<br>{{EntityLink|Ender Dragon}}<br>{{EntityLink|Ghast}}<br>{{EntityLink|Hoglin}}<br>{{EntityLink|Skeleton Horse}}<br>{{EntityLink|Zombie Horse}}<br>{{EntityLink|Zombie Nautilus}}
|{{MC/Entitylink|Camel Husk}}<br>{{MC/Entitylink|Ender Dragon}}<br>{{MC/Entitylink|Ghast}}<br>{{MC/Entitylink|Hoglin}}<br>{{MC/Entitylink|Skeleton Horse}}<br>{{MC/Entitylink|Zombie Horse}}<br>{{MC/Entitylink|Zombie Nautilus}}
| {{tc|No}}
| {{MC/Tc|No}}
| {{tc|No}}
| {{MC/Tc|No}}
|-
|-
|{{EntityLink|Giant}}<br>{{EntityLink|Illusioner}}
|{{MC/Entitylink|Giant}}<br>{{MC/Entitylink|Illusioner}}
|{{Tc|Yes}}
|{{MC/Tc|Yes}}
|{{tc|N/A}}
|{{MC/Tc|N/A}}
|}
|}
{{notelist}}
{{notelist}}


If the player has not entered a bed and didn't die for 3 in-game days, [[Minecraft:phantom]]s can spawn unless {{cmd|gamerule doInsomnia}} is set to {{cd|false}}. {{IN|Java}}, this can be verified by checking if the "Time Since Last Rest" [[Minecraft:statistic]] is greater than 1.00 h.
If the player has not entered a bed and didn't die for 3 in-game days, phantoms can spawn unless {{MC/Cmd|gamerule doInsomnia}} is set to {{MC/Cd|false}}. {{MC/In|Java}}, 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 [[Minecraft:PVP|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.
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".
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 {{control|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 can, however, sleep in a bed being used by a villager. The player may first wake the villager (pressing {{MC/Control|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}}, the sleeping animation slowly lowers the player into bed.
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. {{MC/In|Bedrock}}, 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)
Once all players in a world are asleep, after 5 seconds (100 ticks) the time of day changes to sunrise. (time 0)
Line 228: Line 228:
During this time, the chat window is focused, and the player can leave the bed by clicking the {{btn|Leave Bed}} button.
During this time, the chat window is focused, and the player can leave the bed by clicking the {{btn|Leave Bed}} button.


[[Minecraft:Waterlogged]] beds{{only|be}} cannot be slept in unless the player or villager has the [[Minecraft:Water Breathing]] or [[Minecraft:Conduit Power]] status effects. Attempting to use a waterlogged bed otherwise does not display any message.<ref>{{bug|MCPE-35802||Attempting to use a waterlogged bed without the Conduit Power/Water Breathing effect will not give an error message}}</ref>
Waterlogged beds{{only|be}} 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.<ref>{{bug|MCPE-35802||Attempting to use a waterlogged bed without the Conduit Power/Water Breathing effect will not give an error message}}</ref>


{{IN|java}}, beds displaying an error above the hotbar is a feature exclusive to beds. {{IN|Bedrock}}, the bed sends the message in the [[Minecraft:chat]]; other blocks that cannot be used do not display such a message.<ref>{{bug|MC-160479||Attempting to use an obstructed bed gives an error message above the hotbar but attempting to use an obstructed chest or shulker box does not|WAI}}</ref>
{{MC/In|java}}, beds displaying an error above the hotbar is a feature exclusive to beds. {{MC/In|Bedrock}}, the bed sends the message in the chat; other blocks that cannot be used do not display such a message.<ref>{{bug|MC-160479||Attempting to use an obstructed bed gives an error message above the hotbar but attempting to use an obstructed chest or shulker box does not|WAI}}</ref>


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.  
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.  
Line 237: Line 237:


==== Passing the night ====
==== Passing the night ====
Sleeping changes the [[Minecraft:Daylight cycle|time of day]] to sunrise and resets the [[Minecraft:weather]] cycle, changing the weather to clear conditions. {{IN|Java}}, the weather cycle resets only during rainy or snowy weather.
Sleeping changes the time of day to sunrise and resets the weather cycle, changing the weather to clear conditions. {{MC/In|Java}}, 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 [[Minecraft:crops]] or [[Minecraft:smelting]].
Sleeping does not accelerate processes that take place over time such as the growth of crops or smelting.


To skip the night in multiplayer, all players in the [[Minecraft:Overworld]] must be in bed at the same time. Pressing the {{btn|Leave Bed}} 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 {{cd|playersSleepingPercentage}}. Sleeping in a bed while {{cd|playersSleepingPercentage}} is set to higher than 100 displays the message "No amount of rest can pass this night." and disables passing the night.
To skip the night in multiplayer, all players in the [[Minecraft:Overworld]] must be in bed at the same time. Pressing the {{btn|Leave Bed}} 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 {{MC/Cd|playersSleepingPercentage}}. Sleeping in a bed while {{MC/Cd|playersSleepingPercentage}} is set to higher than 100 displays the message "No amount of rest can pass this night." and disables passing the night.


Villagers are unable to skip the night by sleeping in beds, unlike players.
Villagers are unable to skip the night by sleeping in beds, unlike players.
Line 247: Line 247:
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.
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.


{{IN|bedrock}}, on [[Minecraft:Peaceful]] difficulty only, sleeping in a bed fully restores the player's [[Minecraft:health]].
{{MC/In|bedrock}}, on Peaceful difficulty only, sleeping in a bed fully restores the player's health.


==== Setting the spawn point ====
==== Setting the spawn point ====
Line 258: Line 258:
The message "Respawn point set" is displayed in chat when the respawn point is successfully changed.
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}} or "Your home bed was missing or obstructed" {{in|Bedrock}}, and the player respawns at the [[Minecraft:world spawn]] point.  
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" {{MC/In|Java}} or "Your home bed was missing or obstructed" {{MC/In|Bedrock}}, and the player respawns at the [[Minecraft: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.  
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.  
Line 269: Line 269:


=== Bouncing ===
=== 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 [[Minecraft:Damage#Fall damage|fall damage]] when bouncing on a bed. The player's fall distance is set to 50% of the actual distance fallen, which results in the player taking half of the normal fall damage.
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 results in the player taking half of the normal fall damage.


Baby villagers bounce on beds during the day.
Baby villagers bounce on beds during the day.


If the player is falling while sleeping requirements are met, and presses {{control|use}} on a bed within reach before hitting the ground, the fall damage is delayed until the player wakes.
If the player is falling while sleeping requirements are met, and presses {{MC/Control|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.
A player can bounce on a bed while another player or villager is sleeping on it without waking the player or the villager up.
Line 280: Line 280:


=== Curing ===
=== Curing ===
Each bed in the vicinity of a zombie villager has a chance to speed up the [[Minecraft:Zombie Villager#Curing|process of curing the zombie villager]]. [[Minecraft:Iron bars]] (such as in a prison cell) also have this effect.
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 ===
=== 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}}, beds require solid blocks below them when placed. However, the bed remains in place if its supporting blocks are later removed. They also cannot be placed on transparent blocks. {{IN|Java}}, beds do not require supporting blocks and can be placed anywhere, provided there is enough room.
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. {{MC/In|Bedrock}}, beds require solid blocks below them when placed. However, the bed remains in place if its supporting blocks are later removed. They also cannot be placed on transparent blocks. {{MC/In|Java}}, beds do not require supporting blocks and can be placed anywhere, provided there is enough room.


=== Explosions ===
=== Explosions ===
{{see also|Tutorial:Ancient Debris#The bed method|Tutorial:Defeating the Ender Dragon#Beds}}
{{MC/See also|Tutorial:Ancient Debris#The bed method|Tutorial:Defeating the Ender Dragon#Beds}}
Because beds explode when a player attempts to sleep in [[Minecraft:the Nether]] or [[Minecraft:the End]], they can be used as any other explosion, to demolish blocks or deal damage, with the advantage of being extremely cheap compared to [[Minecraft:TNT]] or [[Minecraft:end crystal]]s, and being instantaneous. Explosions can be used, for example, to mine for [[Minecraft:ancient debris]] or to kill the [[Minecraft:ender dragon]].  
Because beds explode when a player attempts to sleep in [[Minecraft:the Nether]] or [[Minecraft:the End]], they can be used as any other explosion, to demolish blocks or deal damage, with the advantage of being extremely cheap compared to [[Minecraft:TNT]] or end crystals, and being instantaneous. Explosions can be used, for example, to mine for ancient debris or to kill the ender dragon.  


{{IN|Bedrock}}, beds do not explode if {{cd|[[Minecraft:commands/gamerule|/gamerule]] respawnBlocksExplode}} is set to {{cd|false}}.
{{MC/In|Bedrock}}, beds do not explode if {{MC/Cd|[[Minecraft:commands/gamerule|/gamerule]] respawnBlocksExplode}} is set to {{MC/Cd|false}}.


=== Piston interactivity ===
=== Piston interactivity ===
Beds are destroyed when a [[Minecraft:piston]] tries to push them. They are not pulled by [[Minecraft:sticky piston]]s.
Beds are destroyed when a [[Minecraft:piston]] tries to push them. They are not pulled by sticky pistons.


== Sounds ==
== Sounds ==
=== Generic ===
=== Generic ===
{{Sound table/Block/Wood}}
{{MC/Sound table/Block/Wood}}


=== Unique ===
=== Unique ===
{{edition|java}}
{{MC/Edition|java}}
{{SoundTable
{{SoundTable
| type = java
| type = java
Line 318: Line 318:
}}
}}


{{edition|bedrock}}:
{{MC/Edition|bedrock}}:
{{SoundTable
{{SoundTable
| type = bedrock
| type = bedrock
Line 336: Line 336:
== Data values ==
== Data values ==
=== ID ===
=== ID ===
{{edition|java}}:
{{MC/Edition|java}}:
{{ID table
{{ID table
|edition=java
|edition=java
Line 446: Line 446:
|foot=1}}
|foot=1}}


{{edition|bedrock}}:
{{MC/Edition|bedrock}}:
{{ID table
{{ID table
|edition=bedrock
|edition=bedrock
Line 478: Line 478:


=== Metadata ===
=== Metadata ===
{{see also|Data values}}
{{MC/See also|Data values}}
{{IN|be}}, bed items use the following data values:
{{MC/In|be}}, bed items use the following data values:


{{dvt|spritetype=item|sprite=white-bed|White Bed}}
{{MC/Dvt|spritetype=item|sprite=white-bed|White Bed}}
{{dvt|spritetype=item|sprite=orange-bed|Orange Bed}}
{{MC/Dvt|spritetype=item|sprite=orange-bed|Orange Bed}}
{{dvt|spritetype=item|sprite=magenta-bed|Magenta Bed}}
{{MC/Dvt|spritetype=item|sprite=magenta-bed|Magenta Bed}}
{{dvt|spritetype=item|sprite=light-blue-bed|Light Blue Bed}}
{{MC/Dvt|spritetype=item|sprite=light-blue-bed|Light Blue Bed}}
{{dvt|spritetype=item|sprite=yellow-bed|Yellow Bed}}
{{MC/Dvt|spritetype=item|sprite=yellow-bed|Yellow Bed}}
{{dvt|spritetype=item|sprite=lime-bed|Lime Bed}}
{{MC/Dvt|spritetype=item|sprite=lime-bed|Lime Bed}}
{{dvt|spritetype=item|sprite=pink-bed|Pink Bed}}
{{MC/Dvt|spritetype=item|sprite=pink-bed|Pink Bed}}
{{dvt|spritetype=item|sprite=gray-bed|Gray Bed}}
{{MC/Dvt|spritetype=item|sprite=gray-bed|Gray Bed}}
{{dvt|spritetype=item|sprite=light-gray-bed|Light Gray Bed}}
{{MC/Dvt|spritetype=item|sprite=light-gray-bed|Light Gray Bed}}
{{dvt|spritetype=item|sprite=cyan-bed|Cyan Bed}}
{{MC/Dvt|spritetype=item|sprite=cyan-bed|Cyan Bed}}
{{dvt|spritetype=item|sprite=purple-bed|Purple Bed}}
{{MC/Dvt|spritetype=item|sprite=purple-bed|Purple Bed}}
{{dvt|spritetype=item|sprite=blue-bed|Blue Bed}}
{{MC/Dvt|spritetype=item|sprite=blue-bed|Blue Bed}}
{{dvt|spritetype=item|sprite=brown-bed|Brown Bed}}
{{MC/Dvt|spritetype=item|sprite=brown-bed|Brown Bed}}
{{dvt|spritetype=item|sprite=green-bed|Green Bed}}
{{MC/Dvt|spritetype=item|sprite=green-bed|Green Bed}}
{{dvt|spritetype=item|sprite=red-bed|Red Bed}}
{{MC/Dvt|spritetype=item|sprite=red-bed|Red Bed}}
{{dvt|spritetype=item|sprite=black-bed|Black Bed}}
{{MC/Dvt|spritetype=item|sprite=black-bed|Black Bed}}
{{dvt|spritetype=block|sprite=air|unused|foot=1}}
{{MC/Dvt|spritetype=block|sprite=air|unused|foot=1}}


=== Block states ===
=== Block states ===
{{see also|Block states}}
{{MC/See also|Block states}}


{{el|je}}:
{{MC/El|je}}:
{{bst|facing|north|east,north,south,west|The direction the head of the bed is pointing.<br>The same direction the player faces when placing the bed.}}
{{bst|facing|north|east,north,south,west|The direction the head of the bed is pointing.<br>The same direction the player faces when placing the bed.}}
{{bst|occupied|false|false,true|True when a player or villager is using the bed.}}
{{bst|occupied|false|false,true|True when a player or villager is using the bed.}}
{{bst|part|foot|foot,head|The half of the bed in the current block.|foot=1}}
{{bst|part|foot|foot,head|The half of the bed in the current block.|foot=1}}


{{el|be}}:
{{MC/El|be}}:
{{bst|showaux=1|bits=0x1,0x2|direction|0|0,1,2,3|The direction the head of the bed is pointing.
{{bst|showaux=1|bits=0x1,0x2|direction|0|0,1,2,3|The direction the head of the bed is pointing.
*0:Head facing South
*0:Head facing South
Line 519: Line 519:
A bed has a block entity associated with it that holds additional data about the block.
A bed has a block entity associated with it that holds additional data about the block.


{{el|java}}:
{{MC/El|java}}:
{{see also|Block entity format}}
{{MC/See also|Block entity format}}
<section begin="block data"/><div class="treeview">
<section begin="block data"/><div class="treeview">
* {{nbt|compound}} Block entity data
* {{MC/Nbt|compound}} Block entity data
** {{nbt inherit/blockentity}}
** {{MC/Nbt inherit/blockentity}}
</div><section end="block data"/>
</div><section end="block data"/>


{{el|bedrock}}:
{{MC/El|bedrock}}:
: See [[Minecraft:Bedrock Edition level format/Block entity format]].
: See [[Minecraft:Bedrock Edition level format/Block entity format]].


== Achievements ==
== Achievements ==
{{load achievements|Change of Sheets}}
{{MC/Load achievements|Change of Sheets}}


== Advancements ==
== Advancements ==
{{load advancements|Sweet Dreams}}
{{MC/Load advancements|Sweet Dreams}}


== History ==
== History ==
{{more sounds|section=1|type=old|Sounds before 14w33a}}
{{MC/More sounds|section=1|type=old|Sounds before 14w33a}}
{{See asset history}}
{{MC/See asset history}}
{{See technical block}}
{{MC/See technical block}}
=== Development ===
=== Development ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine||September 16, 2010|link={{tweet|notch|24691652815}}|[[Minecraft: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.}}
|{{HistoryLine||November 26, 2011|link={{tweet|jeb|140410431394160640}}|[[Minecraft:Jeb]] mentioned that [[Minecraft:crying obsidian]] was intended to act as a block to reset spawn points as well.}}
|{{HistoryLine||November 26, 2011|link={{tweet|jeb|140410431394160640}}|Jeb mentioned that crying obsidian was intended to act as a block to reset spawn points as well.}}
|{{HistoryLine||March 13, 2017|link={{tweet|jeb_|841311279784591361}}|[[Minecraft:Jeb]] mentions colored beds for [[Minecraft:Java Edition 1.12|1.12]].}}
|{{HistoryLine||March 13, 2017|link={{tweet|jeb_|841311279784591361}}|Jeb mentions colored beds for 1.12.}}
}}
}}


=== ''Java Edition'' ===
=== ''Java Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java beta}}
|{{MC/HistoryLine|java beta}}
|{{HistoryLine||1.3|[[File:Red Bed (N) JE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.  
|{{MC/HistoryLine||1.3|[[File:Red Bed (N) JE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.  
|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 [[Minecraft:zombie]]s, [[Minecraft:skeleton]]s, or [[Minecraft: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.
|When a player goes to sleep, the game attempts to spawn up to 20 [[Minecraft:zombie]]s, 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.
|The ability to leave beds is currently only intentionally available in multiplayer. However, in singleplayer it is possible for the player to aim at the bed they are sleeping in by moving the mouse in the right way, and then break it, which will forcibly wake them up.
|The ability to leave beds is currently only intentionally available in multiplayer. However, in singleplayer it is possible for the player to aim at the bed they are sleeping in by moving the mouse in the right way, and then break it, which will forcibly wake them up.
|Trying to sleep in a bed in [[Minecraft:the Nether]] does nothing.}}
|Trying to sleep in a bed in [[Minecraft: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 [[Minecraft:multiplayer]] at the time) is clicked.}}
|{{MC/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 [[Minecraft:multiplayer]] at the time) is clicked.}}
|{{HistoryLine||1.4_01|Beds now set the player's spawn point as intended, both in singleplayer and in multiplayer.}}
|{{MC/HistoryLine||1.4_01|Beds now set the player's spawn point as intended, both in singleplayer and in multiplayer.}}
|{{HistoryLine||1.6|dev=Test Build 3|Trying to sleep in a bed in the Nether now causes the bed to [[Minecraft:explode]].}}
|{{MC/HistoryLine||1.6|dev=Test Build 3|Trying to sleep in a bed in the Nether now causes the bed to explode.}}
|{{HistoryLine||1.7|As blocks now pull textures from the expected places for model application, this has resulted in the bed texture shifting downward in <samp>[[Minecraft:terrain.png]]</samp>. No visual difference has resulted for the actual bed.}}
|{{MC/HistoryLine||1.7|As blocks now pull textures from the expected places for model application, this has resulted in the bed texture shifting downward in <samp>terrain.png</samp>. No visual difference has resulted for the actual bed.}}
|{{HistoryLine|java}}
|{{MC/HistoryLine|java}}
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 4|Bed explosions in the Nether now light nearby blocks on fire.}}
|{{MC/HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 4|Bed explosions in the Nether now light nearby blocks on fire.}}
|{{HistoryLine|||dev=Beta 1.9 Prerelease 5|The bottom textures of beds have been changed to the texture of the new [[Minecraft:Planks#Oak|oak planks]] from [[File:Red Bed JE1 (facing NWU).png|32px]] to [[File:Red Bed JE2 BE1 (facing NWU).png|32px]].}}
|{{MC/HistoryLine|||dev=Beta 1.9 Prerelease 5|The bottom textures of beds have been changed to the texture of the new [[Minecraft:Planks#Oak|oak planks]] from [[File:Red Bed JE1 (facing NWU).png|32px]] to [[File:Red Bed JE2 BE1 (facing NWU).png|32px]].}}
|{{HistoryLine|||dev=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.
|{{MC/HistoryLine|||dev=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.
|Trying to sleep in a bed in the End now causes the bed to [[Minecraft:explode]].}}
|Trying to sleep in a bed in the End now causes the bed to explode.}}
|{{HistoryLine||1.2.4|dev=release|[[Minecraft:Cat]]s while in standing position now purposely go and sit on beds.
|{{MC/HistoryLine||1.2.4|dev=release|Cats while in standing position now purposely go and sit on beds.
|[[Minecraft:Planks#Spruce|Spruce]], [[Minecraft:Planks#Birch|birch]], and [[Minecraft:Planks#Jungle|jungle planks]] can now be used to craft beds.}}
|[[Minecraft:Planks#Spruce|Spruce]], [[Minecraft:Planks#Birch|birch]], and [[Minecraft:Planks#Jungle|jungle planks]] can now be used to craft beds.}}
|{{HistoryLine||1.3.1|dev=12w18a|As a result of singleplayer being changed to an internal server, the ability to leave beds is now available in singleplayer.}}
|{{MC/HistoryLine||1.3.1|dev=12w18a|As a result of singleplayer being changed to an internal server, the ability to leave beds is now available in singleplayer.}}
|{{HistoryLine||1.5|dev=?|Beds now check their [[Minecraft:biome]] for detonation rather than just their dimension.}}
|{{MC/HistoryLine||1.5|dev=?|Beds now check their [[Minecraft:biome]] for detonation rather than just their dimension.}}
|{{HistoryLine||1.7.2|dev=1.7.1|[[Minecraft:Planks#Acacia|Acacia]] and [[Minecraft:Planks#Dark Oak|dark oak planks]] can now be used to craft beds.}}
|{{MC/HistoryLine||1.7.2|dev=1.7.1|[[Minecraft:Planks#Acacia|Acacia]] and [[Minecraft:Planks#Dark Oak|dark oak planks]] can now be used to craft beds.}}
|{{HistoryLine||1.8|dev=14w04a|[[File:Red Bed 0 (in minecart) 14w04a.png|32px]] [[File:Red Bed 1 (in minecart) 14w04a.png|32px]] [[File:Red Bed 8 (in minecart) 14w04a.png|32px]] [[File:Red Bed 9 (in minecart) 14w04a.png|32px]] If a bed is set to render as the block inside of a [[Minecraft:minecart]] via commands or map editing, it now appears as this (previously it would be entirely invisible).}}
|{{MC/HistoryLine||1.8|dev=14w04a|[[File:Red Bed 0 (in minecart) 14w04a.png|32px]] [[File:Red Bed 1 (in minecart) 14w04a.png|32px]] [[File:Red Bed 8 (in minecart) 14w04a.png|32px]] [[File:Red Bed 9 (in minecart) 14w04a.png|32px]] If a bed is set to render as the block inside of a [[Minecraft:minecart]] via commands or map editing, it now appears as this (previously it would be entirely invisible).}}
|{{HistoryLine|||dev=14w29a|Beds now display the cracking animation on top and bottom.}}
|{{MC/HistoryLine|||dev=14w29a|Beds now display the cracking animation on top and bottom.}}
|{{HistoryLine|||dev=14w32c|It is now possible to step from a normal block to on top of a bed without jumping.}}
|{{MC/HistoryLine|||dev=14w32c|It is now possible to step from a normal block to on top of a bed without jumping.}}
|{{HistoryLine|||dev=14w33a|Beds now make [[Minecraft:sound]]s when placed, and play logical sounds when stepped on and [[Minecraft:Breaking|broken]].<ref>{{bug|MC-66347||Beds make incorrect sounds|Fixed}}</ref>}}
|{{HistoryLine|||dev=14w33a|Beds now make sounds when placed, and play logical sounds when stepped on and broken.<ref>{{bug|MC-66347||Beds make incorrect sounds|Fixed}}</ref>}}
|{{HistoryLine||1.9|dev=15w43a|Bed now generates inside [[Minecraft:igloo]]s.}}
|{{MC/HistoryLine||1.9|dev=15w43a|Bed now generates inside igloos.}}
|{{HistoryLine|||dev=16w06a|The player's body, hand and held item are now rendered while sleeping in bed.}}
|{{MC/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 [[Minecraft:mob]].}}
|{{MC/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 [[Minecraft: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.}}
|{{MC/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||1.12|dev=17w06a|Neutral [[Minecraft:zombie pigmen]] no longer prevent the player from sleeping in a bed.}}
|{{MC/HistoryLine||1.12|dev=17w06a|Neutral zombie pigmen no longer prevent the player from sleeping in a bed.}}
|{{HistoryLine|||dev=17w15a|[[File:White Bed JE1.png|32px]] [[File:Light Gray Bed JE1.png|32px]] [[File:Gray Bed JE1.png|32px]] [[File:Black Bed JE1.png|32px]] [[File:Brown Bed JE1.png|32px]] [[File:Orange Bed JE1.png|32px]] [[File:Yellow Bed JE1.png|32px]] [[File:Lime Bed JE1.png|32px]] [[File:Green Bed JE1.png|32px]] [[File:Cyan Bed JE1.png|32px]] [[File:Light Blue Bed JE1.png|32px]] [[File:Blue Bed JE1.png|32px]] [[File:Purple Bed JE1.png|32px]] [[File:Magenta Bed JE1.png|32px]] [[File:Pink Bed JE1.png|32px]] [[Minecraft:Dye]]d beds have been added.
|{{HistoryLine|||dev=17w15a|[[File:White Bed JE1.png|32px]] [[File:Light Gray Bed JE1.png|32px]] [[File:Gray Bed JE1.png|32px]] [[File:Black Bed JE1.png|32px]] [[File:Brown Bed JE1.png|32px]] [[File:Orange Bed JE1.png|32px]] [[File:Yellow Bed JE1.png|32px]] [[File:Lime Bed JE1.png|32px]] [[File:Green Bed JE1.png|32px]] [[File:Cyan Bed JE1.png|32px]] [[File:Light Blue Bed JE1.png|32px]] [[File:Blue Bed JE1.png|32px]] [[File:Purple Bed JE1.png|32px]] [[File:Magenta Bed JE1.png|32px]] [[File:Pink Bed JE1.png|32px]] [[Minecraft:Dye]]d beds have been added.
|The "Bed" has been renamed to "Red Bed".
|The "Bed" has been renamed to "Red Bed".
Line 584: Line 584:
|[[File:Bed Icons 17w15a.png]] Beds now appear 3D in the [[Minecraft:inventory]].
|[[File:Bed Icons 17w15a.png]] Beds now appear 3D in the [[Minecraft:inventory]].
|[[File:Red Bed JE3 (facing NWU).png|32px]] Beds now have 3D legs.<ref>{{bug|MC-11963||bed hind legs not rendered|Fixed}}</ref>
|[[File:Red Bed JE3 (facing NWU).png|32px]] Beds now have 3D legs.<ref>{{bug|MC-11963||bed hind legs not rendered|Fixed}}</ref>
|Beds have been made bouncy, though they do not completely reduce all [[Minecraft:Damage#Fall damage|fall damage]].
|Beds have been made bouncy, though they do not completely reduce all fall damage.
|Beds are now a [[Minecraft:block entity]].}}
|Beds are now a [[Minecraft:block entity]].}}
|{{HistoryLine|||dev=17w17a|[[File:Red Bed JE4 BE2 (facing NWU).png|32px]] The four legs of a bed are now each textured separately, and their [[Minecraft:model]] is different.
|{{MC/HistoryLine|||dev=17w17a|[[File:Red Bed JE4 BE2 (facing NWU).png|32px]] The four legs of a bed are now each textured separately, and their model is different.
|[[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> <!--- the numbers appear out of order but it is correct since it orders all beds in the current order in the Java Creative inventory --->
|[[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> <!--- the numbers appear out of order but it is correct since it orders all beds in the current order in the Java Creative inventory --->
[[File:Bed Icons 17w17a.png]] The textures of beds have now also been changed.}}
[[File:Bed Icons 17w17a.png]] The textures of beds have now also been changed.}}
|{{HistoryLine||1.13|dev=17w47a|The different block states for the <code>bed</code> ID have been split up into their own IDs.
|{{HistoryLine||1.13|dev=17w47a|The different block states for the <code>bed</code> ID have been split up into their own IDs.
|[[Minecraft:Java Edition Flattening|Removed the numeric ID]]s (26 for the block form and 355 for the item form) of beds.
|Removed the numeric IDs (26 for the block form and 355 for the item form) of beds.
|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 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<ref>{{bug|MC-2208||Blocks with special placement can be placed inside player / entity|Fixed}}</ref> but can still be placed with their head part inside entities.<ref>{{bug|MC-123619||When placing a bed or door, it does not check whether there is a mob or player in the second block}}</ref>}}
|Beds can no longer be placed with their foot part inside entities<ref>{{bug|MC-2208||Blocks with special placement can be placed inside player / entity|Fixed}}</ref> but can still be placed with their head part inside entities.<ref>{{bug|MC-123619||When placing a bed or door, it does not check whether there is a mob or player in the second block}}</ref>}}
|{{HistoryLine|||dev=18w07a|Sleeping in a bed is now important to keep [[Minecraft:phantom]]s from spawning.
|{{MC/HistoryLine|||dev=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.}}
|A smooth transition is now applied to the camera when the player enters or leaves a bed.}}
|{{HistoryLine|||dev=18w20a|Players in [[Minecraft:Creative]] mode can now sleep even if monsters are nearby.}}
|{{MC/HistoryLine|||dev=18w20a|Players in Creative mode can now sleep even if monsters are nearby.}}
|{{HistoryLine|||dev=18w22a|Beds no longer require supporting blocks below them; they do not break into an [[Minecraft:Item (entity)|item]] if said blocks are removed, and can be directly placed on top of non-solid blocks.}}
|{{MC/HistoryLine|||dev=18w22a|Beds no longer require supporting blocks below them; they do not break into an [[Minecraft:Item (entity)|item]] if said blocks are removed, and can be directly placed on top of non-solid blocks.}}
|{{HistoryLine|||dev=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 [[Minecraft:thunderstorm]]s."}}
|{{MC/HistoryLine|||dev=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."}}
|{{HistoryLine||1.14|dev=18w43a|[[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 (N) JE3.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]]<br>{{InvSprite|White Bed}} {{InvSprite|Light Gray Bed}} {{InvSprite|Gray Bed}} {{InvSprite|Black Bed}} {{InvSprite|Brown Bed}} {{InvSprite|Red Bed}} {{InvSprite|Orange Bed}} {{InvSprite|Yellow Bed}} {{InvSprite|Lime Bed}} {{InvSprite|Green Bed}} {{InvSprite|Cyan Bed}} {{InvSprite|Light Blue Bed}} {{InvSprite|Blue Bed}} {{InvSprite|Purple Bed}} {{InvSprite|Magenta Bed}} {{InvSprite|Pink Bed}} The textures of all beds have been changed.
|{{HistoryLine||1.14|dev=18w43a|[[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 (N) JE3.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]]<br>{{MC/InvSprite|White Bed}} {{MC/InvSprite|Light Gray Bed}} {{MC/InvSprite|Gray Bed}} {{MC/InvSprite|Black Bed}} {{MC/InvSprite|Brown Bed}} {{MC/InvSprite|Red Bed}} {{MC/InvSprite|Orange Bed}} {{MC/InvSprite|Yellow Bed}} {{MC/InvSprite|Lime Bed}} {{MC/InvSprite|Green Bed}} {{MC/InvSprite|Cyan Bed}} {{MC/InvSprite|Light Blue Bed}} {{MC/InvSprite|Blue Bed}} {{MC/InvSprite|Purple Bed}} {{MC/InvSprite|Magenta Bed}} {{MC/InvSprite|Pink Bed}} The textures of all beds have been changed.
|[[File:Red Bed JE5 (facing NWU).png|32px]] The bottom textures of beds have been changed to new oak planks texture.}}
|[[File:Red Bed JE5 (facing NWU).png|32px]] The bottom textures of beds have been changed to new oak planks texture.}}
|{{HistoryLine|||dev=18w44a|Cats can now sleep in empty beds or sit on their owner when their owner is sleeping.}}
|{{MC/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 texture, once again.}}
|{{MC/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 texture, once again.}}
|{{HistoryLine|||dev=18w48a|Beds now generate in the updated [[Minecraft:plains village]]s.
|{{HistoryLine|||dev=18w48a|Beds now generate in the updated plains villages.
|Beds now have an accurate hitbox.<ref>{{bug|MC-4090||Bed Hit Box is Incorrect|WF}}</ref>}}
|Beds now have an accurate hitbox.<ref>{{bug|MC-4090||Bed Hit Box is Incorrect|WF}}</ref>}}
|{{HistoryLine|||dev=18w49a|Beds now generate in the updated [[Minecraft:savanna village]]s and the new [[Minecraft:Village#Snowy|snowy tundra village]]s.}}
|{{MC/HistoryLine|||dev=18w49a|Beds now generate in the updated savanna villages and the new snowy tundra villages.}}
|{{HistoryLine|||dev=18w50a|Beds now generate in the updated [[Minecraft:Village#Desert|desert]] and [[Minecraft:taiga village]]s.}}
|{{MC/HistoryLine|||dev=18w50a|Beds now generate in the updated desert and taiga villages.}}
|{{HistoryLine|||dev=19w08a|All mobs can now sleep in beds using [[Minecraft:commands]].}}
|{{MC/HistoryLine|||dev=19w08a|All mobs can now sleep in beds using [[Minecraft:commands]].}}
|{{HistoryLine|||dev=19w11a|[[Minecraft:Villager]]s now claim beds and sleep in them during the night.
|{{MC/HistoryLine|||dev=19w11a|[[Minecraft:Villager]]s now claim beds and sleep in them during the night.
|Shepherd villagers now [[Minecraft:sell]] beds.
|Shepherd villagers now sell beds.
|[[Minecraft:Third-person view]] now works properly while sleeping in a bed.}}
|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.}}
|{{MC/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.}}
|{{MC/HistoryLine|||dev=19w36a|Trying to sleep in a bed during the daytime now sets the player's spawn location to that bed.}}
|{{HistoryLine|||dev=pre2|Successfully changing a spawn point using a bed now displays a message in [[Minecraft:chat]].}}
|{{MC/HistoryLine|||dev=pre2|Successfully changing a spawn point using a bed now displays a message in chat.}}
|{{HistoryLine||1.16|dev=20w06a|[[Minecraft:Crimson planks]] and [[Minecraft:warped planks]] can now be used to craft beds.}}
|{{MC/HistoryLine||1.16|dev=20w06a|Crimson planks and warped planks can now be used to craft beds.}}
|{{HistoryLine|||dev=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 [[Minecraft:respawn anchor]], used to set the player's spawn in [[Minecraft:the Nether]].}}
|{{MC/HistoryLine|||dev=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 [[Minecraft:the Nether]].}}
|{{HistoryLine|||dev=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.<ref>{{bug|MC-178336||The message "You have no home bed or respawn anchor, or it was obstructed" doesn't make it clear that your respawn anchor might have been depleted|Fixed}}</ref>}}
|{{HistoryLine|||dev=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.<ref>{{bug|MC-178336||The message "You have no home bed or respawn anchor, or it was obstructed" doesn't make it clear that your respawn anchor might have been depleted|Fixed}}</ref>}}
|{{HistoryLine||1.16.2|dev=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.}}
|{{MC/HistoryLine||1.16.2|dev=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.}}
|{{HistoryLine||1.17|dev=20w51a|Added gamerules for sleeping in multiplayer.}}
|{{MC/HistoryLine||1.17|dev=20w51a|Added gamerules for sleeping in multiplayer.}}
|{{HistoryLine||1.18|dev=21w44a|Sleeping now resets the weather cycle only if it is currently raining or snowing.<ref>{{bug|MC-63340||Sleeping always resets time until rain|Fixed}}</ref>}}
|{{HistoryLine||1.18|dev=21w44a|Sleeping now resets the weather cycle only if it is currently raining or snowing.<ref>{{bug|MC-63340||Sleeping always resets time until rain|Fixed}}</ref>}}
|{{HistoryLine||1.19|dev=22w11a|[[Minecraft:Planks#Mangrove|Mangrove planks]] can now be used to [[Minecraft:craft]] beds.}}
|{{MC/HistoryLine||1.19|dev=22w11a|[[Minecraft:Planks#Mangrove|Mangrove planks]] can now be used to craft beds.}}
|{{HistoryLine||1.19.3|exp=Update 1.20|dev=22w42a|[[Minecraft:Bamboo planks]] can now be used to craft beds.}}
|{{MC/HistoryLine||1.19.3|exp=Update 1.20|dev=22w42a|Bamboo planks can now be used to craft beds.}}
|{{HistoryLine||1.19.3|dev=22w43a|Bed explosions can now be properly [[Minecraft:Blocking|blocked]] by [[Minecraft:shield]]s.<ref>{{bug|MC-200006||Explosions from beds and respawn anchors can't be blocked by shields|Fixed}}</ref>}}
|{{HistoryLine||1.19.3|dev=22w43a|Bed explosions can now be properly blocked by [[Minecraft:shield]]s.<ref>{{bug|MC-200006||Explosions from beds and respawn anchors can't be blocked by shields|Fixed}}</ref>}}
|{{HistoryLine||1.19.4|exp=Update 1.20|dev=23w07a|[[Minecraft:Cherry planks]] can now be used to craft beds.}}
|{{MC/HistoryLine||1.19.4|exp=Update 1.20|dev=23w07a|Cherry planks can now be used to craft beds.}}
|{{HistoryLine||1.20|dev=pre1|Beds of any color can now be dyed into any other color.}}
|{{MC/HistoryLine||1.20|dev=pre1|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 [[Minecraft:trial chambers]].}}
|{{MC/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.}}
|{{MC/HistoryLine||1.21.2|dev=24w33a|Beds in trial chambers intersections now have randomized colors.}}
|{{HistoryLine||1.21.9|dev=25w33a|Black and white smoke particles are once again shown when beds explode while trying to set the respawn point in the Nether or the End.<ref>{{bug|MC-165991||TNT explosion no longer shows additional smoke particles since 1.15 Pre-release 1|Fixed}}</ref>}}
|{{HistoryLine||1.21.9|dev=25w33a|Black and white smoke particles are once again shown when beds explode while trying to set the respawn point in the Nether or the End.<ref>{{bug|MC-165991||TNT explosion no longer shows additional smoke particles since 1.15 Pre-release 1|Fixed}}</ref>}}
}}
}}
Line 631: Line 631:
=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|pocket alpha}}
|{{MC/HistoryLine|pocket alpha}}
|{{HistoryLine||v0.4.0|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}}
|{{MC/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 [[Minecraft:nether reactor]].
|{{MC/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.
|[[File:Leave Bed 0.5.0.png|45px]] Added a ''Leave Bed'' button that lets the player exit the bed.
|Beds now restore [[Minecraft:health]] when slept in.}}
|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.}}
|{{MC/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 [[Minecraft:health]] in normal difficulty, making [[Minecraft:food]] a more required [[Minecraft:Survival]]-needed resource.
|{{MC/HistoryLine||v0.9.0|dev=build 1|Beds no longer restore health in normal difficulty, making [[Minecraft: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.}}
|[[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.}}
|{{MC/HistoryLine||v0.11.0|dev=build 8|The lighting on beds has been improved.}}
|{{HistoryLine||v0.12.1|dev=build 1|Tamed [[Minecraft:ocelot]]s while standing now purposely go and sit on beds.
|{{MC/HistoryLine||v0.12.1|dev=build 1|Tamed ocelots while standing now purposely go and sit on beds.
|Beds are no longer available from the [[Minecraft:nether reactor]].}}
|Beds are no longer available from the nether reactor.}}
|{{HistoryLine||v0.16.0|dev=build 1|Beds now make a [[Minecraft:sound]] when placed, identical to [[Minecraft:block]]s like [[Minecraft:stone]].<ref name="lazilycodedsounds">{{bug|MCPE-10077}} – "Incorrect sounds on beds" resolved as "Fixed".</ref>}}
|{{HistoryLine||v0.16.0|dev=build 1|Beds now make a sound when placed, identical to [[Minecraft:block]]s like [[Minecraft:stone]].<ref name="lazilycodedsounds">{{bug|MCPE-10077}} – "Incorrect sounds on beds" resolved as "Fixed".</ref>}}
|{{HistoryLine|pocket}}
|{{MC/HistoryLine|pocket}}
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Beds are now generated in [[Minecraft:igloo]]s.}}
|{{MC/HistoryLine||1.0.0|dev=alpha 0.17.0.1|Beds are now generated in igloos.}}
|{{HistoryLine|||dev=alpha 0.17.0.2|[[File:Leave Bed 1.0.jpg|36px]] The texture of ''Leave Bed'' button has been changed again.}}
|{{MC/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 [[Minecraft:weather]].}}
|{{MC/HistoryLine|||dev=alpha 1.0.0.0|Sleeping now ends weather.}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|[[File:White Bed BE1.png|32px]] [[File:Light Gray Bed BE1.png|32px]] [[File:Gray Bed BE1.png|32px]] [[File:Black Bed BE1.png|32px]] [[File:Brown Bed BE1.png|32px]] [[File:Orange Bed BE1.png|32px]] [[File:Yellow Bed BE1.png|32px]] [[File:Lime Bed BE1.png|32px]] [[File:Green Bed BE1.png|32px]] [[File:Cyan Bed BE1.png|32px]] [[File:Light Blue Bed BE1.png|32px]] [[File:Blue Bed BE1.png|32px]] [[File:Purple Bed BE1.png|32px]] [[File:Magenta Bed BE1.png|32px]] [[File:Pink Bed BE1.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.
|{{MC/HistoryLine||1.1.0|dev=alpha 1.1.0.0|[[File:White Bed BE1.png|32px]] [[File:Light Gray Bed BE1.png|32px]] [[File:Gray Bed BE1.png|32px]] [[File:Black Bed BE1.png|32px]] [[File:Brown Bed BE1.png|32px]] [[File:Orange Bed BE1.png|32px]] [[File:Yellow Bed BE1.png|32px]] [[File:Lime Bed BE1.png|32px]] [[File:Green Bed BE1.png|32px]] [[File:Cyan Bed BE1.png|32px]] [[File:Light Blue Bed BE1.png|32px]] [[File:Blue Bed BE1.png|32px]] [[File:Purple Bed BE1.png|32px]] [[File:Magenta Bed BE1.png|32px]] [[File:Pink Bed BE1.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.
|The "Bed" has been renamed to "Red Bed".
|The "Bed" has been renamed to "Red Bed".
|[[File:Red Bed BE2.png|32px]] The texture of red beds has been changed.
|[[File:Red Bed BE2.png|32px]] The texture of red beds has been changed.
|A new animation when sleeping has been added to beds.
|A new animation when sleeping has been added to beds.
|Beds in [[Minecraft:igloo]]s are now white in [[Minecraft:ice plains]] and brown in [[Minecraft:cold taiga]]s.
|Beds in igloos are now white in ice plains and brown in cold taigas.
|Beds now bounce the [[Minecraft:player]] two [[Minecraft:block]]s up, and have 3D legs.
|Beds now bounce the player two [[Minecraft:block]]s up, and have 3D legs.
|Placement, stepping and breaking [[Minecraft:sound]]s for beds are now correctly wooden.<ref name="lazilycodedsounds"/>}}
|Placement, stepping and breaking sounds for beds are now correctly wooden.<ref name="lazilycodedsounds"/>}}
|{{HistoryLine|||dev=alpha 1.1.0.8|[[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:Red Bed (N) JE2.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]] The textures of beds have been changed.}}
|{{MC/HistoryLine|||dev=alpha 1.1.0.8|[[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:Red Bed (N) JE2.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]] The textures of beds have been changed.}}
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine||1.4.0|dev=beta 1.2.14.2|Beds can now be [[Minecraft:waterlog]]ged and require [[Minecraft:Water Breathing]] to sleep in.}}
|{{MC/HistoryLine||1.4.0|dev=beta 1.2.14.2|Beds can now be waterlogged and require Water Breathing to sleep in.}}
|{{HistoryLine|||dev=beta 1.2.20.1|Colored beds can now be turned into white beds by adding [[Minecraft:bleach]]. This works only if {{el|ee}} features are turned on.}}
|{{HistoryLine|||dev=beta 1.2.20.1|Colored beds can now be turned into white beds by adding [[Minecraft:bleach]]. This works only if {{MC/El|ee}} features are turned on.}}
|{{HistoryLine||1.6.0|dev=beta 1.6.0.1|Sleeping in a bed is now important to keep [[Minecraft:phantom]]s from spawning.}}
|{{MC/HistoryLine||1.6.0|dev=beta 1.6.0.1|Sleeping in a bed is now important to keep phantoms from spawning.}}
|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|[[Minecraft:Cat]]s can now sleep in empty beds or sit on their [[Minecraft:player|owner]] when their owner is sleeping.}}  
|{{MC/HistoryLine||1.8.0|dev=beta 1.8.0.8|Cats can now sleep in empty beds or sit on their owner when their owner is sleeping.}}  
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|Various beds now generate in the new [[Minecraft:village]]s.
|{{MC/HistoryLine||1.10.0|dev=beta 1.10.0.3|Various beds now generate in the new villages.
|[[Minecraft:Villager]]s can now sleep by occupying a bed, which prevent [[Minecraft:player]]s from using it.
|[[Minecraft:Villager]]s can now sleep by occupying a bed, which prevent players from using it.
|[[Minecraft:Igloo]]s now generate with red beds.
|Igloos now generate with red beds.
|Beds are now used to count the number of available houses in [[Minecraft:village]]s.
|Beds are now used to count the number of available houses in villages.
|[[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 [[Minecraft:Trading|bought]] from shepherd [[Minecraft:villager]]s.}}
|{{MC/HistoryLine||1.11.0|dev=beta 1.11.0.4|Beds can now be bought from shepherd [[Minecraft:villager]]s.}}
|{{HistoryLine||1.13.0|dev=beta 1.13.0.1|[[Minecraft:Player]]s now succeed in attempting to sleep on villager-occupied beds, kicking the villager off.}}
|{{MC/HistoryLine||1.13.0|dev=beta 1.13.0.1|Players now succeed in attempting to sleep on villager-occupied beds, kicking the villager off.}}
|{{HistoryLine||1.21.20|dev=Preview 1.21.20.21|[[File:New UI - Sleep Screen Menu (Bedrock Preview 1.21.20.21).png|53px]] Bed screen (Experimental) toggle in Sleep screen has been updated to match [[Minecraft:Ore UI]], available in [[Minecraft:Minecraft Preview|preview]] only.
|{{MC/HistoryLine||1.21.20|dev=Preview 1.21.20.21|[[File:New UI - Sleep Screen Menu (Bedrock Preview 1.21.20.21).png|53px]] Bed screen (Experimental) toggle in Sleep screen has been updated to match [[Minecraft:Ore UI]], available in [[Minecraft:Minecraft Preview|preview]] only.
|[[File:New UI - Leave Bed Button (Bedrock Preview 1.21.20.21).png|110px]] The texture of Leave Bed button has been updated to match [[Minecraft:Ore UI]].}}
|[[File:New UI - Leave Bed Button (Bedrock Preview 1.21.20.21).png|110px]] The texture of Leave Bed button has been updated to match [[Minecraft:Ore UI]].}}
|{{HistoryLine||1.21.50|dev=Preview 1.21.50.24|Sleep screen is released to the public and no longer in Bed screen (Experimental) toggle.}}
|{{MC/HistoryLine||1.21.50|dev=Preview 1.21.50.24|Sleep screen is released to the public and no longer in Bed screen (Experimental) toggle.}}
|{{HistoryLine|||dev=release|Sleep screen is released to the public and no longer in [[Minecraft:Minecraft Preview|preview]] only.}}
|{{MC/HistoryLine|||dev=release|Sleep screen is released to the public and no longer in [[Minecraft:Minecraft Preview|preview]] only.}}
|{{HistoryLine||1.21.60|dev=Preview 1.21.60.21|Changed wording for lowest number required for player [[Minecraft:sleeping]] to skip the [[Minecraft:night]].}}
|{{MC/HistoryLine||1.21.60|dev=Preview 1.21.60.21|Changed wording for lowest number required for player sleeping to skip the night.}}
|{{HistoryLine||26.0|dev=Preview 26.0.27|[[Minecraft:Camel husks]], [[Minecraft:skeleton horses]], [[Minecraft:zombie horses]] and [[Minecraft:zombie nautiluses]] no longer prevent the player from sleeping when nearby.}}
|{{MC/HistoryLine||26.0|dev=Preview 26.0.27|Camel husks, skeleton horses, zombie horses and zombie nautiluses no longer prevent the player from sleeping when nearby.}}
}}
}}


=== Legacy Console Edition ===
=== Legacy Console Edition ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|console}}
|{{MC/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.}}
|{{MC/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=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|[[Minecraft:Cat]]s in standing position now purposely go and sit on beds, preventing [[Minecraft:player]]s from using them.}}
|{{MC/HistoryLine||xbox=TU12|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu= Patch 1|Cats in standing position now purposely go and sit on beds, preventing players from using them.}}
|{{HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|switch=1.0.1|It is now possible to step from a normal block to on top of a bed without jumping.}}
|{{MC/HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|switch=1.0.1|It is now possible to step from a normal block to on top of a bed without jumping.}}
|{{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.
|{{MC/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 [[Minecraft:igloo]]s.}}
|Bed now generates inside igloos.}}
|{{HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|[[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) LCE.png|32px]] [[File:Light Gray Bed (item) LCE.png|32px]] [[File:Gray Bed (item) LCE.png|32px]] [[File:Black Bed (item) LCE.png|32px]] [[File:Brown Bed (item) LCE.png|32px]] [[File:Orange Bed (item) LCE.png|32px]] [[File:Yellow Bed (item) LCE.png|32px]] [[File:Lime Bed (item) LCE.png|32px]] [[File:Green Bed (item) LCE.png|32px]] [[File:Cyan Bed (item) LCE.png|32px]] [[File:Light Blue Bed (item) LCE.png|32px]] [[File:Blue Bed (item) LCE.png|32px]] [[File:Purple Bed (item) LCE.png|32px]] [[File:Magenta Bed (item) LCE.png|32px]] [[File:Pink Bed (item) LCE.png|32px]] Added the other 15 colors of beds.  
|{{MC/HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|[[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) LCE.png|32px]] [[File:Light Gray Bed (item) LCE.png|32px]] [[File:Gray Bed (item) LCE.png|32px]] [[File:Black Bed (item) LCE.png|32px]] [[File:Brown Bed (item) LCE.png|32px]] [[File:Orange Bed (item) LCE.png|32px]] [[File:Yellow Bed (item) LCE.png|32px]] [[File:Lime Bed (item) LCE.png|32px]] [[File:Green Bed (item) LCE.png|32px]] [[File:Cyan Bed (item) LCE.png|32px]] [[File:Light Blue Bed (item) LCE.png|32px]] [[File:Blue Bed (item) LCE.png|32px]] [[File:Purple Bed (item) LCE.png|32px]] [[File:Magenta Bed (item) LCE.png|32px]] [[File:Pink Bed (item) LCE.png|32px]] Added the other 15 colors of beds.  
|The "Bed" has been now renamed to "Red Bed".
|The "Bed" has been now renamed to "Red Bed".
|[[File:Red Bed (N) JE2.png|32px]] [[File:Red Bed (item) LCE.png|32px]] The textures of red beds has been changed.  
|[[File:Red Bed (N) JE2.png|32px]] [[File:Red Bed (item) LCE.png|32px]] The textures of red beds has been changed.  
|Beds are now [[Minecraft:dye]]able and bounce the [[Minecraft:player]] two [[Minecraft:block]]s up, and have a single 3D legs.
|Beds are now [[Minecraft:dye]]able and bounce the player two [[Minecraft:block]]s 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.}}
|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||xbox=TU56|xbone=CU47|ps3=1.55|psvita=1.55|ps4=1.55|wiiu=Patch 26|switch=1.0.6|Beds in [[Minecraft:the Nether]] or [[Minecraft:the End]] no longer explode if "TNT Explodes" is disabled.
|{{MC/HistoryLine||xbox=TU56|xbone=CU47|ps3=1.55|psvita=1.55|ps4=1.55|wiiu=Patch 26|switch=1.0.6|Beds in [[Minecraft:the Nether]] or [[Minecraft:the End]] no longer explode if "TNT Explodes" is disabled.
|The [[Minecraft:description]] of beds has been updated due to different colors of beds now existing.}}
|The description of beds has been updated due to different colors of beds now existing.}}
|{{HistoryLine||xbox=TU60|xbone=CU51|ps3=1.64|psvita=1.64|ps4=1.64|wiiu=Patch 30|switch=1.0.11|The sleeping animation in beds has been changed again.}}
|{{MC/HistoryLine||xbox=TU60|xbone=CU51|ps3=1.64|psvita=1.64|ps4=1.64|wiiu=Patch 30|switch=1.0.11|The sleeping animation in beds has been changed again.}}
|{{HistoryLine||xbox=TU69|xbone=none|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|switch=none|Sleeping in a bed is now important to keep [[Minecraft:phantom]]s from spawning.
|{{HistoryLine||xbox=TU69|xbone=none|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|switch=none|Sleeping in a bed is now important to keep phantoms from spawning.
|Beds can now be [[Minecraft:waterlog]]ged and require {{EffectLink|Water Breathing}} to sleep in.
|Beds can now be waterlogged and require {{MC/Effectlink|Water Breathing}} to sleep in.
|A smooth transition is now applied to the camera when the player enters or leaves a bed.}}
|A smooth transition is now applied to the camera when the player enters or leaves a bed.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.83|wiiu=none|switch=none|The sleeping animation for beds has been reverted to how it was before [[Minecraft:Legacy Console Edition version history|1.64]].}}
|{{MC/HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.83|wiiu=none|switch=none|The sleeping animation for beds has been reverted to how it was before 1.64.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.91|wiiu=none|switch=none|Various beds now generate in the new [[Minecraft:village]]s.
|{{MC/HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.91|wiiu=none|switch=none|Various beds now generate in the new villages.
|[[Minecraft:Villager]]s can now sleep by occupying a bed, which prevents [[Minecraft:player]]s from using it.
|[[Minecraft:Villager]]s 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 are now used to count the number of available houses in villages.
|Beds can now be [[Minecraft:Trading|bought]] from shepherd [[Minecraft:villager]]s.}}
|Beds can now be bought from shepherd [[Minecraft:villager]]s.}}
}}
}}


=== ''New Nintendo 3DS Edition'' ===
=== ''New Nintendo 3DS Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|New 3DS}}
|{{MC/HistoryLine|New 3DS}}
|{{HistoryLine||0.1.0|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}}
|{{MC/HistoryLine||0.1.0|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}}
|{{HistoryLine||1.9.19|[[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.
|{{MC/HistoryLine||1.9.19|[[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.
|The "Bed" has been renamed to "Red Bed".
|The "Bed" has been renamed to "Red Bed".
|[[File:Red Bed (N) JE2.png|32px]] The texture of red beds has been changed.
|[[File:Red Bed (N) JE2.png|32px]] The texture of red beds has been changed.
|Beds now bounce the [[Minecraft:player]] two [[Minecraft:block]]s up and have 3D legs.}}
|Beds now bounce the player two [[Minecraft:block]]s up and have 3D legs.}}
}}
}}


=== ''Minecraft Education'' ===
=== ''Minecraft Education'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|Education}}
|{{MC/HistoryLine|Education}}
|{{HistoryLine||1.0|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}}
|{{MC/HistoryLine||1.0|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}}
|{{HistoryLine||1.0.1|[[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.
|{{MC/HistoryLine||1.0.1|[[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.
|The "Bed" has been renamed to "Red Bed".
|The "Bed" has been renamed to "Red Bed".
[[File:Red Bed (N) JE2.png|32px]] The texture of red beds has been changed.
[[File:Red Bed (N) JE2.png|32px]] The texture of red beds has been changed.
|Beds now bounce the [[Minecraft:player]] two [[Minecraft:block]]s up, and have 3D legs.}}
|Beds now bounce the player two [[Minecraft:block]]s up, and have 3D legs.}}
|{{HistoryLine||1.0.27|Colored beds can now be turned into white beds by adding [[Minecraft:bleach]].}}
|{{MC/HistoryLine||1.0.27|Colored beds can now be turned into white beds by adding [[Minecraft:bleach]].}}
|{{HistoryLine||1.12|[[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.}}
|{{MC/HistoryLine||1.12|[[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.}}
}}
}}


== Issues ==
== Issues ==
{{Issue list}}
{{MC/Issue list}}


== Trivia ==
== Trivia ==
* The reason beds explode in the Nether and the End is because Notch found it was the easiest solution to dimension-unique respawning.<ref>{{tweet|Notch|1259681657793077250|duh|11 May 2020}}, in response to {{tweet|NoahBandito|1259681319392550912|So you're telling me the "Inteded Game Design" should actually be "Sorry, I was too lazy to code"?|11 May 2020}}</ref>
* The reason beds explode in the Nether and the End is because Notch found it was the easiest solution to dimension-unique respawning.<ref>{{tweet|Notch|1259681657793077250|duh|11 May 2020}}, in response to {{tweet|NoahBandito|1259681319392550912|So you're telling me the "Inteded Game Design" should actually be "Sorry, I was too lazy to code"?|11 May 2020}}</ref>
** Dimension-unique respawning was eventually implemented via the [[Minecraft:respawn anchor]], and gained command support at the same time. Despite this, beds and respawn anchors still explode in invalid dimensions.
** 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.
* If the player quits the game while sleeping, upon return the player wakes up beside the bed.
* Using the {{cmd|teleport}} command while another player is sleeping still teleports the sleeping player, but the player wakes immediately.{{only|java}}
* Using the {{MC/Cmd|teleport}} command while another player is sleeping still teleports the sleeping player, but the player wakes immediately.{{only|java}}
* If the player places a bed on [[Minecraft:ice]], running over the bed acts like running over ice, similar to slabs.
* If the player places a bed on [[Minecraft: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 {{MC/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 name="villager"/>
* 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 [[Minecraft:door]]s and double-tall [[Minecraft: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 [[Minecraft:door]]s and double-tall [[Minecraft:flower]]s is called ''half'', in the case of beds this is called ''part''.
* The red bed was the original default bed color. In [[Minecraft:Java Edition 1.12]] and [[Minecraft: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 [[Minecraft:Pocket Edition 1.1.0]] version of the game, the default color was changed to white.
* This is the only item to have a 3D inventory texture in [[Minecraft:Java Edition]], but a 2D texture in [[Minecraft:Bedrock Edition]].
* This is the only item to have a 3D inventory texture in [[Minecraft:Java Edition]], but a 2D texture in [[Minecraft:Bedrock Edition]].


Line 743: Line 743:
=== Screenshots ===
=== Screenshots ===
<gallery>
<gallery>
Multiplayer Sleeping.png|A sleeping [[Minecraft:player]] in multiplayer
Multiplayer Sleeping.png|A sleeping player in multiplayer
Missing Bed.png|The message that can be seen after a failed attempt to respawn at the spawn point set by a bed.
Missing Bed.png|The message that can be seen after a failed attempt to respawn at the spawn point set by a bed.
Nether Bed.png|A crater created by attempting to sleep in the Nether.
Nether Bed.png|A crater created by attempting to sleep in the Nether.
Ender Bed.png|A crater created by attempting to sleep in the End.
Ender Bed.png|A crater created by attempting to sleep in the End.
16 color beds.png|All the different color variants
16 color beds.png|All the different color variants
Old Village New Village VillagerSleeping MCEE.png|An unemployed [[Minecraft:villager]] and a [[Minecraft:butcher]] villager goes to sleep, unaware of the [[Minecraft:zombie]]s outside.
Old Village New Village VillagerSleeping MCEE.png|An unemployed [[Minecraft:villager]] and a butcher villager goes to sleep, unaware of the [[Minecraft:zombie]]s outside.
Stackedbeds.png|A stack of beds
Stackedbeds.png|A stack of beds
Mob wakeup.png|A player being awakened by a zombie
Mob wakeup.png|A player being awakened by a zombie
Day Sleeping.png|The message that can be seen when any players attempt to sleep during daytime.
Day Sleeping.png|The message that can be seen when any players attempt to sleep during daytime.
Sleeping.png|A player going to sleep in a bed on the first day of a ''[[Minecraft: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
NewBedrock Sleep Screen.png|The updated {{MC/BE}} sleep screen in Bed menu
</gallery>
</gallery>


=== ''Bedrock Edition'' and ''Minecraft Education'' ===
=== ''Bedrock Edition'' and ''Minecraft Education'' ===
<gallery>
<gallery>
Ore UI - Sleep Screen Menu (Bedrock).png|The sleep screen in Bed menu {{in|be}}
Ore UI - Sleep Screen Menu (Bedrock).png|The sleep screen in Bed menu {{MC/In|be}}
Ore UI - Sleep Screen Menu (Education).png|The sleep screen in Bed menu {{in|edu}}
Ore UI - Sleep Screen Menu (Education).png|The sleep screen in Bed menu {{MC/In|edu}}
</gallery>
</gallery>


Line 771: Line 771:
<gallery>
<gallery>
File:The Sham.jpg|The Sham, a villainous, sentient bed featured in the [[Minecraft:Campfire Tales Skin Pack]].
File:The Sham.jpg|The Sham, a villainous, sentient bed featured in the [[Minecraft:Campfire Tales Skin Pack]].
File:Rainbow Bed.png|The {{MCE|rainbow bed}}, a unique bed featured {{in|Earth}}.
File:Rainbow Bed.png|The {{MC/MCE|rainbow bed}}, a unique bed featured {{MC/In|Earth}}.
File:Efe Snores.png|[[Minecraft:Efe]] sleeping on a bed in ''[[Minecraft:A Tale of Two Friends]]''.
File:Efe Snores.png|[[Minecraft:Efe]] sleeping on a bed in ''A Tale of Two Friends''.
File: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|[[Minecraft:Makena]] resting on a purple bed with a [[Minecraft:wolf]], in ''[[Minecraft:A year in blocks]]''.
File:AYIB Restyled.jpeg|Makena resting on a purple bed with a [[Minecraft:wolf]], in ''A year in blocks''.
File:AYIB Zuri.jpeg|[[Minecraft:Zuri]] sleeping on a green bed on top of a [[Minecraft:blast furnace]] and [[Minecraft:chiseled tuff]], from the same video.
File:AYIB Zuri.jpeg|Zuri sleeping on a green bed on top of a blast furnace and chiseled tuff, from the same video.
File:Badland Bed.png|A cyan bed from [[Minecraft:LEGO Minecraft|LEGO]] ''The Badlands Mineshaft''
File:Badland Bed.png|A cyan bed from LEGO ''The Badlands Mineshaft''
File:An apartment with Minecraft furnishing.jpeg|An apartment with ''[[Minecraft:Minecraft]]'' furnishing
File:An apartment with Minecraft furnishing.jpeg|An apartment with ''Minecraft'' furnishing
File:Bed bomb duo costume.jpg|A duo dressed as a bed and [[Minecraft:Nether portal]]
File:Bed bomb duo costume.jpg|A duo dressed as a bed and Nether portal
File:White cat on a bed.jpeg|A cat on a bed
File:White cat on a bed.jpeg|A cat on a bed
File:AMCM bed.png|A purple bed depicted in {{AMCM}}  
File:AMCM bed.png|A purple bed depicted in {{MC/Amcm}}  
</gallery>
</gallery>


== See also ==
== See also ==
* [[Minecraft:Ore UI]], the {{BE}} and {{Edu}} UI refresh
* [[Minecraft:Ore UI]], the {{MC/BE}} and {{MC/Edu}} UI refresh


== References ==
== References ==
{{Reflist}}
{{MC/Reflist}}


== Navigation ==
== Navigation ==
{{Navbox dyed block}}
{{MC/Navbox dyed block}}
{{Navbox blocks|Utility}}
{{MC/Navbox blocks|Utility}}
{{Navbox combat|general}}
{{MC/Navbox combat|general}}


[[Category:Utility blocks]]
[[Category:Utility blocks]]
Line 802: Line 802:
[[Category:Double blocks]]
[[Category:Double blocks]]


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

Latest revision as of 19:02, 9 April 2026

Template:Hatnote Template:Infobox block A bed is a dyeable utility Minecraft:block that allows a player in the Minecraft:Overworld to sleep through the night and reset their spawn point to within a few blocks of the bed, as long as it is not broken or obstructed.

Obtaining

Breaking

No tool can accelerate the breaking process of bed.<ref>Template:Bug</ref> Script error: No such module "breaking row". Bed drops itself when it's destroyed.

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 Minecraft: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 taigaTemplate: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

Template:Crafting Template:Crafting Template:Crafting

Trading

Template:Trade sources

Usage

Sleeping

File:Sleep Animation.gif
Player falling asleep in Template:Editions
File:Ore UI - Sleep Screen Animation (Bedrock).gif
Player falling asleep in Template:Editions

Beds are used by pressing the {{#vardefine: control | right click on mouse or left trigger on gamepad }}use item button while looking at the bed.

A player sleeps by {{#vardefine: control | right click on mouse or left trigger on gamepad }}using a bed during a thunderstorm, or at night (between 12523 and 23477 ticks in clear weather, when stars appear in the sky, or between 12002 and 23998 ticks in rainy weather). Players can sleep during a thunderstorm even if they are in a biome where it does not rain (e.g. desert). Attempting to use a bed at any other time results in the message "You can sleep only at night or during thunderstorms" in Template:Editions or "You can only sleep at night and during thunderstorms" in Template:Editions. A player sleeps in a bed for 101 in-game Minecraft:ticks, or 5.05 seconds before the time skips to the next day. Sleeping in a bed with the

  1. REDIRECT Template:Command

Template:Redr 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 Minecraft:Overworld. Attempting to sleep in a bed in Minecraft:the Nether, Minecraft:the End, and custom dimensionsTemplate:Only in which they are disabled causes it to explode and set Minecraft:fire to surrounding blocks.<ref>Template:Bug This is referenced in Template:Editions when a player is killed by "Intentional Game Design".</ref> The explosion has power 5, which is stronger than Minecraft:TNT (4), but not as strong as a charged creeper or end crystal (6). The explosion centers on the head part of the bed. Minecraft:Villagers can sleep normally in any dimension without the bed being blown up.<ref name="villager">Template:Bug</ref> Upon death from a bed explosion, the message "(Player) was killed by Template:Bug" appears. in Template:Editions, bed explosions can be disabled by setting

  1. REDIRECT Template:Command

Template:Redr 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 Template:Editions or "Bed is too far away" in Template:Editions appears. To use a bed, a player must be within a distance of 3 blocks in Template:Editions or 2 blocks in Template:Editions from the bed.

If a Minecraft: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
  1. REDIRECT Template:Edition

Template:Rcat

  1. REDIRECT Template:Edition

Template:Rcat

  1. REDIRECT Template:EntityLink
  2. REDIRECT Template:EntityLink
  3. REDIRECT Template:EntityLink
  4. REDIRECT Template:EntityLink
  5. REDIRECT Template:EntityLink
  6. REDIRECT Template:EntityLink
  7. REDIRECT Template:EntityLink
  8. REDIRECT Template:EntityLink
  9. REDIRECT Template:EntityLink
  10. REDIRECT Template:EntityLink
  11. REDIRECT Template:EntityLink
  12. REDIRECT Template:EntityLink
  13. REDIRECT Template:EntityLink
  14. REDIRECT Template:EntityLink
  15. REDIRECT Template:EntityLink
  16. REDIRECT Template:EntityLink
  17. REDIRECT Template:EntityLink
  18. REDIRECT Template:EntityLink
  19. REDIRECT Template:EntityLink
  20. REDIRECT Template:EntityLink
  21. REDIRECT Template:EntityLink
  22. REDIRECT Template:EntityLink
  23. REDIRECT Template:EntityLink
  24. REDIRECT Template:EntityLink
  25. REDIRECT Template:EntityLink
  26. REDIRECT Template:EntityLink
  27. REDIRECT Template:EntityLink
  28. REDIRECT Template:EntityLink
  29. REDIRECT Template:EntityLink
  30. REDIRECT Template:EntityLink
  31. REDIRECT Template:EntityLink
  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:EntityLink
  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:EntityLink
  2. REDIRECT Template:EntityLink
  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:EntityLink
  2. REDIRECT Template:EntityLink
  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:EntityLink
  2. REDIRECT Template:EntityLink
  3. REDIRECT Template:EntityLink
  4. REDIRECT Template:EntityLink
  5. REDIRECT Template:EntityLink
  6. REDIRECT Template:EntityLink
  7. REDIRECT Template:EntityLink
  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:EntityLink
  2. REDIRECT Template:EntityLink
  1. REDIRECT Template:Table choice

Template:Redr

  1. REDIRECT Template:Table choice

Template:Redr

Template:Notelist

If the player has not entered a bed and didn't die for 3 in-game days, phantoms can spawn unless

  1. REDIRECT Template:Command

Template:Redr is set to

  1. REDIRECT Template:Code

Template:Redr. in Template:Editions, 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 {{#vardefine: control | right click on mouse or left trigger on gamepad }}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 Template:Editions, 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 Template:Btn button.

Waterlogged bedsTemplate: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.<ref>Template:Bug</ref>

in Template:Editions, beds displaying an error above the hotbar is a feature exclusive to beds. in Template:Editions, the bed sends the message in the chat; other blocks that cannot be used do not display such a message.<ref>Template:Bug</ref>

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 Template:Editions, 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.

To skip the night in multiplayer, all players in the Minecraft:Overworld must be in bed at the same time. Pressing the Template:Btn 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

  1. REDIRECT Template:Code

Template:Redr. Sleeping in a bed while

  1. REDIRECT Template:Code

Template:Redr is set to higher than 100 displays the message "No amount of rest can pass this night." and disables passing the night.

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.

in Template:Editions, on Peaceful difficulty only, sleeping in a bed fully restores the player's health.

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.

Template:Ctrl 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 Template:Editions or "Your home bed was missing or obstructed" in Template:Editions, and the player respawns at the Minecraft: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 results in the player taking 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 {{#vardefine: control | right click on mouse or left trigger on gamepad }}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 Template:Editions, beds require solid blocks below them when placed. However, the bed remains in place if its supporting blocks are later removed. They also cannot be placed on transparent blocks. in Template:Editions, beds do not require supporting blocks and can be placed anywhere, provided there is enough room.

Explosions

{{#vardefine:params|2 }}Template:Hatnote Because beds explode when a player attempts to sleep in Minecraft:the Nether or Minecraft:the End, they can be used as any other explosion, to demolish blocks or deal damage, with the advantage of being extremely cheap compared to Minecraft:TNT or end crystals, and being instantaneous. Explosions can be used, for example, to mine for ancient debris or to kill the ender dragon.

in Template:Editions, beds do not explode if

  1. REDIRECT Template:Code

Template:Redr is set to

  1. REDIRECT Template:Code

Template:Redr.

Piston interactivity

Beds are destroyed when a Minecraft:piston tries to push them. They are not pulled by sticky pistons.

Sounds

Generic

Template:Edition: Template:Sound table/Block/Wood/JE

Template:Edition: Template:Sound table/Block/Wood/BE

Unique

Template:!((Java EditionTemplate:))! Template:SoundTable

Template:!((Bedrock EditionTemplate:))!: Template:SoundTable

Data values

ID

Template:!((Java EditionTemplate:))!: Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table

Template:!((Bedrock EditionTemplate:))!: Template:ID table Template:ID table Template:ID table

Metadata

{{#vardefine:params|0 }}Template:Hatnote in Template:Editions, bed items use the following data values:

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

  1. redirect Template:Data value table

Template:Redr

Block states

{{#vardefine:params|0 }}Template:Hatnote

  1. REDIRECT Template:Edition

Template:Rcat: Template:Bst Template:Bst Template:Bst

  1. REDIRECT Template:Edition

Template:Rcat: Template:Bst Template:Bst Template:Bst

Block data

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

  1. REDIRECT Template:Edition

Template:Rcat: {{#vardefine:params|0 }}Template:Hatnote

<section begin="block data"/>

<section end="block data"/>

  1. REDIRECT Template:Edition

Template:Rcat:

See Minecraft:Bedrock Edition level format/Block entity format.

Achievements

Script error: No such module "Achievement".

Advancements

Script error: No such module "Advancement".

History

Template:Message box Template:Hatnote Template:Hatnote

Development

Template:HistoryTable

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

New Nintendo 3DS Edition

Template:HistoryTable

Minecraft Education

Template:HistoryTable

Issues

Script error: No such module "Issue list".

Trivia

  • The reason beds explode in the Nether and the End is because Notch found it was the easiest solution to dimension-unique respawning.<ref>Template:Tweet, in response to Template:Tweet</ref>
    • 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
  1. REDIRECT Template:Command

Template:Redr command while another player is sleeping still teleports the sleeping player, but the player wakes immediately.Template:Only

  • If the player places a bed on Minecraft:ice, running over the bed acts like running over ice, similar to slabs.
  • When placed using the
  1. REDIRECT Template:Command

Template:Redr 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 name="villager"/>
  • While the block state used to determine the half of a two-block block such as Minecraft:doors and double-tall Minecraft: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 Minecraft:Pocket Edition 1.1.0 version of the game, the default color was changed to white.
  • This is the only item to have a 3D inventory texture in Minecraft:Java Edition, but a 2D texture in Minecraft:Bedrock Edition.

Gallery

Screenshots

Bedrock Edition and Minecraft Education

Mojang images

In other media

See also

References

<references group="">

 </references>

Navigation

  1. REDIRECT Template:Navbox dyed material
Wood/Hypha
Stone-based
Template:EnvLink
Upcoming
Template:EnvLink
Template:EnvLink
Ore/Mineral
Decorative
Partial Blocks
Dyeable/Dyed
Lighting
Template:Els only
Sediment/Soil
Misc. rock
Ore/Mineral
Plant
Flower
Fungus & Related
Fauna & Related
Aquatic
Sculk
Fluid & Related
Non-physical
Interactable
Utilizable
Redstone/
Mechanical
Template:Els only
April Fools 2013
April Fools 2016
April Fools 2020
April Fools 2022
April Fools 2023
April Fools 2024
April Fools 2025
April Fools 2026

Template:Article otherTemplate:Article other

Mechanics
Items
Sword
Axe
Spear
Enchantments
Sword
Axe
Spear
Trident
Mace
Effects
Mechanics
Items
Helmet
Chestplate
Leggings
Boots
Horse armor
Nautilus armor
Enchantments
Helmet
Leggings
Boots
Mechanics
Items
Natural
Meat
Fish
Crafted
Effects
Mechanics
Removed
Items
Enchantments
Effects

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