How to place bed in Minecraft ipad

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

Obtaining[]

Natural generation[]

Igloo

A red bed naturally generates in each igloo.

Village

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

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

Breaking[]

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

Block Bed Hardness Breaking time (secs) Default
0.2
0.3

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

Crafting[]

Trading[]

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

Usage[]

Sleeping[]

Player falling asleep.

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

A player sleeps by using a bed during a thunderstorm, 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 and during thunderstorms"‌[JE only] or "You can only sleep at night".‌[BE only] A player sleeps in a bed for 101 in-game ticks, or 5.05 seconds before the time skips to the next day. Sleeping in a bed with the /gamerule doDaylightCycle set to false results in the player being kicked out of the bed after the 101 ticks, but does not change time of the world to day.

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

The player must be close to the bed to sleep. If the player is close enough to click on the bed, but not close enough to sleep in it, the message "You may not rest now, the bed is too far away"‌[JE only]/"The bed is too far away"‌[BE only] appears. A player must be within 2 blocks of the bed in Java Edition or 3 blocks in Bedrock Edition to use the bed.

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

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

A hostile mob can wake a player that is sleeping.

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

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

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

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

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

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

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

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

If there are two or more blocks of space above the bed, then the player can wake up on the bed. If there is less than two blocks above the bed and there is room on the side, then the player wakes up on the side of the bed. If there is no space on the side of the bed and there is less than two blocks above the bed, then the player still wakes up on top of the bed, but suffocates if it's a solid block.

Villagers always wake up on top of the bed, meaning they can suffocate if there isn't enough room above the bed.

Passing the night[]

Sleeping changes the time of day to sunrise and resets the weather cycle, changing the weather to clear conditions. In Java Edition, the weather cycle is only reset if it is currently raining or snowing. The player wakes up next to the bed, facing the bed.

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

To skip the night in multiplayer, all players in the Overworld must be in bed at the same time. Pressing the Leave Bed button is not necessary in this case. The percentage of players that need to sleep to skip the night can be customized with the game rule playersSleepingPercentage‌[JE only].

Villagers are unable to skip the night by sleeping in beds, unlike players.

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

Setting the spawn point[]

Once a player has entered a bed (or right clicked the bed during daytime), their spawn point is set to the location of that bed. In Java Edition, multiple players can set their spawn point on a single bed. In Bedrock Edition, the last player to use a specific bed is the only player who can respawn there, and players who had previously slept there respawn at the world spawn.

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

When a bed explodes, it does not set the spawn point.

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

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

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

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

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

Bouncing[]

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

Baby villagers bounce on beds during the day.

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

A player can bounce on a bed while another player or villager is sleeping on it without waking the player or the villager up.

Villagers can be pushed onto beds, as the bed is half a block tall.

Curing[]

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

Placement[]

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

Sounds[]

Generic[]

Java Edition:

Bedrock Edition:

Unique[]

Java Edition:

Data values[]

ID[]

Java Edition:

NameIdentifierFormBlock tagsItem tagsTranslation key
White Bedwhite_bedBlock & Itembedsbedsblock.minecraft.white_bed
Orange Bedorange_bedBlock & Itembedsbedsblock.minecraft.orange_bed
Magenta Bedmagenta_bedBlock & Itembedsbedsblock.minecraft.magenta_bed
Light Blue Bedlight_blue_bedBlock & Itembedsbedsblock.minecraft.light_blue_bed
Yellow Bedyellow_bedBlock & Itembedsbedsblock.minecraft.yellow_bed
Lime Bedlime_bedBlock & Itembedsbedsblock.minecraft.lime_bed
Pink Bedpink_bedBlock & Itembedsbedsblock.minecraft.pink_bed
Gray Bedgray_bedBlock & Itembedsbedsblock.minecraft.gray_bed
Light Gray Bedlight_gray_bedBlock & Itembedsbedsblock.minecraft.light_gray_bed
Cyan Bedcyan_bedBlock & Itembedsbedsblock.minecraft.cyan_bed
Purple Bedpurple_bedBlock & Itembedsbedsblock.minecraft.purple_bed
Blue Bedblue_bedBlock & Itembedsbedsblock.minecraft.blue_bed
Brown Bedbrown_bedBlock & Itembedsbedsblock.minecraft.brown_bed
Green Bedgreen_bedBlock & Itembedsbedsblock.minecraft.green_bed
Red Bedred_bedBlock & Itembedsbedsblock.minecraft.red_bed
Black Bedblack_bedBlock & Itembedsbedsblock.minecraft.black_bed
NameIdentifier
Block entitybed

Bedrock Edition:

BedIdentifierNumeric ID FormItem ID[i 1]Translation key
Blockbed26Block & Ungiveable Item[i 2]item.bedtile.bed.name
Itembed418Itemitem.bed.black.name
item.bed.red.name
item.bed.green.name
item.bed.brown.name
item.bed.blue.name
item.bed.cyan.name
item.bed.silver.name
item.bed.gray.name
item.bed.pink.name
item.bed.lime.name
item.bed.yellow.name
item.bed.lightBlue.name
item.bed.magenta.name
item.bed.orange.name
item.bed.white.name

  1. ID of block's direct item form, which is used in savegame files and addons.
  2. Unavailable with /give command

NameSavegame ID
Block entityBed

[]

In Bedrock Edition, bed items use the following data values:

DV Description
0 White Bed
1 Orange Bed
2 Magenta Bed
3 Light Blue Bed
4 Yellow Bed
5 Lime Bed
6 Pink Bed
7 Gray Bed
8 Light Gray Bed
9 Cyan Bed
10 Purple Bed
11 Blue Bed
12 Brown Bed
13 Green Bed
14 Red Bed
15 Black Bed

Block states[]

Java Edition:

Name Default value Allowed values Description facingoccupiedpart
northeast
north
south
west
The direction the head of the bed is pointing.
The same direction the player faces when placing the bed.
falsefalse
true
True when a player or villager is using the bed.
footfoot
head
The half of the bed in the current block.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits Description directionhead_piece_bitoccupied_bit
0x1
0x2
00
1
2
3
0
1
2
3
The direction the head of the bed is pointing.
  • 0:Head facing South
  • 1:Head facing West
  • 2:Head facing North
  • 3:Head facing East
0x8truefalse
true
0
1
If the current block is the head part.
0x4falsefalse
true
0
1
True when a player or villager is using the bed.

Block data[]

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

Java Edition:

See also: Block entity format

  • Block entity data
    • Tags common to all block entities

Bedrock Edition:

See Bedrock Edition level format/Block entity format.

Advancements[]

Icon Advancement In-game description Parent Actual requirements (if different) Resource location
Sweet Dreams
Sleep in a bed to change your respawn point AdventureLie down in a bed. The advancement is granted as soon as the player is in the bed, even if the player does not successfully sleep.adventure/sleep_in_bed

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

Java Edition BetaNovember 26, 20111.31.41.4_011.6Test Build 31.7Java Edition1.0.0Beta 1.9 Prerelease 4Beta 1.9 Prerelease 5Beta 1.9 Prerelease 61.2.4release1.5?1.7.21.7.11.814w29a14w33a1.915w43a1.1116w32a16w33a1.1217w06aMarch 13, 201717w15a17w17a1.1317w47a18w07a18w20a18w22apre21.1418w43a18w44a18w47a18w48a18w49a18w50a19w08a19w11a1.1519w35a19w36apre21.1620w06a20w12a1.16.220w30a1.1720w51a1.1821w44a1.1922w11aPocket Edition Alphav0.4.0v0.5.0v0.9.0build 1v0.11.0build 8v0.12.1build 1v0.16.0build 1Pocket Edition1.0.0alpha 0.17.0.1alpha 0.17.0.2alpha 1.0.0.01.1.0alpha 1.1.0.0Bedrock Edition1.4.0beta 1.2.14.2beta 1.2.20.11.6.0beta 1.6.0.11.8.0beta 1.8.0.81.10.0beta 1.10.0.31.11.0beta 1.11.0.41.13.0?1.16.0?Legacy Console EditionTU1CU1 1.00 Patch 11.0.1TU12TU43CU33 1.36 Patch 13TU54CU44 1.52 Patch 241.0.4TU60CU51 1.64 Patch 301.0.11TU69 1.76 Patch 38 1.83 1.91 New Nintendo 3DS Edition0.1.01.9.19Education Edition1.01.0.11.0.271.12
Originally, crying obsidian was intended to act as a block to reset spawn points, until beds were introduced.
Added beds.
The only color for beds is red.
Sleeping in an area potentially exposed to monsters can cause players to wake up early, with a skeleton or zombie spawned next to them.
Trying to sleep in a bed in the Nether does nothing.
Sleeping in a bed now resets the player's spawn position, though it does not work for most users. Apparently, at the moment, the spawn point unintentionally changes only if Leave Bed is clicked and the function is limited to multiplayer.
Beds now act as a respawn point as intended.
Trying to sleep in a bed in the Nether now causes the bed to explode.
As blocks now pull textures from the expected places for model application, this has resulted in the bed texture shifting downward in terrain.png. No visual difference has resulted for the actual bed.
Bed explosions in the Nether now light nearby blocks on fire.
The bottom textures of beds have been changed to the texture of the new oak planks from
to
.
Beds no longer spawn monsters. Instead, trying to sleep when monsters are around displays a message saying You may not rest now, there are monsters nearby.
Cats while in standing position now purposely go and sit on beds.
Spruce planks, birch planks, and jungle planks can now be used to craft beds.
Beds now check their biome for detonation rather than just their dimension.
Acacia planks and dark oak planks can now be used to craft beds.
Beds now display the cracking animation on top and bottom.
Beds now make sounds when placed, and play logical sounds when stepped on and broken.[5]
Bed now generates inside igloos.
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.
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.
Neutral zombie pigmen no longer prevent the player from sleeping in a bed.
Jeb mentions colored beds for 1.12.
Dyed beds have been added.
The "Bed" has been renamed to "Red Bed".
The texture of red beds has been changed. The top of the beds are no longer mirrored.
Beds now appear 3D in the inventory.
Beds now have 3D legs.[6]
Beds have been made bouncy, though they do not completely reduce all fall damage.
Beds are now a block entity.
The four legs of a bed are now each textured separately, and their model is different.

The textures of beds have now also been changed.
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.
Sleeping in a bed is now important to keep phantoms from spawning.
Players in creative mode can now sleep even if monsters are nearby.
Beds no longer require supporting blocks below them; they do not break into an item if said blocks are removed, and can be directly placed on top of non-solid blocks.
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."

The textures of all beds have been changed.
The bottom textures of beds have been changed to new oak planks texture.
Cats can now sleep in empty beds or sit on their owner when their owner is sleeping.
The bottom textures of beds have been changed to the new oak planks to texture, once again.
Beds now generate in the updated plains villages.
Beds now generate in the updated savanna villages and the new snowy tundra villages.
Beds now generate in the updated desert and taiga villages.
All mobs can now sleep in beds using commands.
Villagers now claim beds and sleep in them during the night.
Shepherd villagers now sell beds.
If a player tries to sleep in a bed that is occupied by a villager, that villager is now kicked out of the bed.
Trying to sleep in a bed during the daytime now sets the player's spawn location to that bed.
Successfully changing a spawn point using a bed now displays a message in chat.
Crimson planks and warped planks can now be used to craft beds.
The message "Your home bed was missing or obstructed" has been changed to "You have no home bed or respawn anchor, or it was obstructed" due to the addition of the respawn anchor, used to set the player's spawn in the Nether.
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.
Added gamerules for sleeping in multiplayer.
Sleeping now only resets the weather cycle if it is currently raining or snowing.[7]
Mangrove planks can now be used to craft beds.
Added beds.
Beds can now be obtained after activating the nether reactor.
Beds no longer restore health in normal difficulty, making food a more required survival-needed resource.
Added smooth lighting to beds.
The lighting on beds has been improved.
Tamed ocelots while standing now purposely go and sit on beds.
Beds are no longer available from the nether reactor.
Beds now make a sound when placed, identical to blocks like stone.[8]
Beds are now generated in igloos.
The Leave Bed button now has a new texture.
Sleeping now ends weather.

Added the other 15 colors of beds.
The "Bed" has been renamed to "Red Bed".
The texture of red beds has been changed.
A new animation when sleeping has been added to beds.
Beds in igloos are now white in ice plains and brown in cold taigas.
Beds now bounce the player two blocks up, and have 3D legs.
Placement, stepping and breaking sounds for beds are now correctly wooden.[8]
Beds can now be waterlogged and require Water Breathing to sleep in.
Colored beds can now be turned into white beds by adding bleach. This works only if Education Edition features are turned on.
Sleeping in a bed is now important to keep phantoms from spawning.
Cats can now sleep in empty beds or sit on their owner when their owner is sleeping.
Various beds now generate in the new villages.
Villagers can now sleep by occupying a bed, which prevent players from using it.
Igloos now generate with red beds.
Beds are now used to count the number of available houses in villages.
The textures of all beds have been changed.
Beds can now be bought from shepherd villagers.
Players now succeed in attempting to sleep on villager-occupied beds, kicking the villager off.
The ID has been changed to “(color)_bed”.
Added beds.
Cats in standing position now purposely go and sit on beds, preventing players from using them.
The sleeping animation while in beds has been changed.

Added the other 15 colors of beds.
The "Bed" has been now renamed to "Red Bed".
The texture of red beds has been changed.
Beds are now dyeable and bounce the player two blocks up, and have a single 3D legs.
The sleeping animation in beds has been changed again.
Sleeping in a bed is now important to keep phantoms from spawning.
Beds can now be waterlogged and require Water Breathing to sleep in.
The sleeping animation for beds has been reverted to how it was before 1.64.
Various beds now generate in the new villages.
Villagers can now sleep by occupying a bed, which prevents players from using it.
Beds are now used to count the number of available houses in villages.
Beds can now be bought from shepherd villagers.
Added beds.

Added the other 15 colors of beds.
The "Bed" has been renamed to "Red Bed".
The texture of red beds has been changed.
Beds now bounce the player two blocks up and have 3D legs.
Added beds.

Added the other 15 colors of beds.
The "Bed" has been renamed to "Red Bed".
The texture of red beds has been changed.
Beds now bounce the player two blocks up, and have 3D legs.
Colored beds can now be turned into white beds by adding bleach.
The textures of all beds have been changed.

Data history[]

Java Edition1.1317w47a
The different block states for the bed ID have been split up into their own IDs.
Prior to The Flattening, this block's numeral ID was 26, and the item's 355.

Bed "item"[]

The following content is transcluded from Technical blocks/Bed.

This section is missing information about Test placement sound, placed metadata and replacement capabilities. 

Please expand the section to include this information. Further details may exist on the talk page.

Java Edition Beta1.31.6Test Build 3releaseJava Edition1.2.5pre1.3.112w16a1.7.213w37aPocket Edition Alpha??Unknown?
Beds have an extra item form corresponding to its block ID, which can be obtained via inventory editors with numeric item ID 26. It is not intended to be obtained in conventional gameplay.
Picking block changes the currently selected slot to any containing this otherwise-unobtainable bed item, but does not allow it to be obtained if not already in the hotbar.
Bed items can be obtained from the newly added debug chests, mainly from the 26th slot of the 1st chest from the left, and the 10th slot of the 5th chest from the left.
Debug chests no longer spawn, preventing bed items from being obtained this way.
Pick Block now returns the actually obtainable bed item.
Bed items can be obtained in singleplayer worlds via the /give command using the respective numeric ID.
The direct item form of the bed block has been removed from the game. It no longer exists as an item in any way, only as a placed block.
Beds existed as an unobtainable item.
The bed item placed the bottom half of the bed.[9]
The bed item places an invisible block with a huge hitbox.[10]

Appearances[]

Names[]

Java Edition Bedrock Edition

Issues[]

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

Trivia[]

  • The reason beds explode in the Nether and the End is because Notch found it was the easiest solution to dimension-unique respawning.[12]
    • Dimension-unique respawning was eventually implemented via the respawn anchor, and gained command support at the same time. Despite this, beds and respawn anchors still explode in invalid dimensions.
  • If the player quits the game while sleeping, upon return the player wakes up beside the bed.
  • Using the /teleport command while another player is sleeping still teleports the sleeping player, but the player wakes immediately.‌[Java Edition only]
  • If the player places a bed on ice, running over the bed acts like running over ice, similar to slabs.
  • When placed using the /setblock command, only one half of a bed is placed, because beds are two blocks long. A single half can be slept in like a whole bed.
  • Villagers can sleep in the Nether and the End without causing the bed to explode.[13]
  • While the block state used to determine the half of a two-block block such as doors and double-tall flowers is called half, in the case of beds this is called part.
  • Players and villagers do not drown or take damage from lava while in a bed, even if the bed is covered in lava.
  • The red bed was the original default bed color. In Java Edition 1.12 and Pocket Edition 1.1.0 version of the game, the default color was changed to white.

Gallery[]

  • 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 villager and a butcher villager goes to sleep, unaware of the zombies outside.

  • 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.

References[]

Items 

Postingan terbaru

LIHAT SEMUA