Minecraft:Bed: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| 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 = {{ | | waterloggable = {{MC/JEBE|No|Yes}} | ||
| lavasusceptible = {{ | | 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 101: | Line 101: | ||
=== 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> | ||
{{ | {{MC/Breaking row|horizontal=1|Bed|sprite=all-beds|any}} | ||
Bed drops itself when it's destroyed. | Bed drops itself when it's destroyed. | ||
| Line 167: | Line 167: | ||
== Usage == | == Usage == | ||
=== Sleeping === | === Sleeping === | ||
[[File:Sleep Animation.gif|380px|thumb|Player falling asleep {{ | [[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 {{ | [[File:Ore UI - Sleep Screen Animation (Bedrock).gif|380px|thumb|Player falling asleep {{MC/In|be}}]] | ||
Beds are used by pressing the {{ | Beds are used by pressing the {{MC/Control|use item}} button while looking at the bed. | ||
A player sleeps by {{ | 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 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 {{ | 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" {{ | 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 | ||
|- | |- | ||
! {{ | ! {{MC/El|je}} | ||
! {{ | ! {{MC/El|be}} | ||
|- | |- | ||
|{{ | |{{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}} | ||
| {{ | | {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes}} | ||
|- | |- | ||
|{{ | |{{MC/Entitylink|Zombified Piglin}} | ||
|{{ | |{{MC/Tc|Partial|Yes, when hostile}} | ||
|{{Tc|Yes}} | |{{MC/Tc|Yes}} | ||
|- | |- | ||
|{{ | |{{MC/Entitylink|Magma Cube}}<br>{{MC/Entitylink|Slime}} | ||
|{{ | |{{MC/Tc|no}} | ||
|{{ | |{{MC/Tc|yes}} | ||
|- | |- | ||
|{{ | |{{MC/Entitylink|Piglin}}<br>{{MC/Entitylink|Piglin Brute}} | ||
|{{ | |{{MC/Tc|yes}} | ||
|{{ | |{{MC/Tc|no}} | ||
|- | |- | ||
|{{ | |{{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}} | ||
| {{ | | {{MC/Tc|No}} | ||
| {{ | | {{MC/Tc|No}} | ||
|- | |- | ||
|{{ | |{{MC/Entitylink|Giant}}<br>{{MC/Entitylink|Illusioner}} | ||
|{{Tc|Yes}} | |{{MC/Tc|Yes}} | ||
|{{ | |{{MC/Tc|N/A}} | ||
|} | |} | ||
{{notelist}} | {{notelist}} | ||
If the player has not entered a bed and didn't die for 3 in-game days, phantoms can spawn unless {{ | 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 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. | ||
| Line 220: | Line 220: | ||
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 {{ | 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. {{ | 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 230: | Line 230: | ||
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> | 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> | ||
{{ | {{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 time of day to sunrise and resets the weather cycle, changing the weather to clear conditions. {{ | 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 crops or 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 {{ | 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. | ||
{{ | {{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" {{ | 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 273: | Line 273: | ||
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 {{ | 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 283: | Line 283: | ||
=== 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. {{ | 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 === | ||
{{ | {{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 end crystals, and being instantaneous. Explosions can be used, for example, to mine for ancient debris or to kill the 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. | ||
{{ | {{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 === | ||
| Line 296: | Line 296: | ||
== Sounds == | == Sounds == | ||
=== Generic === | === Generic === | ||
{{Sound table/Block/Wood}} | {{MC/Sound table/Block/Wood}} | ||
=== Unique === | === Unique === | ||
{{ | {{MC/Edition|java}} | ||
{{SoundTable | {{SoundTable | ||
| type = java | | type = java | ||
| Line 318: | Line 318: | ||
}} | }} | ||
{{ | {{MC/Edition|bedrock}}: | ||
{{SoundTable | {{SoundTable | ||
| type = bedrock | | type = bedrock | ||
| Line 336: | Line 336: | ||
== Data values == | == Data values == | ||
=== ID === | === ID === | ||
{{ | {{MC/Edition|java}}: | ||
{{ID table | {{ID table | ||
|edition=java | |edition=java | ||
| Line 446: | Line 446: | ||
|foot=1}} | |foot=1}} | ||
{{ | {{MC/Edition|bedrock}}: | ||
{{ID table | {{ID table | ||
|edition=bedrock | |edition=bedrock | ||
| Line 478: | Line 478: | ||
=== Metadata === | === Metadata === | ||
{{ | {{MC/See also|Data values}} | ||
{{ | {{MC/In|be}}, bed items use the following data values: | ||
{{ | {{MC/Dvt|spritetype=item|sprite=white-bed|White Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=orange-bed|Orange Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=magenta-bed|Magenta Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=light-blue-bed|Light Blue Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=yellow-bed|Yellow Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=lime-bed|Lime Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=pink-bed|Pink Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=gray-bed|Gray Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=light-gray-bed|Light Gray Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=cyan-bed|Cyan Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=purple-bed|Purple Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=blue-bed|Blue Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=brown-bed|Brown Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=green-bed|Green Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=red-bed|Red Bed}} | ||
{{ | {{MC/Dvt|spritetype=item|sprite=black-bed|Black Bed}} | ||
{{ | {{MC/Dvt|spritetype=block|sprite=air|unused|foot=1}} | ||
=== Block states === | === Block states === | ||
{{ | {{MC/See also|Block states}} | ||
{{ | {{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}} | ||
{{ | {{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. | ||
{{ | {{MC/El|java}}: | ||
{{ | {{MC/See also|Block entity format}} | ||
<section begin="block data"/><div class="treeview"> | <section begin="block data"/><div class="treeview"> | ||
* {{ | * {{MC/Nbt|compound}} Block entity data | ||
** {{ | ** {{MC/Nbt inherit/blockentity}} | ||
</div><section end="block data"/> | </div><section end="block data"/> | ||
{{ | {{MC/El|bedrock}}: | ||
: See [[Minecraft:Bedrock Edition level format/Block entity format]]. | : See [[Minecraft:Bedrock Edition level format/Block entity format]]. | ||
== Achievements == | == Achievements == | ||
{{ | {{MC/Load achievements|Change of Sheets}} | ||
== Advancements == | == Advancements == | ||
{{ | {{MC/Load advancements|Sweet Dreams}} | ||
== History == | == History == | ||
{{ | {{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 | ||
| Line 548: | Line 548: | ||
=== ''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. | ||
| Line 555: | Line 555: | ||
|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 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>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 explode.}} | |Trying to sleep in a bed in the End now causes the bed to explode.}} | ||
|{{HistoryLine||1.2.4|dev=release|Cats 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 sounds when placed, and play logical sounds when stepped on and 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 igloos.}} | |{{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 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 586: | Line 586: | ||
|Beds have been made bouncy, though they do not completely reduce all 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 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.}} | ||
| Line 593: | Line 593: | ||
|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 phantoms 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 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 thunderstorms."}} | |{{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 plains villages. | |{{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 savanna villages and the new snowy tundra villages.}} | |{{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 desert and taiga villages.}} | |{{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 sell beds. | |Shepherd villagers now sell beds. | ||
|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 chat.}} | |{{MC/HistoryLine|||dev=pre2|Successfully changing a spawn point using a bed now displays a message in chat.}} | ||
|{{HistoryLine||1.16|dev=20w06a|Crimson planks and 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 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 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|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 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|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 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 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 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 health in normal difficulty, making [[Minecraft:food]] a more required 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 ocelots 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 nether reactor.}} | |Beds are no longer available from the nether reactor.}} | ||
|{{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||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 igloos.}} | |{{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 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. | ||
| Line 655: | Line 655: | ||
|Beds now bounce the 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 sounds 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 waterlogged and require 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 {{ | |{{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 phantoms 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|Cats can now sleep in empty beds or sit on their 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 villages. | |{{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 players from using it. | |[[Minecraft:Villager]]s can now sleep by occupying a bed, which prevent players from using it. | ||
|Igloos now generate with red beds. | |Igloos now generate with red beds. | ||
|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. | ||
|[[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 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|Players 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 sleeping to skip the 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|Camel husks, skeleton horses, zombie horses and 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|Cats in standing position now purposely go and sit on beds, preventing players 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 igloos.}} | |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 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 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 phantoms 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 waterlogged and require {{ | |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 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 villages. | |{{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 players 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. | ||
| Line 705: | Line 705: | ||
=== ''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. | ||
| Line 715: | Line 715: | ||
=== ''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 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 == | ||
| Line 732: | Line 732: | ||
** 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. | ** 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 {{ | * 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 {{ | * 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''. | ||
| Line 754: | Line 754: | ||
Sleeping.png|A player going to sleep in a bed on the first day of a ''Minecraft'' world. | Sleeping.png|A player going to sleep in a bed on the first day of a ''Minecraft'' world. | ||
CobwebVillage.png|A bed in an abandoned village has its bottom half replaced by wheat crops due to a glitch. | CobwebVillage.png|A bed in an abandoned village has its bottom half replaced by wheat crops due to a glitch. | ||
NewBedrock Sleep Screen.png|The updated {{BE}} sleep screen in Bed menu | 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 {{ | 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 {{ | 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 {{ | 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 ''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. | ||
| Line 780: | Line 780: | ||
File:Bed bomb duo costume.jpg|A duo dressed as a bed and 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 {{ | 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]] | ||
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
Usage
Sleeping
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
- 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
- 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.
If the player has not entered a bed and didn't die for 3 in-game days, phantoms can spawn unless
- REDIRECT Template:Command
Template:Redr is set to
- 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
- REDIRECT Template:Code
Template:Redr. Sleeping in a bed while
- 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
- REDIRECT Template:Code
Template:Redr is set to
- REDIRECT Template:Code
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:
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
- redirect Template:Data value table
Block states
{{#vardefine:params|0 }}Template:Hatnote
- REDIRECT Template:Edition
Template:Rcat: Template:Bst Template:Bst Template:Bst
- 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.
- REDIRECT Template:Edition
Template:Rcat: {{#vardefine:params|0 }}Template:Hatnote
<section begin="block data"/>
- Template:Nbt/sprite Block entity data
<section end="block data"/>
- REDIRECT Template:Edition
Achievements
Script error: No such module "Achievement".
Advancements
Script error: No such module "Advancement".
History
Template:Message box Template:Hatnote Template:Hatnote
Development
Java Edition
Bedrock Edition
Legacy Console Edition
New Nintendo 3DS Edition
Minecraft Education
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
- 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
- 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
-
A sleeping player in multiplayer
-
The message that can be seen after a failed attempt to respawn at the spawn point set by a bed.
-
A crater created by attempting to sleep in the Nether.
-
A crater created by attempting to sleep in the End.
-
All the different color variants
-
An unemployed Minecraft:villager and a butcher villager goes to sleep, unaware of the Minecraft:zombies outside.
-
A stack of beds
-
A player being awakened by a zombie
-
The message that can be seen when any players attempt to sleep during daytime.
-
A player going to sleep in a bed on the first day of a Minecraft world.
-
A bed in an abandoned village has its bottom half replaced by wheat crops due to a glitch.
-
The updated Bedrock Edition sleep screen in Bed menu
Bedrock Edition and Minecraft Education
-
The sleep screen in Bed menu in Template:Editions
-
The sleep screen in Bed menu in Template:Editions
Mojang images
-
"Moments before disaster"
In other media
-
The Sham, a villainous, sentient bed featured in the Minecraft:Campfire Tales Skin Pack.
-
The rainbow bed, a unique bed featured in Template:Editions.
-
Minecraft:Efe sleeping on a bed in A Tale of Two Friends.
-
Efe gets off bed, from the same short film.
-
Makena resting on a purple bed with a Minecraft:wolf, in A year in blocks.
-
Zuri sleeping on a green bed on top of a blast furnace and chiseled tuff, from the same video.
-
A cyan bed from LEGO The Badlands Mineshaft
-
An apartment with Minecraft furnishing
-
A duo dressed as a bed and Nether portal
-
A cat on a bed
-
A purple bed depicted in
- REDIRECT Template:AMCM
See also
- Minecraft:Ore UI, the Bedrock Edition and Minecraft Education UI refresh
References
<references group="">
</references>
- REDIRECT Template:Navbox dyed material
Template:Article otherTemplate:Article other
| |||||||||||||||
| |||||||||||||||
| |||||||||||||||
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:床