Bed: Difference between revisions

929 bytes added ,  5 April
no edit summary
m (→‎In other media: Fixed link.)
No edit summary
(23 intermediate revisions by 9 users not shown)
Line 96:
* [[Village#Snowy|Snowy tundra village]] houses have blue, red, or white beds.
; Trial chambers
Beds can generate inside the [[trial chambers]] as any color inside various intersectionintersections. Each bed havehas theirits colorscolor randomized.
 
{{Block distribution}}
Line 161:
== Usage ==
=== Sleeping ===
[[File:Sleep Animation.gif|380px|thumb|Player falling asleep {{in|je}}.]]
 
[[File:Ore UI - Sleep Screen Animation (Bedrock).gif|380px|thumb|Player falling asleep {{in|be}}.]]
 
Beds are used by pressing the {{control|use item}} button while looking at the bed.
Line 167 ⟶ 169:
A player sleeps by {{control|using|using}} a bed during a [[thunderstorm]], or at [[night]] (between 12542 and 23459 ticks in clear weather, when stars appear in the sky, or between 12010 and 23991 ticks in rainy weather). Players can sleep during a thunderstorm even if they are in a biome where it does not rain (i.e. desert). Attempting to use a bed at any other time results in the message "You can sleep only at night or during thunderstorms" {{in|Java}} or "You can only sleep at night and during thunderstorms" {{in|Bedrock}}. A player sleeps in a bed for 101 in-game [[tick]]s, or 5.05 seconds before the time skips to the next day. Sleeping in a bed with the {{cmd|gamerule doDaylightCycle}} set to <code>false</code> results in the player being kicked out of the bed after the 101 ticks, but does not change time of the world to day.
 
Sleeping in a bed is possible only in the [[Overworld]]. Attempting to sleep in a bed in [[the Nether]], [[the End]], and [[custom dimension]]s in which they are disabled causes it to [[explode]] and set [[fire]] to surrounding blocks.<ref>{{bug|mcpe-28723||Exploding bed in the Nether!?|WAI}} This is referenced {{in|Java}} when a player is killed by "Intentional Game Design".</ref> The explosion has power 5, which is stronger than [[TNT]] (4), but not as strong as a charged [[creeper]] or [[end crystal]] (6). The explosion centers on the head part of the bed. [[Villager]]s can sleep normally in any dimension without the bed being blown up.<ref name="villager">{{bug|MC-146515||Villagers can sleep in all dimensions|WAI}}</ref> Upon death from a bed explosion, the [[Death messages|message]] "'''(Player) was killed by <span class="minetip" title=MCPE-28723>{{bug|MCPE-28723|[Intentional Game Design]}}</span>'''" appears. {{IN|Bedrock}}, bed explosions can be disabled by setting {{cmd|gamerule respawnBlocksExplode}} to <code>false</code>; this still prevents beds to be used in invalid dimensions.
 
The player must be close to the bed to sleep. If the player is close enough to interact with the bed, but not close enough to sleep in it, the message "You may not rest now, the bed is too far away" {{in|Java}} or "Bed is too far away" {{in|Bedrock}} appears. To use a bed, a player must be within a distance of 3 blocks {{in|Java}} or 2 blocks {{in|Bedrock}} from the bed.
Line 184 ⟶ 186:
|-
|{{EntityLink|Breeze}}
|{{Tc|yes}}
|-
|{{EntityLink|Creaking}}
|{{Tc|yes}}
|-
Line 561 ⟶ 566:
== Advancements ==
{{load advancements|Sweet Dreams}}
 
== Video ==
{{yt|2VLd3hKi_uQ}}
 
== History ==
''For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{See technical block}}
{{info needed section|Beds restoring health: did it ever happen in Java Edition,? and when didwas it start happeningremoved in BedrockPocket Edition, and was it ever removed?}}
{{HistoryTable
|{{HistoryLine||September 16, 2010|link={{tweet|notch|24691652815}}|[[Notch]] was considering adding beds as a block to reset spawn points, making up "some interesting economics" with this.}}
Line 593 ⟶ 595:
|{{HistoryLine|||dev=14w33a|Beds now make [[sound]]s when placed, and play logical sounds when stepped on and [[Breaking|broken]].<ref>{{bug|MC-66347||Beds make incorrect sounds|Fixed}}</ref>}}
|{{HistoryLine||1.9|dev=15w43a|Bed now generates inside [[igloo]]s.}}
|{{HistoryLine|||dev=16w06a|The player's body, hand and held item are now rendered while sleeping in bed.}}
|{{HistoryLine||1.11|dev=16w32a|The messages "You can only sleep at night", "You may not rest now, there are monsters nearby", and "This bed is occupied" now appear on top of the hotbar, the place that the message "Press <whatever your sneak key is> to dismount" also appears when the player is riding a [[mob]].}}
|{{HistoryLine|||dev=16w33a|If the player is close enough to click on the bed, but not close enough to sleep in it, the message "You may not rest now, the bed is too far away" is now displayed.}}
Line 622 ⟶ 625:
|{{HistoryLine|||dev=19w08a|All mobs can now sleep in beds using [[commands]].}}
|{{HistoryLine|||dev=19w11a|[[Villager]]s now claim beds and sleep in them during the night.
|Shepherd villagers now [[Trading|sell]] beds.}}
|[[Third-person view]] now works properly while sleeping in a bed.}}
|{{HistoryLine||1.15|dev=19w35a|If a player tries to sleep in a bed that is occupied by a villager, that villager is now kicked out of the bed.}}
|{{HistoryLine|||dev=19w36a|Trying to sleep in a bed during the daytime now sets the player's spawn location to that bed.}}
Line 637 ⟶ 641:
|{{HistoryLine||1.19.4|exp=Update 1.20|dev=23w07a|[[Planks#Cherry|Cherry planks]] can now be used to craft beds.}}
|{{HistoryLine||1.20|dev=Pre-release 1|Beds of any color can now be dyed into any other color.}}
|{{HistoryLine||1.20.3|exp=Update 1.21|dev=23w45a|Beds now generate in [[trial chambers]].}}
|{{HistoryLine||1.21.2|dev=24w33a|Beds in trial chambers intersections now have randomized colors.}}
 
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||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]].|[[File:Leave Bed 0.5.0.png|45px]] Added a ''Leave Bed'' button that lets the player exit the bed.|Beds now restore [[health]] when slept in.}}
|{{HistoryLine||v0.7.0|[[File:Leave Bed 0.7.0.png|45px]] The texture of ''Leave Bed'' button has been changed.}}
|{{HistoryLine||v0.9.0|dev=build 1|Beds no longer restore [[health]] in normal difficulty, making [[food]] a more required [[Survival]]-needed resource.
|Added smooth lighting to beds.}}
|[[File:Leave Bed 0.9.0.png|32px]] The ''Leave Bed'' button is now smaller.}}
|{{HistoryLine||v0.11.0|dev=build 8|The lighting on beds has been improved.}}
|{{HistoryLine||v0.12.1|dev=build 1|Tamed [[ocelot]]s while standing now purposely go and sit on beds.
Line 648 ⟶ 657:
|{{HistoryLine|pocket}}
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Beds are now generated in [[igloo]]s.}}
|{{HistoryLine|||dev=alpha 0.17.0.2|[[File:Leave Bed 1.0.jpg|36px]] The texture of ''Leave Bed'' button now has abeen newchanged textureagain.}}
|{{HistoryLine|||dev=alpha 1.0.0.0|Sleeping now ends [[weather]].}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|[[File:White Bed JE2 BE2.png|32px]] [[File:Light Gray Bed JE2 BE2.png|32px]] [[File:Gray Bed JE2 BE2.png|32px]] [[File:Black Bed JE2 BE2.png|32px]] [[File:Brown Bed JE2 BE2.png|32px]] [[File:Orange Bed JE2 BE2.png|32px]] [[File:Yellow Bed JE2 BE2.png|32px]] [[File:Lime Bed JE2 BE2.png|32px]] [[File:Green Bed JE2 BE2.png|32px]] [[File:Cyan Bed JE2 BE2.png|32px]] [[File:Light Blue Bed JE2 BE2.png|32px]] [[File:Blue Bed JE2 BE2.png|32px]] [[File:Purple Bed JE2 BE2.png|32px]] [[File:Magenta Bed JE2 BE2.png|32px]] [[File:Pink Bed JE2 BE2.png|32px]]<br>[[File:White Bed (item) BE1.png|32px]] [[File:Light Gray Bed (item) BE1.png|32px]] [[File:Gray Bed (item) BE1.png|32px]] [[File:Black Bed (item) BE1.png|32px]] [[File:Brown Bed (item) BE1.png|32px]] [[File:Orange Bed (item) BE1.png|32px]] [[File:Yellow Bed (item) BE1.png|32px]] [[File:Lime Bed (item) BE1.png|32px]] [[File:Green Bed (item) BE1.png|32px]] [[File:Cyan Bed (item) BE1.png|32px]] [[File:Light Blue Bed (item) BE1.png|32px]] [[File:Blue Bed (item) BE1.png|32px]] [[File:Purple Bed (item) BE1.png|32px]] [[File:Magenta Bed (item) BE1.png|32px]] [[File:Pink Bed (item) BE1.png|32px]] Added the other 15 colors of beds.
Line 668 ⟶ 677:
|[[File:White Bed JE3 BE3.png|32px]] [[File:Light Gray Bed JE3 BE3.png|32px]] [[File:Gray Bed JE3 BE3.png|32px]] [[File:Black Bed JE3 BE3.png|32px]] [[File:Brown Bed JE3 BE3.png|32px]] [[File:Red Bed JE4 BE3.png|32px]] [[File:Orange Bed JE3 BE3.png|32px]] [[File:Yellow Bed JE3 BE3.png|32px]] [[File:Lime Bed JE3 BE3.png|32px]] [[File:Green Bed JE3 BE3.png|32px]] [[File:Cyan Bed JE3 BE3.png|32px]] [[File:Light Blue Bed JE3 BE3.png|32px]] [[File:Blue Bed JE3 BE3.png|32px]] [[File:Purple Bed JE3 BE3.png|32px]] [[File:Magenta Bed JE3 BE3.png|32px]] [[File:Pink Bed JE3 BE3.png|32px]] The textures of all beds have been changed.}}
|{{HistoryLine||1.11.0|dev=beta 1.11.0.4|Beds can now be [[Trading|bought]] from shepherd [[villager]]s.}}
|{{HistoryLine||1.13.0|dev=?beta 1.13.0.1|[[Player]]s now succeed in attempting to sleep on villager-occupied beds, kicking the villager off.}}
|{{HistoryLine|bedrock upcoming}}
|{{HistoryLine||1.21.60|dev=Preview 1.21.60.21|Changed wording for lowest number required for player [[sleeping]] to skip the [[night]].}}
|{{HistoryLine|console}}
Line 722 ⟶ 730:
* If the player places a bed on [[ice]], running over the bed acts like running over ice, similar to slabs.
* When placed using the {{cmd|setblock}} command, only one half of a bed is placed, because beds are two blocks long. A single half can be slept in like a whole bed.
* Villagers can sleep in the Nether and the End without causing the bed to explode.<ref>{{bug|MC-146515}} Resolved as Works As Intended<name="villager"/ref>
* While the block state used to determine the half of a two-block block such as [[door]]s and double-tall [[flower]]s is called ''half'', in the case of beds this is called ''part''.
* The red bed was the original default bed color. In [[Java Edition 1.12]] and [[Pocket Edition 1.1.0]] version of the game, the default color was changed to white.
Line 740 ⟶ 748:
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.
NewBedrockSleepScreenNewBedrock Sleep Screen.png|The updated {{BE}} sleep screen in Bed menu.
</gallery>
 
Line 750 ⟶ 758:
=== In other media ===
<gallery>
File:The Sham.jpg|The Sham, a villainous, sentient bed featured in the [[Campfire Tales Skin Pack]].
File:Rainbow Bed.png|The [[Minecraft Earth:Rainbow Bed|rainbow bed]], a unique bed featured {{in|Earth}}.
File:Efe Snores.png|[[Efe]] sleeping on a bed in [[Mojang cinematics#A Tale of Two Friends|''A Tale of Two Friends'']].
File:Efe wakes up.png|Efe gets off bed, from the same short film.
File:AYIB Restyled.jpeg|[[Makena]] resting on a purple bed with a [[wolf]], in [[A year in blocks|''A year in blocks'']].
File:Badland Bed.png|A cyan bed from [[LEGO Minecraft|LEGO]] ''The Badlands Mineshaft''.
File:An apartment with Minecraft furnishing.jpeg|An apartment with ''[[Minecraft]]'' furnishing.
</gallery>
 
== VideoSee also ==
* [[Ore UI]], the {{el|bedrock}} UI refresh
 
== References ==