Minecraft Wiki
No edit summary
Tag: 2017 source edit
m (Revert edits by 132.147.80.34 (talk) superfluous information)
Tag: Rollback
(5 intermediate revisions by 2 users not shown)
Line 448: Line 448:
 
***** {{nbt|compound}} An auxiliary target.
 
***** {{nbt|compound}} An auxiliary target.
 
****** {{nbt|string|name}}: The auxiliary target's name that is passed into the "Program" JSON.
 
****** {{nbt|string|name}}: The auxiliary target's name that is passed into the "Program" JSON.
****** {{nbt|string|id}}: The auxiliary target's id. Either points into the name of a buffer that is defined in <code>targets</code> or into the location of a texture under <code>assets/<namespace>/textures/effect</code> (use a [[resource location]] to reference it). You can append <code>:depth</code> after the name of the buffer to access it's depth buffer. For example, to access the depth buffer of <code>minecraft:main</code>, use <code>minecraft:main:depth</code>.
+
****** {{nbt|string|id}}: The auxiliary target's id. Either points into the name of a buffer that is defined in <code>targets</code> or into the location of a texture under <code>assets/<namespace>/textures/effect</code> (use a [[resource location]] to reference it). Append <code>:depth</code> after the name of the buffer to access its depth buffer. For example, to access the depth buffer of <code>minecraft:main</code>, use <code>minecraft:main:depth</code>.
 
****** {{nbt|int|width}}: Required if <code>id</code> references a texture. Describes the width of the texture in pixels.
 
****** {{nbt|int|width}}: Required if <code>id</code> references a texture. Describes the width of the texture in pixels.
 
****** {{nbt|int|height}}: Required if <code>id</code> references a texture. Describes the height of the texture in pixels.
 
****** {{nbt|int|height}}: Required if <code>id</code> references a texture. Describes the height of the texture in pixels.
Line 459: Line 459:
   
 
=== Tutorials and useful docs ===
 
=== Tutorials and useful docs ===
Here are some guides with additional information on creating your own shaders:
+
Here are some guides with additional information on creating shaders:
   
 
* [https://docs.google.com/document/d/15TOAOVLgSNEoHGzpNlkez5cryH3hFF3awXL5Py81EMk/edit?usp=sharing Minecraft Vanilla Shaders Guide]
 
* [https://docs.google.com/document/d/15TOAOVLgSNEoHGzpNlkez5cryH3hFF3awXL5Py81EMk/edit?usp=sharing Minecraft Vanilla Shaders Guide]

Revision as of 13:56, 17 November 2021

Gear (item)
This article is a work in progress. 
Please help in the expansion or creation of this article by expanding or improving it. The talk page may contain suggestions.
This article is about the in-game shaders. For the shaders provided by the modification, see ftb:Optifine.

Shaders are used to depict how to render the game.

Java Edition

There are two kinds of shaders: core shaders and post-processing shaders.

Core shaders are used to render different parts of the game.

Post-processing shaders are used for mob view in spectator mode, blending of translucent layers in Fabulous! graphics, and glowing status effect.

Shaders are written in OpenGL Shading Language (GLSL). Each single render program come in two parts, vertex and fragment. The vertex shaders modify the positions of individual vertices and are most often used to create waving foliage and water. Fragment shaders are applied to every pixel and can be used to add effects like bloom, god rays, and blur.

Shaders are stored in the assets/minecraft/shaders/ directory of minecraft.jar. Can be replaced with a resource pack. Note that if any error occurs when loading the shaders, the resource pack will be disabled and fabulous graphics mode will be turned off.

Core shaders

Core shaders are responsible for rendering parts of the game. They are used to render not only blocks and entities when playing the game, but also the main screen, option screen and so on.

Each core shader is a single render program defined by a JSON file, in which vertex and fragment shader file are specified.

Core shaders are stored in the assets/minecraft/shaders/core directory of minecraft.jar.

The following table lists them all including a short description of what the shader renders, as well as, an image highlighting the shaders target in red.

Include shaders

Include shaders aren't stand-alone shader programs. They should be invoked by other shader files.

Include shaders contain helper functions that are commonly used. To import a glsl file in a shader use #moj_import <FILENAME.glsl> or #moj_import "FILENAME.glsl". NOTE: The imported file needs to end with an empty line, otherwise the shader will not load.

Include shaders are stored in the assets/minecraft/shaders/include directory of minecraft.jar.

Name Description
fog Contains the linear_fog function to calculate the color based on the vertex distance.
light Contains the minecraft_mix_light function.
matrix Contains the mat2_rotate_z function that returns the rotation matrix for a vec2 around the z-axis.
projection Contains the projection_from_position function.

Post-processing shaders

Currently, post-processing shaders is used for mob view in spectator mode, blending of translucent layers in Fabulous! graphics, and glowing status effect.

Post-processing shaders use "post" files to define a pipeline made up of applying a sequence of "programs".

Each "program" is then defined by another JSON file, in which a single render program is defined.

"post" files are stored in the assets/minecraft/shaders/post directory of the version .jar, while "program" files are stored in assets/minecraft/shaders/program.

There are only 5 post-processing shaders used in the game:

  • creeper.json: Used when spectating a creeper
  • invert.json: Used when spectating an enderman
  • spider.json: Used when spectating a spider
  • entity_outline.json: Used when a glowing entity is on screen
  • transparency.json: Used when in "Fabulous!" graphics mode.

In these two directories, there are also many useless shaders, which were used for "Super Secret Settings" before 1.9 (15w31a). See Shaders/Before 1.9.

Render process

Jigsaw Block (top texture) JE2 BE2
This section needs expansion. 
You can help by expanding it.

File format

Render program

  • The root tag
    •   blend: Settings for OpenGL blending.
      •   func: Operator to be used when blending. Can be add, subtract, reversesubtract, reverse_subtract, min, or max. Not case sensitive. Defaults to add. Used as mode parameter of glBlendEquation
      •   srcrgb: Used as sfactor parameter of glBlendFunc or srcRGB parameter of glBlendFuncSeparate. Can be 0, 1, srccolor, 1-srccolor, dstcolor, 1-dstcolor, srcalpha, 1-srcalpha, dstalpha, or1-dstalpha. Case insensitive. Ignores "_". "1", "0", "-" can be replaced by "one", "zero", "minus".
      •   dstrgb: Used as dfactor parameter of glBlendFunc or dstRGB parameter of glBlendFuncSeparate. Can be 0, 1, srccolor, 1-srccolor, dstcolor, 1-dstcolor, srcalpha, 1-srcalpha, dstalpha, or1-dstalpha. Case insensitive. Ignores "_". "1", "0", "-" can be replaced by "one", "zero", "minus".
      •   srcalpha: Used as srcalpha parameter of glBlendFuncSeparate. Can be 0, 1, srccolor, 1-srccolor, dstcolor, 1-dstcolor, srcalpha, 1-srcalpha, dstalpha, or1-dstalpha. Case insensitive. Ignores "_". "1", "0", "-" can be replaced by "one", "zero", "minus".
      •   dstalpha: Used as dstalpha parameter of glBlendFuncSeparate. Can be 0, 1, srccolor, 1-srccolor, dstcolor, 1-dstcolor, srcalpha, 1-srcalpha, dstalpha, or1-dstalpha. Case insensitive. Ignores "_". "1", "0", "-" can be replaced by "one", "zero", "minus".
    •   cull: If true, run glEnable(GL_CULL_FACE). If false, run glDisable(GL_CULL_FACE). Defaults to true.
    •   vertex: The name (without file extension) of the vertex shader to be used.
    •   fragment: The name (without file extension) of the fragment shader to be used.
    •   attributes: Attributes to be used by the vertex shader.
      • : An attribute. Available values are hard-coded.
    •   samplers: A list of samplers that may be used in the shaders.
    •   uniforms: A list of uniforms that can be used in the shaders.
      • : A uniform.
        •   name: The name of the uniform as referenced in the GLSL code. Some names give a uniform special behavior(Note that these following special uniform does not work in all shader programs):
          • (float) Time: A value from 0 to 1, representing time in seconds. Resets every second. Only valid in post-processing shaders.
          • (vec2) InSize: The width and height of the input buffer in pixels. Only valid in post-processing shaders.
          • (vec2) OutSize: The width and height of the output buffer in pixels. Only valid in post-processing shaders.
          • (vec2) AuxSize<i>: The width and height of the auxiliary buffer in pixels. <i> should be replaced by the order of the auxtarget in the render pass. Only valid in post-processing shaders.
          • (matrix4x4) ModelViewMat: The model-view matrix. Only valid in core shaders.
          • (matrix4x4) ProjMat: The projection matrix.
          • (matrix4x4) TextureMat: 4D matrix used to transform UV's for item glint effects. Only valid in core shaders.
          • (vec2) ScreenSize: vec2 containing the current framebuffer width and height, in that order.
          • (vec4) ColorModulator: A global vec4 of multipliers that can be set from the game code as a color multiplier. Only valid in core shaders.
          • (vec3) Light0_Direction: First light direction as vec3 for entity rendering. Only valid in core shaders.
          • (vec3) Light1_Direction: Second light direction, see Light0_Direction. Only valid in core shaders.
          • (float) FogStart: Fog start distance from the camera. Only valid in core shaders.
          • (float) FogEnd: Fog end distance from the camera. Only valid in core shaders.
          • (vec4) FogColor: vec4 fog color. Only valid in core shaders.
          • (float) LineWidth: Line width, used for rendering wireframe lines such as the block selection frame and debug hitboxes. Only valid in core shaders.
          • (float) GameTime: Global time of the world, in fractional days. Only valid in core shaders.
          • (vec3) ChunkOffset: When rendering a chunk section, the offset from the camera world position to the chunk section's base point. Only valid in core shaders.
        •   type: The type of the uniform. Can be one of int, float, matrix4x4, matrix3x3 and matrix2x2. int can also be interpreted as ivec2, ivec3 or ivec4 depending on how many values are actually included in values. float can also be interpreted as vec2, vec3 or vec4 depending on how many values are actually included in values.
        •   count: The number of values included in values.
        •   values: The value of the uniform, given as a list of floats. The length of the list should be the same as count.

Render pipeline

Here's the process of how a post-processing shader is used in game: first, the shader initializes all of the render targets specified in the "targets" list with the proper width and height. After that, the shader goes through each render pass specified in the "passes" list from first in the list to last in the list. Each pass will apply the program shader on the render target specified by "intarget" (with any extra data provided by other auxiliary render targets) and output the end result on the render target specified by "outtarget".

  • The root tag
    •  targets: A list of render targets. They can be buffer provided by the game, or new buffer with any name.
      • : The name of a render target. The size defaults to screen resolution. Post-processing shader transparency must contain render targets named translucentitemEntityparticlesweather and clouds. Post-processing shader entity_outline must contain render target named final.
      • : A render target to add.
        •  name: The name of the render target to add.
        •  width: The width of the render target.
        •  height: The height of the render target.
    •  passes: A list of passes.
      • : A render pass.
        •  name: The name of a program shader to apply on the input and post into the output. Use "blit" to copy the data from intarget to outtarget.
        •  intarget: The name of a render target to use as an input. Use minecraft:main to specify the main screen.
        •  outtarget: The name of a render target to output to. It should not be the same as intarget. Use minecraft:main to specify the main screen.
        •  auxtargets: A list of auxiliary targets.
          • An auxiliary target.
            •  name: The auxiliary target's name that is passed into the "Program" JSON.
            •  id: The auxiliary target's id. Either points into the name of a buffer that is defined in targets or into the location of a texture under assets/<namespace>/textures/effect (use a resource location to reference it). Append :depth after the name of the buffer to access its depth buffer. For example, to access the depth buffer of minecraft:main, use minecraft:main:depth.
            •  width: Required if id references a texture. Describes the width of the texture in pixels.
            •  height: Required if id references a texture. Describes the height of the texture in pixels.
            •  bilinear: Required if id references a texture. Determines whether the scaling algorithm used for the image is bilinear or nearest neighbour.
        •  uniforms: A list of overrides that change the values in the uniforms list in the "Program" JSON.
          • : A uniform.
            •  name: The name of the field that should be changed.
            •  values: The values that the field should be changed to.

Tutorials and useful docs

Here are some guides with additional information on creating shaders:

Bedrock Edition

Jigsaw Block (top texture) JE2 BE2
This section needs expansion. 
You can help by expanding it.

Since Bedrock Edition 1.16.200, third party shader resource packs are no longer supported on Windows 10 or Console versions, although they still work on mobile devices.

History

Java Edition
1.7.2Tropical fish also have assigned names that can be seen after capture. In Java Edition, the smaller text under the item name is displayed showing the fish name, similar to the text that displays enchantments under enchanted items. In Bedrock Edition, the item name is displayed showing "Bucket of <fish name>". Their colors are mostly named according to the colored block names, though with a few exceptions:
  • White
  • Silver
  • Gray
  • Black
  • Brown
  • Red
  • Orange
  • Yellow
  • Lime
  • Green
  • Teal
  • Sky
  • Blue
  • Plum
  • Magenta
  • Rose

The base color comes first, and if the pattern color is different, it comes after that. Lastly, the fish bucket is given a name according to the shape and pattern of the fish:

Flopper Glitter Betty
Stripey Blockfish Clayfish
Tropical Fish Patterns
Kob Snooper Brinely
SunStreak Dasher Spotty

Some tropical fish don't follow the normal naming system, and instead, reference real-life fish species. Apart from these names, these types of fish aren't different from regular tropical fish in terms of design or behavior.

These varieties are:

Name Type
Anemone Orange-Gray Stripey
Black Tang Gray Flopper
Blue Dory ‌[Bedrock Edition only] Gray-Sky SunStreak
Blue Tang ‌[Java Edition only] Gray-Blue Flopper
Butterfly Fish ‌[Bedrock Edition only]/Butterflyfish ‌[Java Edition only] White-Gray Clayfish
Cichlid Blue-Gray SunStreak
Clownfish Orange-White Kob
Cotton Candy Betta Rose-Sky Spotty
Dottyback Plum-Yellow Blockfish
Emperor Red Snapper White-Red Clayfish
Goatfish White-Yellow Spotty
Moorish Idol White-Gray Glitter
Ornate Butterfly ‌[Bedrock Edition only]/Ornate Butterflyfish ‌[Java Edition only] White-Orange Clayfish
Parrotfish Teal-Rose Dasher
Queen Angel Fish ‌[Bedrock Edition only]/Queen Angelfish ‌[Java Edition only] Lime-Sky Brinely
Red Cichlid Red-White Betty
Red Lipped Blenny Gray-Red Snooper
Red Snapper Red-White Blockfish
Threadfin White-Yellow Flopper
Tomato Clown ‌[Bedrock Edition only] Red-White SunStreak
Tomato Clownfish ‌[Java Edition only] Red-White Kob
Triggerfish Gray-White SunStreak
Yellowtail Parrot ‌[Bedrock Edition only]/Yellowtail Parrotfish ‌[Java Edition only] Teal-Yellow Dasher
Yellow Tang Yellow Flopper
13w38aShaders were added for Super Secret Settings.
1.8
{{Extension DPL}}<ul><li>[[Green Dye|Green Dye]]<br/>{{redirect|Cactus Green|the plant|Cactus}}{{Item
| title = Green Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Green dye''' is a [[primary color dye]].

== Obtaining ==

=== Chest loot ===
{{LootChestItem|green-dye}}

=== Smelting ===
{{Smelting
|head=1
|showdescription=1
|Cactus
|Green Dye
|1
|description={{only|Java}}<ref>{{bug|MC-210211||Smelting cactus gives too much experience since 1.13}}</ref>
}}
{{Smelting
|head=0
|showdescription=1
|Cactus
|Green Dye
|0,2
|description={{only|Bedrock}}
|foot=1
}}

=== Trading ===

[[Wandering trader]]s sell 3 green dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Green Dye}}

=== Trading ===
Expert level shepherd villagers have {{frac|1|6}} chance to buy 12 green dye for an emerald.{{only|bedrock}} Expert level shepherds have a {{frac|2|7}} chance to buy 12 green dye for 1 emerald.{{only|java}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Green Dye
|spritetype=item
|nameid=green_dye
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Green Dye
|spritetype=item
|nameid=green_dye
|aliasid=dye / 2
|id=397
|form=item
|translationkey=item.dye.green.name
|foot=1}}

== Video ==
<div style="text-align:center">{{yt|O4KVTPI4qIc}}</div>

== History ==

{{History|java beta}}
{{History||1.2|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green, together with all other dyes.}}
{{History|java}}
{{History||1.3.1|snap=1.3|[[File:Green Dye JE2 BE2.png|32px]] The texture of cactus green has been changed.}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Cactus green can be crafted with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be [[crafting|crafted]].}}
{{History||1.7.2|snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Cactus green can now be used to craft green [[concrete powder]].}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|"Cactus Green" has been renamed to "Green Dye".
|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}
{{History|||snap=18w44a|Green dye can now change the text color on [[sign]]s to green.}}
{{History|||snap=18w50a|Green dye can now be found in [[chest]]s in [[desert]] [[village]] houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells green dye.}}
{{History|||snap=19w11a|Green dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Green dye can now be used to craft [[green candle]]s.}}
{{History|||snap=21w19a|Green dye can no longer be used to craft green candles.}}
{{History|||snap=Pre-release 1|Green dye can once again be used to craft green candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Green dye can now change the text color on [[hanging sign]]s to green.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green. It is currently unobtainable and has no usage.}}
{{History||v0.3.2|Cactus green is now obtainable by [[smelting]] cacti in a [[furnace]]. It still has no usage.}}
{{History||v0.4.0|Cactus green can now be used to craft [[cyan dye]], [[lime dye]], and [[green wool]].}}
{{History||v0.8.0|snap=build 1|[[File:Green Dye JE2 BE2.png|32px]] The texture of cactus green has been changed.}}
{{History||v0.14.0|snap=build 1|Cactus green can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cactus green can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cactus green can now be used to dye [[bed]]s, [[shulker box]]es, and craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cactus green can now be used to craft [[stained glass]], patterns on [[banner]]s, and [[firework star]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Cactus green can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|"Cactus Green" has been renamed to "Green Dye".}}
{{History||1.10.0|snap=beta 1.10.0.3|Green dye is now sold by [[wandering trader]]s.
|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Green dye can now be found in [[desert]] [[village]] house [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Green dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of green dye has been changed from <code>dye/2</code> to <code>green_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green.}}
{{History|PS4}}
{{History||1.83|"Cactus Green" has been renamed to "Green Dye".}}
{{History||1.90|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

[[cs:Kaktusová zeleň]]
[[de:Grüner Farbstoff]]
[[es:Tinte verde]]
[[fr:Teinture verte]]
[[hu:Kaktuszzöld]]
[[ja:緑色の染料]]
[[ko:초록색 염료]]
[[nl:Cactusgroen]]
[[pl:Zielony barwnik]]
[[pt:Corante verde]]
[[ru:Зелёный краситель]]

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li><li>[[Map|Map]]<br/>{{about|the craftable map|maps showing the locations of certain structures|Explorer Map|other uses|Map (disambiguation)}}
{{distinguish|World}}
{{Item
| image = Map Zoom 4.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''map''' is an [[item]] used to view explored [[Chunk|terrain]] and mark landmarks.

==Obtaining==
===Crafting===
{{crafting
|head=1
|showname=0
|showdescription=1
|A1= Paper
|B1= Paper
|C1= Paper
|A2= Paper
|B2= Compass
|C2= Paper
|A3= Paper
|B3= Paper
|C3= Paper
|Output= Empty Map
|type= Miscellaneous
|description=This variation is called an "empty locator map" {{in|bedrock}}, or an "empty map" {{in|java}}.

When the player first creates a map, it is blank. It needs to be activated by holding it and pressing ''{{Control|use item}}''. after which it records terrain and location markers as the player travels within (or close to) the area it maps.
}}
{{crafting
|A1= Paper
|B1= Paper
|C1= Paper
|A2= Paper
|B2= Paper
|C2= Paper
|A3= Paper
|B3= Paper
|C3= Paper
|Output= Empty Map
|type= Miscellaneous
|description={{only|bedrock}}

This variation is called an "empty map". It does not show location markers. It is intended for cloning and zooming locator maps without having to consume an additional [[compass]] (thereby saving [[iron ingot]]s and [[redstone dust]]), but it can also be {{Control|use|text=activated}} and later converted to a locator map by combining it with a compass on an [[anvil]], [[crafting table]], or [[cartography table]].
|foot=1
}}

=== Natural generation ===
==== Chest loot ====
{{LootChestItem|empty-map,map 
}}

=== Cartography table ===
A map can also be created using a single paper on a [[cartography table]] to create an empty map, or a paper with a compass for an empty locator map.{{only|bedrock}}

=== Starting map ===
{{exclusive|bedrock|section=1}}
When creating a new world {{in|bedrock}}, the player can enable the "Starting Map" option to spawn with an empty locator map in the hotbar. The map's zoom scale is 1:8. The map is updated only while the player holds it.

=== Trading ===
Novice-level cartographer [[Villager|villagers]] sell a single empty map for 7 [[Emerald|emeralds]] as their trades.

{{IN|java}}, cartographer villagers may give players with the [[Hero of the Village]] effect an empty map.

== Usage ==
{{See also|Tutorials/Mapping}}

=== Mapping ===

Crafting a map creates an empty map. The map is drawn for the first time when it is held and used (with ''{{control|use item}}''). This map can then be adjusted to different zoom levels. After conversion to a drawn map item, it starts to draw a top-down view of the player's surroundings, with North pointing to the top of the map. A pointed oval pointer indicates the player's position on the map, and moves in real-time as the player moves across the terrain shown on the map. The map does ''not'' center on the player when created, rather, the world is broken up into large invisible grid squares, and the map displays the area of whichever grid square it is in when it is first used. For example, if a player uses a new map in a certain grid square, and then moves a distance away and uses another fresh map but is still within the same grid square, both maps appear identical. To make a map that is not identical to the first one, the player would have to move outside of the edges of the first map (because then they would be in a new grid square). This way, no two maps of the same size can ever partially overlap and every map can display only a fixed area.

To record the world on a map, that specific map must be held in the player's hands while the player moves around the world. The world is recorded as-is during exploration, meaning that if the world is modified, a player must revisit the area while holding the map to update the map's view. Maps can also be [[Map#Cloning|cloned]]. If a player holds a map whose one or more clones are on display in item frames, updates are made on all clone-connected maps. 

Other players are displayed on the map only if they have a map in their inventory cloned from the one being looked at. When placing a map into an [[item frame]], the map displays with a green pointer shown at the location of the item frame. This is to help the player see where they are in relation to the area that the map is showing. If the player leaves a map in an item frame and views a clone of it, the green pointer remains in the spot of the framed copy. This can be used to set up waypoints. Unexplored areas are transparent, making the item frame visible.

When the player leaves the area shown on a specific map, the player pointer transforms into a white dot that moves on that map. The marker shrinks to a smaller white dot if the player is far from the map's center: the area is 320 by 320 blocks per scale factor. The dot moves along the edge of the map to show the relative location of the player. However {{in|bedrock}}, the pointer remains as an arrow but shrinks until the player is near the area shown on the map.

While maps in [[the Nether]] work, they show only the red-and-gray pattern, regardless of the blocks placed. The only useful function is finding where the player is in relation to placed framed maps, which show as green pointers.  Additionally, the player pointer rapidly spins and is not a good indicator of direction. Placing a [[banner]] in [[the Nether]] still shows it on the map as usual.  Having a smaller map image while riding a [[strider]] in the Nether can help one to see one's footing while traveling over [[lava]].

{{IN|java}}, when using a map from another dimension, the map shows the player's position and direction when they were last in the dimension of the map. {{IN|bedrock}}, however, the player can use maps from one dimension while in another dimension. For locator maps, the place marker changes color depending on the dimension that the player is currently in (white for the Overworld, red for [[the Nether]], and magenta for [[the End]]). An Overworld map in the Nether shows the player's corresponding location and direction in the Overworld.<ref name=multiverse>{{ytl|EpP1diZdEdI}}</ref> Similarly, a Nether Map in the Overworld shows the player's corresponding location in the Overworld, but the place marker spins, just like a Nether map in the Nether. An Overworld map in the End shows the world spawn.<ref name=multiverse/> A Nether map cannot be used in the End — the map appears, but the place marker is not shown anywhere — and similarly, an End map cannot be used in the Overworld or the Nether.

A player can make a large piece of pixel art (128×128) facing upward, center a map on it, and place that map in an [[item frame]] to create a custom picture. Locking is recommended. See [[Map item format#Map Pixel Art]] for details on the techniques.

Maps display as a mini-map when held in the off-hand, or if the off-hand slot is occupied; the map is full-sized only when held in the dominant hand with both hands free.

A map always positions itself facing towards North when placed horizontally within an item frame regardless of how the map is placed.

=== Map content ===
{{Main|Map item format}}

Maps consist of square pixels arranged like pixels in a 128×128 square pattern, with each pixel representing a square portion of land. {{IN|java}}, the [[Map item format#Color table|color of a map pixel]] generally matches the color of the most common [[opaque]] block in the corresponding area, as seen from the sky. 'Minority blocks' in the target area have no effect on the color of the pixel, thus small features tend to be undetectable on zoomed-out maps.

{{IN|bedrock}}, the [[Map item format#Color table|color of a map pixel]] instead matches the single top-most opaque block in a grid sized by the map magnification pixel size (see the table in the "Player marker and pointer" section below). For example, a 3/4 magnification map has a pixel size of 8x8 blocks; this means the map will read only the top-most opaque blocks at the 0,0 coordinate, the 8,0 coordinate, the 0,8 coordinate, etcetera, ignoring all other blocks in the area. This means that {{in|bedrock}}, map pixel art requires only one block per pixel regardless of map magnification.

{{IN|bedrock}}, grass, foliage and water colors that are biome-dependent are represented accurately on a map.

{| class="wikitable"
|-
! style="width: 300px;" | {{el|je}}
! style="width: 300px;" | {{el|be}}
|-
| style="text-align: center;" | [[File:Map Zoom 4.png|alt=All banners marked on a map, alongside a named banner.|216px]]
| style="text-align: center;" | [[File:Map item BE.png|216px]]
|-
| Biome colors on ''Java Edition''.
| Biome colors on ''Bedrock Edition''.
|-
|}

Maps also show ground up to about 15 blocks below the surface of the water in oceans as slightly lighter blue, to show where the ground rises. This is not true with land above water. Higher elevations in the world mean lighter colors on the map. The map records the surface even as the player moves below the surface.

A standard map represents 128x128 blocks (1 block per pixel, 8x8 [[chunks]]) but maps can be zoomed-out to represent up to 2048x2048 blocks (16 square blocks per pixel, 128x128 [[chunks]]).

Some relevant distances: 64 blocks (4 chunks) is the update radius from a player in the Overworld and the End. However, it is half this (32 blocks) in the Nether. Also, 1024 blocks is the minimum Overworld distance from a [[nether portal]], at which players can build another portal and expect to reach a new location in the Nether. This is the distance across a 1:8 map, and also from a 1:16 map's center to its edge.

=== Player marker and pointer ===
{{IN|java}}, every map contains a marker that marks the position of the player, and points in the same direction as the player. When a player moves out of a map, a big white dot appears and moves relative to the player's position. The pointer either disappears when the player moves away a certain distance from the border of the map or, in case of [[explorer map]]s, the big white dot changes to a smaller white dot. The distance required for the small white dot to appear(explorer maps) or for the big dot to vanish (normal maps) changes with the scaling of the map.
* '''Level 0/4 :''' 128×128 blocks (each map pixel represents 1 block)
* '''Level 1/4 :''' 256×256 blocks (2×2 blocks per map pixel)
* '''Level 2/4 :''' 512×512 blocks (4×4 blocks per map pixel)
* '''Level 3/4 :''' 1024×1024 blocks (8×8 blocks per map pixel)
* '''Level 4/4 :'''  2048×2048 blocks  (16×16 blocks per map pixel)
{{IN|bedrock}}, a map can be crafted with or without this marker, and a map without a position marker can add one later by adding a compass to the map.  When a map is crafted without a compass, it's simply called an "empty map", but when crafted with a compass, it's called an "empty locator map". The marker also turns red if the player enters the Nether with an Overworld map and shows the player's Overworld location relative to the Nether location. A map created in the End has a purple marker showing the player's location. If an Overworld map is used in the End, a magenta dot appears on the player's spawn point.{{/BE|position}}
{{crafting
|name=Map<br>(with marker)
|ingredients=[[Map]] or Empty Map +<br>[[Compass]]
|showdescription=1
|Map (no markers);Empty Map 
|Compass
|Output= Locator Map;Empty Locator Map
|type= Miscellaneous
|description={{el|be}} only.
Maps crafted from only paper do not show the location marker; to add it, a compass must be added to the map.
|foot=1
}}

{{IN|bedrock}}, a cartography table can also be used to add a pointer to create a locator map or empty locator map. This can be done by adding a compass to paper, or to an empty map or map.

=== Zooming out ===
[[File:Cartography table UI zoom.png|thumb|300px|{{IN|java}}, cartography table's UI, showing the map is being zoomed out.]]

A [[cartography table]] can also be used to zoom out, taking only one piece of paper per zoom level.

A blank map can not be zoomed out. A map has to have something already marked on it for the zooming to be possible.

{{Crafting
  |A1= Paper |B1= Paper |C1= Paper
  |A2= Paper |B2= Map;Locator Map   |C2= Paper
  |A3= Paper |B3= Paper |C3= Paper
  |Output= Map;Locator Map
  |showdescription=1
  |description=Locator Map {{el|be}} only.
}}
{{/BE|zoom}}

==== Zoom details ====
The zooming function starts from when the map is created (zoom level 0) up to its fourth zoom step (zoom level 4).

{| class="wikitable" style="text-align: center" data-description="Zoom levels"
! colspan="2" | 
! Zoom step 0  
! Zoom step 1  
! Zoom step 2  
! Zoom step 3  
! Zoom step 4
|-
! colspan="2" |
| [[File:Map Zoom 0.png|116px|Zoom step 0, 1:1]]
| [[File:Map Zoom 1.png|116px|Zoom step 1, 1:2]]
| [[File:Map Zoom 2.png|116px|Zoom step 2, 1:4]]
| [[File:Map Zoom 3.png|116px|Zoom step 3, 1:8]]
| [[File:Map Zoom 4.png|116px|Zoom step 4, 1:16]]
|-
! colspan="2" | Zoom level
| 0/4
| 1/4
| 2/4
| 3/4
| 4/4
|-
! colspan="2" | 1 map pixel represents
| 1 block
| 2×2 blocks
| 4×4 blocks
| 8×8 blocks
| 16×16 blocks<br>(1×1 chunk)
|-
! colspan="2" | Scaling ratio
| 1:1
| 1:2
| 1:4
| 1:8
| 1:16
|-
! rowspan="2" colspan="2" | Map covers an area of
| 128×128 blocks
| 256×256 blocks
| 512×512 blocks
| 1024×1024 blocks
| 2048×2048 blocks
|-
| 8×8 chunks
| 16×16 chunks
| 32×32 chunks
| 64×64 chunks
| 128×128 chunks
|-
! colspan="2" | Smallest discernible features
| Blocks
| Trees, Paths
| Lakes, Buildings
| Mountains, Rivers
| Biomes, Mountain Ranges
|-
! colspan="2" | Use cases
| Pixel art, Base plans
| Base surroundings
| Structure mapping
| Landscape mapping
| Biome mapping
|-
! rowspan="2" | Total paper needed to zoom out from Level 0
! in anvil{{only|bedrock|short=1}} or crafting table
| -
| {{ItemSprite|Paper}} 8
| {{ItemSprite|Paper}} 16
| {{ItemSprite|Paper}} 24
| {{ItemSprite|Paper}} 32
|-
! in cartography table
| -
| {{ItemSprite|Paper}} 1
| {{ItemSprite|Paper}} 2
| {{ItemSprite|Paper}} 3
| {{ItemSprite|Paper}} 4
|}

Maps are always aligned to a grid at all zoom levels. That means zooming out any different map in a specific area covered by that map always has the same center. As such, maps are aligned by map width (1024 blocks for a level 3 maps) minus 64. A level 3 map generated at spawn covers X and Z coordinates from -64 to 959. All maps generated in this area zoom out to the same coordinates, guaranteeing that they are always 'aligned' on a map wall. For a zoomed-out map to cover a new area, it must start with a base (level 0) map that is in that area.

At zoom level 0, a map created on the point (0,0) has (0,0) at the center of the map. At higher zoom levels of the same map, the coordinate (0,0) is in the top left square of the map.

{{IN|java}}, zoom level can be seen on a map by turning on Advanced Tooltips (a [[Debug screen#More debug keys|debug screen]] option that can be toggled by using the key combination {{key|F3+H}}). The tooltip of the map then shows the zoom level, scaling factors, and map ID.

=== Cloning ===
[[File:Cartography table UI clone.png|thumb|300px|{{IN|Java}}, cartography table's UI, showing the map is being cloned.]]

A mix of empty maps and empty locator maps may be used. Whether the cloned maps show position markers is dependent only on the input map.

A [[cartography table]] can also be used to clone a map.

The parts of the world that have already been explored and mapped are copied, and newly explored areas appear on both instances. If one of the maps is later zoomed out, then the maps lose their connection to each other and function as completely separate maps that have to be individually filled by exploring.

In Creative mode, a map in an item frame may be cloned by using {{control|pick block}} on it, as long as that map is not also in the player's inventory.

It doesn't matter if the map to be cloned is at a higher zoom level (made of more paper) than the blank map. Upon copying the map, both resulting maps have the same magnification as the starting map.

{{/BE|clone}}

=== Crafting ingredient ===

{{crafting usage|Map, Empty Map}}

=== Marking points ===
{{IN|java}} the player has the ability to mark spots on a map. To do this, {{control|use}} a map on a placed-down [[banner]], and the spot of the banner gets marked on the map. The mark takes the color of whatever the base color is for the banner, and if the banner has a name, the mark shows that name. Banner marks on a map are always oriented with their top facing north, regardless of the banner's actual orientation. If the banner is destroyed, the mark of the banner remains at first, but if the player gets closer to where the banner previously was, it disappears as the area is updated on the map.

If a map is mounted on an item frame and is within the area it depicts, the mounted map displays its current location with a green indicator rotated to match its orientation.

[[File:Map Marker Bedrock on Item frame.png|thumb|181x181px|{{IN|bedrock}} this is what a map lying on an item frame looks like, while showing markers.]]
{{IN|bedrock}} the player can place copies of locator maps in [[item frame]]s in order to create a land mark. The marker is a green dot that resembles the shape of the player's marker, but in green color. The position the marker points at depends on the direction the item frame is facing. It is worth noting that the markers work only on copies of the same map. Other maps of the same area do not show the existing markers that the player(s) had placed.

If a player has a cloned map in their inventory, their pointer appears white when viewed on the same map held by another player. Hence, if all players have the same cloned map in their inventory, all markers would appear white when the clone map is viewed. 

{| class="wikitable"
|-
! style="width: 300px;" | {{el|je}}
! style="width: 300px;" | {{el|be}}
|-
| style="text-align: center;" | [[File:Banner marked map.png|alt=All banners marked on a map, alongside a named banner.|216px]]
| style="text-align: center;" | [[File:Tracking map with markers bedrock.png|216px]]
|-
| How every banner appears {{IN|java}} on a map, including named banners.
| {{IN|bedrock}} this is how a locator map shows map markers while held by a player.
|-
|}

===Locking===
[[File:Cartography table UI lock.png|thumb|300px|{{IN|Java}}, cartography table's UI, showing the map is being locked.]]

Maps can be locked when using a [[glass pane]] in a [[cartography table]]. This creates a new map containing the same data and locks it. All copies of this new map are also locked. A locked map never changes, even when the depicted terrain changes. {{IN|Be}}, locked maps have a unique texture.

{| class="wikitable" style="text-align: center;"
|-
! Condition
! style="width: 200px;" | Newly created map
! style="width: 200px;" | Map after terrain alteration
|-
! Unlocked map
| [[File:Map Zoom 0.png|174px]] || [[File:Unlocked Map.png|174px]]
|-
! Locked map
| [[File:Map Zoom 0.png|174px]] || [[File:Map Zoom 0.png|174px]]
|-
|}

{{-}}

== Sounds ==
{{Edition|Java}}:
{{Sound table
|rowspan=2
|sound=Drawmap1.ogg
|sound2=Drawmap2.ogg
|sound3=Drawmap3.ogg
|subtitle=Map drawn
|source=player
|description=When a map is drawn
|id=ui.cartography_table.take_result
|translationkey=subtitles.ui.cartography_table.take_result
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Map drawn
|source=block
|description=When a map is edited using a cartography table
|id=ui.cartography_table.take_result
|translationkey=subtitles.ui.cartography_table.take_result
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Drawmap1.ogg
|sound2=Drawmap2.ogg
|sound3=Drawmap3.ogg
|source=block
|description=When a map is drawn<wbr>{{Upcoming|BE 1.20.20.20}}
|id=ui.cartography_table.take_result|idnote={{Verify|Could be block.cartography_table.use}}
|volume=0.8
|pitch=1.0}}
{{Sound table
|type=bedrock
|source=block
|description=When a map is edited using a cartography table
|id=ui.cartography_table.take_result
|volume=0.8
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Empty Map
|spritetype=item
|nameid=map
|form=item}}
{{ID table
|displayname=Map
|spritetype=item
|nameid=filled_map
|form=item
|translationkey=item.minecraft.filled_map, filled_map.buried_treasure, filled_map.explorer_jungle{{upcoming|java 1.20.2}}, filled_map.explorer_swamp{{upcoming|java 1.20.2}}, filled_map.mansion, filled_map.monument, filled_map.unknown, filled_map.village_desert{{upcoming|java 1.20.2}}, filled_map.village_plains{{upcoming|java 1.20.2}}, filled_map.village_savanna{{upcoming|java 1.20.2}}, filled_map.village_snowy{{upcoming|java 1.20.2}}, filled_map.village_taiga{{upcoming|java 1.20.2}}
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Empty Map
|spritetype=item
|nameid=empty_map
|aliasid=emptymap
|id=515
|form=item
|translationkey=item.emptyMap.name, item.emptyLocatorMap.name}}
{{ID table
|displayname=Map
|spritetype=item
|spritename=map-be
|nameid=filled_map
|aliasid=map
|id=420
|form=item
|translationkey=item.map.name, item.map.exploration.mansion.name, item.map.exploration.monument.name, item.map.exploration.treasure.name
|foot=1}}

=== Metadata ===
{{see also|Bedrock Edition data values}}
{{IN|bedrock}}, maps use the following data values:

{{/DV}}

=== Item data ===
{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Maps}}
</div>

{{el|bedrock}}:
: See [[Bedrock Edition level format/Item format]].

=== Map icons ===
{{see also|Player.dat format|Map item format|map_icons.png}}
Map icons are 8×8 in ''Java Edition'', but 16×16 in Bedrock Edition. As such, there are minor misalignment issues in ''Java Edition''.<ref>{{bug|MC-214649|||WF}}</ref>
[[File:Map icons.png|thumb|128px|Map icons texture {{in|Java}}]]
[[File:Map icons BE.png|thumb|128px|Map icons texture {{in|Bedrock}}]]

{| class="wikitable"
|-
! Java ID !! Bedrock ID !! Text ID !! Appearance !! Purpose !! Shown in item frames?
|-
| 0 ||  ||<code>player</code> || [[File:Player (texture) JE1 BE1.png|16px]] [[File:Player (texture) BE2.png|16px]] White marker || Players (on map) || No
|-
| 1 || 1 ||<code>frame</code> || [[File:Green Marker (texture) JE1 BE1.png|16px]] [[File:Green Marker (texture) BE2.png|16px]] Green marker || The current map in an item frame || Yes
|-
| 2 ||  ||<code>red_marker</code> || [[File:Red Marker (texture) JE1 BE1.png|16px]] [[File:Red Marker (texture) BE2.png|16px]] Red marker || Position converted to Overworld when opening Overworld map in the Nether{{Only|bedrock}} || No
|-
| 3 ||  ||<code>blue_marker</code> || [[File:Blue Marker (texture) JE1 BE1.png|16px]] [[File:Blue Marker (texture) BE2.png|16px]] Blue marker || Other players || No
|-
| 4 ||  ||<code>target_x</code> || [[File:Target X (texture) JE1 BE1.png|16px]] White X || Unused || Yes
|-
| 5 ||5
|<code>target_point</code> || [[File:Target Point (texture) JE1 BE1.png|16px]] [[File:Target Point (texture) BE2.png|16px]] Red triangle || Unused || Yes
|-
| 6 || 6 ||<code>player_off_map</code> || [[File:Player Off Map (texture) JE1 BE1.png|16px]] Large white dot || Players off map, nearby{{only|java}} || No
|-
| 7 || 13 ||<code>player_off_limits</code> || [[File:Player Off Limits (texture) JE1.png|16px]] [[File:Player Off Limits (texture) BE.png|16px]] Small white dot || Players off map, far away{{only|java}} || No
|-
| 8 ||14
|<code>mansion</code> || [[File:Mansion (texture) JE1.png|16px]] [[File:Mansion (Texture) BE2.png|frameless|16x16px]] Woodland mansion || Woodland mansion || Yes
|-
| 9 || 15 ||<code>monument</code> || [[File:Monument (texture) JE1.png|16px]] [[File:Monument Texture BE2.png|frameless|16x16px]] Ocean monument || Ocean monument || Yes
|-
| 10 - 25 ||  ||<code>{{tooltip|banner_*|banner_white, banner_orange, banner_magenta, banner_light_blue, banner_yellow, banner_lime, banner_pink, banner_gray, banner_light_gray, banner_cyan, banner_purple, banner_blue, banner_brown, banner_green, banner_red, banner_black}}</code> || [[File:Banner White (texture) JE1.png|16px]] [[File:Banner Light Gray (texture) JE1.png|16px]] [[File:Banner Gray (texture) JE1.png|16px]] [[File:Banner Black (texture) JE1.png|16px]] [[File:Banner Brown (texture) JE1.png|16px]] [[File:Banner Red (texture) JE1.png|16px]] [[File:Banner Orange (texture) JE1.png|16px]] [[File:Banner Yellow (texture) JE1.png|16px]] [[File:Banner Lime (texture) JE1.png|16px]] [[File:Banner Green (texture) JE1.png|16px]] [[File:Banner Cyan (texture) JE1.png|16px]] [[File:Banner Light Blue (texture) JE1.png|16px]] [[File:Banner Blue (texture) JE1.png|16px]] [[File:Banner Magenta (texture) JE1.png|16px]] [[File:Banner Purple (texture) JE1.png|16px]] [[File:Banner Pink (texture) JE1.png|16px]]<br>Banners in all 16 wool colors{{only|java}}|| Banner markers || Yes
|-
| 26 ||4
|<code>red_x</code> || [[File:Red X (texture) JE1.png|16px]] [[File:Target X (texture) BE2.png|16px]] Red X || Buried treasure || Yes
|-
| || 8 || || [[File:Magenta Marker (texture) BE1.png|16px]] Magenta marker
| Position converted to Overworld when opening Overworld map in the End{{Only|bedrock}} || No 
|-
| || 9 || || [[File:Orange Marker (texture) BE1.png|16px]] Orange marker{{more info}}
|Other players
|Yes
|-
| || 10 || || [[File:Yellow Marker (texture) BE1.png|16px]] Yellow marker
| Other players || No
|-
| || 11 || || [[File:Cyan Marker (texture) BE1.png|16px]] Cyan marker
| Other players || No
|- 
| -
|12
| || [[File:Green Point (texture) BE1.png|16px]] Green Triangle
| Other structure such as stronghold, fortress, end city, etc. when used as explorer map destination{{Only|bedrock}} || Yes
|}
It should be noted that even if the player used a NBT editor to add an additional icon on the map, ''Minecraft'' shows only the first one listed when the player loads up their world.

== Achievements ==
{{load achievements|Map Room}}

== History ==
{{see also|section=24|map_icons.png|Java Edition history of textures#Map icons}}
{{more images|section=24|{{bug|MC-72962}}}}
{{History||April 27, 2011|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/4988431144/the-maps|[[Notch]] unveiled screenshots of the map.}}
{{History||April 28, 2011|link={{tweet|notch|63500114005721088}}|[[Notch]] said that he would try to make maps place-able on [[wall]]s.}}
{{History|java beta}}
{{History||1.6|snap=Test Build 3|[[File:Map (item) JE1 BE1.png|32px]] Added maps.}}
{{History||1.6.6|The ability to auto-craft maps using shift-click has been disabled.}}
{{History||1.8|snap=Pre-release|Maps can now be found in library chests in the brand-new [[stronghold]]s.
|Auto crafting maps has been restored. Map cloning, therefore, is unavailable for a period of time.}}
{{History||1.8.1|Maps now work both while walking and flying.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 5|Prior to this update, the [[sun]] in ''[[Minecraft]]'' rose in the North, which threw off many [[player]]s and led to a common misconception that ''Minecraft'' maps/[[world]]s were oriented with East at the top. The sun now rises in the east and sets in the west, making navigation much more intuitive.
|Before the change in sun position, it was commonly said that ''Minecraft'' maps/worlds are oriented with East at the top; sunrise, by definition, occurs at the East, which means it is certainly true that the maps were oriented "East" since the Sun rose from the top (North). However, [[Jeb]] asserted (and [[Notch]] agreed) that the sun rose in the north.<ref>{{Tweet|jeb|87815841160237056}}</ref><ref>{{Tweet|notch|88155424880201728}}</ref> Most mods and map-making tools, however, used the terms East and North consistent with their actual definitions (e.g. a [[Programs and editors/Cartograph|Cartograph]]-generated map with North at the top is rotated 90 degrees from the in-game map).}}
{{History||1.4.2|snap=12w34a|[[File:Empty Map JE1 BE1.png|32px]] [[Crafting]] a map now creates an empty map. The map is drawn for the first time when it is held and right clicked, and is centered near the location of the [[player]] when clicked (not as before where it was centered on the location it was crafted.)
|Previously, in order to map a new area, the map had to be ''crafted'' in that area (rather than carrying a previously-crafted map to the new area). The point where a map is crafted becomes its permanent center, and could never be changed. 
|The pointer no longer disappears when leaving the map, but transforms into a white dot, indicating on what side of the map the player is located.
|Maps now align to a grid, making it easier to create adjacent maps.
|Maps can now be zoomed out (but not zoomed in).
|Maps can now be cloned and scaled.}}
{{History||1.4.2|snap=12w34b|Maps now have a ''zoom level'', which was fixed at 1:8 prior to snapshot [[Java Edition 12w34a|12w34a]],<ref name="mapinfo">https://web.archive.org/web/0/http://notch.tumblr.com/post/4988431144/the-maps</ref> but  now starts at 1:1 and can be increased up to 1:16 by re-crafting an existing map.
|Maps are no longer numbered on the top-left corner and is labeled through the tooltip.}}
{{History|||snap=12w36a|New maps are now crafted at a scale factor of 1:1. A zoomed in map can be zoomed out by re-crafting it with another 8 sheets of [[paper]] on a [[crafting table]]. Each time this is done, the scale increases - 1:1, 1:2, 1:4, 1:8, 1:16 with a map scale of 1:16 being the current maximum.}}
{{History||1.7.2|snap=13w38a|The map size has been increased when placed on a [[wall]] using the [[item frame]].
|More colors have been added to maps for different [[block]]s.<ref name="infodump2">https://web.archive.org/web/0/https://www.mojang.com/2013/10/minecraft-1-7-the-update-that-changed-the-world</ref>}}
{{History||1.8|snap=14w31a|Zoomed maps now conform to an expanded grid based on their zoom level. Previously, careful considerations would need to be taken to creating a wall of adjoining maps.}}
{{History||1.8.1|snap=pre1|Some colors have been changed on maps to more accurately represent their respective [[block]].}}
{{History||1.9|snap=15w31a|Maps now display as a mini-map when held in the off-hand, or if the off-hand slot is occupied; the (old) large version is visible only when held in the dominant hand with the secondary hand free.}}
{{History|||snap=15w34a|New maps can now be [[crafting|crafted]] at a scale factor of 1:4.
|A crafting recipe has been added for zooming in maps.}}
{{History|||snap=15w43a|The average yield of empty maps from [[stronghold]] library [[chest]]s has been doubled.}}
{{History|||snap=15w45a|New maps are once again [[crafting|crafted]] at a scale factor of 1:1, as they had been before snapshot [[15w34a]].
|The [[crafting]] recipe, that was introduced in 15w34a, for zooming in maps has been removed.}}
{{History|||snap=15w49a|Map making now uses armor equipping sounds.}}
{{History||1.11|snap=16w39a|Maps now work in [[the End]].
|Empty maps are now [[trading|sold]] by cartographer [[villager]]s as their tier 3 [[trading|trade]].
|Added [[explorer map]]s, sold by cartographers as their tier 4 trades.}}
{{History||1.12|snap=17w17a|Maps now have separate colors for colored [[terracotta]] blocks from other colored blocks.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 358 and 395.
|Maps now use additional NBT to specify which map they contain. Prior to this version, they used the [[damage]] value instead.
|Map IDs are no longer limited to 32,768.}}
{{History|||snap=17w50a|Maps can now be placed on floor and ceiling [[item frame]]s.}}
{{History|||snap=18w10a|Spots on maps can now be marked using [[banner]]s.}}
{{History|||snap=18w11a|Empty maps can now generate in [[shipwreck]] [[chest]]s.}}
{{History|||snap=pre7|Maps have been changed slightly, in regard to which [[block]]s are shown and which blocks are not.}}
{{History||1.14|snap=18w43a|[[File:Empty Map JE2 BE2.png|32px]] [[File:Map (item) JE2 BE2.png|32px]] The textures of maps have been changed.}}
{{History|||snap=18w48a|Empty maps can now be found in chests in [[village]] cartographer houses.}}
{{History|||snap=19w02a|Maps can now be cloned and zoomed out (extended) by using a [[cartography table]].
|Maps can now be locked by using a [[glass pane]] with a cartography table.
|The recipes for cloning and zooming out maps have been removed.}}
{{History|||snap=19w06a|Map making is now silent again.}}
{{History|||snap=19w13a|Cartographer villagers now give empty maps to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w21a|Map making sounds are now the same as when using a cartography table.}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Empty Map JE1 BE1.png|32px]] [[File:Map (item) JE1 BE1.png|32px]] Added maps.
|Maps are crafted using nine [[paper]], one for every slot of the [[crafting]] grid.
|Maps must be combined with a [[compass]] using an [[anvil]] in order to show the [[player]]'s position.
|Maps can be zoomed using an anvil.}}
{{History|||snap=build 3|New maps are now [[crafting|crafted]] at full zoom.
|Empty maps now have a "Create Map" button to initialize them.}}
{{History|||snap=build 7|New maps are now crafted at a scale factor of 1:1.}}
{{History||v0.15.0|snap=unknown|Maps can now be crafted either with 8 pieces of [[paper]] and a [[compass]] ''or'' 9 pieces of paper, to get a map with or without a position marker.}}
{{History||v0.16.0|snap=build 1|Different colors have been added to maps for different [[biome]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=?|[[Windows 10 Edition]] can now use the [[anvil]] as well as the [[crafting table]] to clone, zoom and apply markers, just as [[Pocket Edition]] in general could.
|Maps can now be found inside [[stronghold]] library [[chest]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Empty maps with direction markers built-in are now called "locator maps".}}
{{History|||snap=alpha 1.1.0.3|"Locator maps" are now called "empty locator maps".
|Empty maps are now [[trading|sold]] by cartographer [[villager]]s for 7-11 [[emerald]]s as their tier 3 [[trading|trade]].}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Maps can now be found inside map room [[chest]]s in [[shipwreck]]s.}}
{{History||?|The texture of the filled map overlay has been changed.}}
{{History||?|Maps now function in dimensions other than the dimension in which they were created.}}
{{History||1.10.0|snap=beta 1.10.0.3|Maps can now be found in cartographer house [[chest]]s in [[village]]s.
|[[File:Empty Map JE2 BE2.png|32px]] The texture of empty maps has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Empty maps can now be created from 1 [[paper]] in [[cartography table]]s.
|Maps can now be zoomed, cloned, renamed, and have pointers added in cartography tables.}}
{{History|||snap=beta 1.11.0.4|Cartographer [[villager]]s now [[trading|sell]] empty map for an [[emerald]] as their first tier [[trading|trades]].
|Empty locator maps can now be [[trading|bought]] from cartographer villagers.}}
{{History||1.13.0|snap=beta 1.13.0.1|[[File:Map (item) BE3.png|32px]] [[File:Locked Map (item) BE2.png|32px]] Filled maps and locked maps now have unique inventory icons.}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed, novice-level cartographer now sell an empty map for 7 emeralds. Cartographer villager no longer sell empty locator map.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of maps have been changed from <code>emptymap</code> to <code>empty_map</code> and <code>map</code> to <code>filled_map</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Map (item) JE1 BE1.png|32px]] Added maps. 
|The [[player]] spawns with a free map. 
|Maps are available only as zoom step 3 maps centered at coordinates 0,0. Biome colors do not appear on maps.}}
{{History||xbox=none|xbone=CU1|ps=1.0|wiiu=none|Larger sized worlds on Xbox One, Playstation 4, and Nintendo Switch have zoom step 3 maps aligned to a grid with maps centered at 0, 1024, or 2048 on the X or Z coordinates.}}
{{History||xbox=TU21|xbone=CU9|ps=1.14|wiiu=Patch 1|[[File:Empty Map JE1 BE1.png|32px]] [[Crafting]] a map now produces an empty map.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|The outer end islands appear on different maps; even on Xbox 360, Playstation 3, Vita, and Wii U editions.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Empty Map JE2 BE2.png|32px]] [[File:Map (item) JE2 BE2.png|32px]] The textures of maps have been changed.}}
{{History||ps=1.91|Maps can now be created and used in [[cartography table]]s.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Use of the {{key|F1}} key can allow the player to hold a map without blocking their view at all.
* In ''Java Edition'', a map created using {{cmd|give}} can be any map by using the Map parameter to specify the map number desired. E.g. {{cmd|give [player] minecraft:filled_map{map:5<nowiki>}}} gives the specified player map_5. If no data value is supplied it defaults to map_0. If map_0 has not ever been crafted, it is centered on x=0, z=0.
* The maps are stored separately as their own data (<code>.dat</code>) file as <code>map_x.dat</code> with (x) being the map number, see [[map item format]] for more info. By manipulating this number, players can organize their maps to suit them, or if they accidentally create a map in the same location, they can delete their extra map so as to save the number they make.
* Certain programs can be used to make customized maps with images or text on them instead of actual maps, many people use these in adventure maps to show pictures or to tell a story.
* Since all copies of a map are links to the same file, copying an unfinished map keeps it synchronized with the copy as the player fills it in. Thus, a copy stored in a chest can act as a remote backup.
* A map that is in an item frame does not update itself until a player picks it up, lets it reload, and places it back again. However, if a player holds a clone of the map, both maps update.
* Filled maps are the only items that make 90 degree rotations in item frames, and also the only items that can expand the item frame into full block wide.
* On [[Legacy Console Edition]], the player always spawns with a map in their inventory after creating a world. This was later added to Bedrock Edition as an optional feature in the world creation menu.
* Maps on Legacy Console Edition always show the player's current coordinates, as a substitute for the optional [[Coordinates|coordinate display]] in other editions.
* A map cannot be created on [[New Nintendo 3DS Edition]]. Instead, the map is always displayed on the bottom screen along with the coordinates. Biome colors do not appear on maps.

== Gallery ==
<gallery>
MapItem1.png|A fully zoomed map.
MapRotation.png|Having a map in hand does not stop the ability to see ahead.
MapItem3.png|A world being recorded onto a map.
Mcmap4.png|Nearly fully explored map.
Zoomed Map.png|A map edited to the scale of 1.
Sky Map.png|A map mapping the [[Sky Dimension]].
MapOfVillage.png|A village and how it is represented on a map.
Pumpkin map.png|A map containing a custom image made by placing a large number of blocks.
Complete Map.png|A completely explored map.
MapZooms.png|A diagram showing how maps zoomed out before [[Java Edition 1.8]]. Notice how the larger maps have borders made of half and quarter small maps.
Map18zooms.png|From 1.8, zoomed maps are aligned to this grid exactly.
Large Biome Map.png|A map of a [[Large Biomes]] world.
Map0140-0160.png|A comparison of maps between versions in Pocket Edition Alpha [[Pocket Edition Alpha 0.14.0|0.14.0]] and [[Pocket Edition Alpha 0.16.0|0.16.0]].
Mycelium Map.png|A map view of a mushroom biome, showing that mycelium appears purple on a map.
MiniMap.png|Maps held in the off-hand or in either hand while [[dual wielding]] appear as mini-maps.
Partly filled treasure map.png|Partly filled treasure map with an odd area at the bottom left. Normally a partly filled map would look striped (as in the top left), but this map seems to be bugged and is possibly showing caves, or something, in the bottom left.
Partly filled ocean explorer map.png|Partly filled ocean explorer map. Updating the game from an older version (in this case the area was first generated before 1.18) and buying a map after updating (in this case in 1.19.4) can result in the map displaying rivers and terrain where there is really a frozen sea.
Map Stained Glass 1.png|Stained glasses' appearances on maps before and after 1.13.
Map Stained Glass 2.png|Stained glasses' appearances on maps before and after 1.13.
Map Various Blocks 1.png|Various blocks' appearances on maps before and after 1.13.
Map Various Blocks 2.png|Various blocks' appearances on maps before and after 1.13.
Better Together Map.jpg|Holding a map in the offhand in ''Bedrock Edition''.
Better Together Map Icon.jpg|Holding a map in both hands in ''Bedrock Edition''.
File:MapFailedtoFill.png|A map that has not yet filled. A rare bug in Java.
</gallery>

=== The Nether ===
<gallery>
Nethermap.png|A map in [[the Nether]].
Maponnether.png|A map in the Nether; the arrow turns around itself, like in [[compass]].
</gallery>

=== The End ===
<gallery>
Jeb End Map.png|The first image of a map in [[the End]].
Endmap.png|A map in the End.
</gallery>

=== Maps in item frames ===
<gallery>
FramedMap.png|A map displayed on an item frame, as it looked before [[Java Edition 1.7.2]].
Structure Map Collection.png|Multiple maps in item frames. Notice a [[village]], two [[desert temple]]s and a lava lake.
Minecraft maps 3by3.png|A collection of 9 connected full maps.
Full Map.png|A combination of 25 maps pasted together as one map.
Map wall BE.png|A map wall on ''Bedrock Edition'', showing large areas of biome colors for each biome.
Map's in item frames.png|Maps can be placed into [[item frame]]s so they can be viewed together.
Comparing Maps.png|The comparison between 3 zooms of maps.
SuperflatMap.png|A map in a [[Superflat]] world, with some [[village]]s.
MapWallWithMarkers.png|A 3x3 map wall with banner markers.
HEYYEYAAEYAAAEYAEYAA.png|He-Man map art.
Map Player Icons 1.png|First image of player icons on maps.
Map Player Icons 2.png|Second image of player icons on maps.
</gallery>

== See also ==
* [[Explorer Map]]
* [[Clock]]
* [[Tutorials/Navigation|Navigation]]

== References ==
{{Reflist}}

{{Items}}

[[cs:Mapa]]
[[de:Karte]]
[[es:Mapa]]
[[fr:Carte (objet)]]
[[hu:Térkép (tárgy)]]
[[ja:地図]]
[[ko:지도]]
[[nl:Kaart]]
[[pl:Mapa]]
[[pt:Mapa]]
[[ru:Карта]]
[[tr:Harita]]
[[th:แผนที่]]
[[uk:Мапа]]
[[zh:地图]]
[[Category:Renewable resources]]</li></ul></nowiki>
14w05aThe Creeper and Spider shaders were added. Shaders are automatically applied in spectator mode when viewing the world as a Creeper, Spider or Enderman.
14w05bShaders are now removed from view when changing perspective while spectating a mob.[2]
F4 now toggles different shaders rather than turning them off.[2]
14w06aThe Entity Outline shader was added.
1.9
{{Extension DPL}}<ul><li>[[Debug fourj item|Debug fourj item]]<br/>{{DISPLAYTITLE:<samp>debug_fourj_item</samp>}}
{{exclusive|Legacy Console}}{{Unobtainable||edition=console|section=}}{{Item
| image = Barrier (held) JE1 BE1.png
| renewable = No
| stackable = Yes (64)
| rarity = Common
| title = <samp>debug_fourj_item</samp>
}}
<samp>'''debug_fourj_item'''</samp> is an unobtainable item exclusive to the [[Legacy Console Edition]] and can only be obtained through modding the game. It has the texture of a [[barrier]], no "What's this?" hint and no display name.

==Obtaining==
The only way to obtain this item is via inventory editors and other external tools.

==Usage==
The purpose of this item is unknown, and it cannot be placed. Although the ID<ref name="r">[https://youtu.be/IscH0rUw_20 "マインクラフト WiiU 全面の木、偽バリアブロックのアイテムID公開"] - YouTube, March 26, 2019</ref> suggests that it was used for debugging and testing purposes.

==Data values==
===ID===
{{ID table|displayname=[No displayed name]
|showforms=y|form=item|nameid=debug_fourj_item|id=2255<ref group="note">Numerical IDs aren't supported on the Legacy Console Edition anymore.</ref><ref name="r"/>|shownumericids=y|translationkey=item.debug_fourj_item.name|generatetranslationkeys=y|foot=1}}
<references group="note" />

==History==
{{History|console}}
{{History||xbox=unknown|xbone=unknown|ps=unknown|wiiu=unknown|switch=unknown|[[File:Barrier (held) JE1 BE1.png|32px]] Added <samp>debug_fourj_item</samp>.}}
{{History|foot}}

== Gallery ==
<gallery>
Debug fourj item in inventory.png|<samp>debug_fourj_item</samp> as it appears in one's inventory
</gallery>

==See also==

*[[Debug Stick]]

==References==
<references />

{{Items}}
{{Unused features}}
[[Category:Articles missing historical information]]</li><li>[[Green Dye|Green Dye]]<br/>{{redirect|Cactus Green|the plant|Cactus}}{{Item
| title = Green Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Green dye''' is a [[primary color dye]].

== Obtaining ==

=== Chest loot ===
{{LootChestItem|green-dye}}

=== Smelting ===
{{Smelting
|head=1
|showdescription=1
|Cactus
|Green Dye
|1
|description={{only|Java}}<ref>{{bug|MC-210211||Smelting cactus gives too much experience since 1.13}}</ref>
}}
{{Smelting
|head=0
|showdescription=1
|Cactus
|Green Dye
|0,2
|description={{only|Bedrock}}
|foot=1
}}

=== Trading ===

[[Wandering trader]]s sell 3 green dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Green Dye}}

=== Trading ===
Expert level shepherd villagers have {{frac|1|6}} chance to buy 12 green dye for an emerald.{{only|bedrock}} Expert level shepherds have a {{frac|2|7}} chance to buy 12 green dye for 1 emerald.{{only|java}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Green Dye
|spritetype=item
|nameid=green_dye
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Green Dye
|spritetype=item
|nameid=green_dye
|aliasid=dye / 2
|id=397
|form=item
|translationkey=item.dye.green.name
|foot=1}}

== Video ==
<div style="text-align:center">{{yt|O4KVTPI4qIc}}</div>

== History ==

{{History|java beta}}
{{History||1.2|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green, together with all other dyes.}}
{{History|java}}
{{History||1.3.1|snap=1.3|[[File:Green Dye JE2 BE2.png|32px]] The texture of cactus green has been changed.}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Cactus green can be crafted with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be [[crafting|crafted]].}}
{{History||1.7.2|snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Cactus green can now be used to craft green [[concrete powder]].}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|"Cactus Green" has been renamed to "Green Dye".
|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}
{{History|||snap=18w44a|Green dye can now change the text color on [[sign]]s to green.}}
{{History|||snap=18w50a|Green dye can now be found in [[chest]]s in [[desert]] [[village]] houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells green dye.}}
{{History|||snap=19w11a|Green dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Green dye can now be used to craft [[green candle]]s.}}
{{History|||snap=21w19a|Green dye can no longer be used to craft green candles.}}
{{History|||snap=Pre-release 1|Green dye can once again be used to craft green candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Green dye can now change the text color on [[hanging sign]]s to green.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green. It is currently unobtainable and has no usage.}}
{{History||v0.3.2|Cactus green is now obtainable by [[smelting]] cacti in a [[furnace]]. It still has no usage.}}
{{History||v0.4.0|Cactus green can now be used to craft [[cyan dye]], [[lime dye]], and [[green wool]].}}
{{History||v0.8.0|snap=build 1|[[File:Green Dye JE2 BE2.png|32px]] The texture of cactus green has been changed.}}
{{History||v0.14.0|snap=build 1|Cactus green can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cactus green can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cactus green can now be used to dye [[bed]]s, [[shulker box]]es, and craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cactus green can now be used to craft [[stained glass]], patterns on [[banner]]s, and [[firework star]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Cactus green can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|"Cactus Green" has been renamed to "Green Dye".}}
{{History||1.10.0|snap=beta 1.10.0.3|Green dye is now sold by [[wandering trader]]s.
|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Green dye can now be found in [[desert]] [[village]] house [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Green dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of green dye has been changed from <code>dye/2</code> to <code>green_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green.}}
{{History|PS4}}
{{History||1.83|"Cactus Green" has been renamed to "Green Dye".}}
{{History||1.90|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

[[cs:Kaktusová zeleň]]
[[de:Grüner Farbstoff]]
[[es:Tinte verde]]
[[fr:Teinture verte]]
[[hu:Kaktuszzöld]]
[[ja:緑色の染料]]
[[ko:초록색 염료]]
[[nl:Cactusgroen]]
[[pl:Zielony barwnik]]
[[pt:Corante verde]]
[[ru:Зелёный краситель]]

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li></ul>
15w31aRemoved the Super Secret Settings button for an internal rewrite.[3]
1.16
{{Extension DPL}}<ul><li>[[Bed|Bed]]<br/>{{Block
| image = White Bed (N).png
| extratext = View [[#Gallery|all renders]]
| transparent = Yes
| tntres = 25
| hardness = 4
| light = No
| tool = any
| renewable = Yes
| stackable = No
| flammable = No
| lavasusceptible = {{jebe|Yes|No}}
}}
A '''bed''' is a [[Dye|dyeable]] [[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]]{{only|bedrock|short=1}} 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.<ref>{{bug|MC-192722||Beds have no assigned tool}}</ref>

{{breaking row|horizontal=1|Bed|sprite=red-bed|any}}

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

=== Crafting ===
{{Crafting
 |head=1
 |showname=0
 |showdescription=1
 |A2=Matching Wool
 |B2=Matching Wool
 |C2=Matching Wool
 |A3=Any Planks
 |B3=Any Planks
 |C3=Any Planks
 |Output= Matching Bed
 |type=Decoration block
 |description=The wool color must match. The planks can be different.
}}
<!--recipe removed
{{Crafting
 |showdescription=1
 |White Bed
 |Matching Colored Dye
 |Output= Matching Dyed Bed
 |type=Decoration block
 |description=White beds can be re-dyed using dyes.{{only|java}}{{until|JE 1.20}}
}}-->
{{Crafting
 |showdescription=1
 |Any Bed
 |Matching Dye
 |Output= Matching Bed
 |type=Decoration block
 |description=A bed of any color can be re-dyed using dyes.
}}
{{Crafting
 |showdescription=1
 |Any Dyed Bed
 |Bleach
 |Output=White Bed
 |type=Decoration block
 |description=This removes the color from the bed.{{only|bedrock|education}}
 |foot=1
}}
<div style="display:none">
<!--
    This is so the pre-Village & Pillage dyes can have dye-related crafting recipes show on their respective pages.
    They don't need to be displayed on this page because they already intuitively list "Any Matching Dye".
-->
{{Crafting
 |showdescription=1
 |Any Bed
 |Bone Meal; Lapis Lazuli; Cocoa Beans; Ink Sac
 |Output=White Bed; Blue Bed; Brown Bed; Black Bed
 |type=Decoration block
 |description={{only|bedrock|education}}
}}
</div>

=== Trading ===
Journeyman-level shepherd villagers sell 1 of 16 beds for 3 [[emerald]]s as part of their trades.

== Usage ==
=== Sleeping ===
[[File:Sleep Animation.gif|240px|thumb|Player falling asleep.]]

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

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 only sleep  at night or during thunderstorms". 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 [[explosion|explode]] and set [[fire]] to surrounding blocks; unless {{cmd|gamerule respawnBlocksExplode}}{{only|bedrock}} is set to {{cd|false}}.<ref>{{bug|mcpe-28723}} – "Exploding bed in the Nether" resolved as "Works As Intended". This is referenced {{in|je}} 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|end crystal]] (6). The explosion centers on the head part of the bed. [[Villager]]s can sleep normally in any dimension without the bed being blown up.<ref>{{bug|MC-146515|||WAI}}</ref> Upon death from a bed explosion, the [[death messages|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"{{only|java|short=1}}/"Bed is too far away"{{only|bedrock|short=1}} appears. A player must be within 2 blocks of the bed {{in|JE}} or 3 blocks {{in|BE}} 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.

{| class="wikitable mw-collapsible"
!Mob
!Prevent the player from sleeping 
|-
|{{EntityLink|Blaze}}
|{{Tc|yes}}
|-
|{{EntityLink|Chicken Jockey}}
|{{Tc|partial|when hostile{{Only|Java|short=1}}/Yes{{Only|Bedrock|short=1}}}}
|-
|{{EntityLink|Creeper}}
|{{Tc|yes}}
|-
|{{EntityLink|Drowned}}
|{{Tc|yes}}
|-
|{{EntityLink|Endermite}}
|{{Tc|yes}}
|-
|{{EntityLink|Enderman}}
|{{Tc|partial|when hostile}}
|-
|{{EntityLink|Ender Dragon}}
|{{Tc|no}}
|-
|{{EntityLink|Evoker}}
|{{Tc|yes}}
|-
|{{EntityLink|Ghast}}
|{{Tc|no}}
|-
|{{EntityLink|Giant}}
|{{Tc|yes}}
|-
|{{EntityLink|Guardian}}, {{EntityLink|Elder Guardian}}
|{{Tc|yes}}
|-
|{{EntityLink|Hoglin}}
|{{Tc|no}}
|-
|{{EntityLink|Illusioner}}
|{{Tc|yes}}
|-
|{{EntityLink|Killer Bunny}}
|{{Tc|no}}
|-
|{{EntityLink|Magma Cube}}
|{{Tc|partial|no{{Only|Java|short=1}}/Yes{{Only|Bedrock|short=1}}}}
|-
|{{EntityLink|Piglin}}
|{{Tc|no}}
|-
|{{EntityLink|Piglin Brute}}
|{{Tc|yes}}
|-
|{{EntityLink|Pillager}}
|{{Tc|yes}}
|-
|{{EntityLink|Phantom}}
|{{Tc|yes}}
|-
|{{EntityLink|Ravager}}
|{{Tc|yes}}
|-
|{{EntityLink|Shulker}}
|{{Tc|no}}
|-
|{{EntityLink|Silverfish}}
|{{Tc|yes}}
|-
|{{EntityLink|Skeleton}}, {{EntityLink|Skeleton Horseman}}, {{EntityLink|Stray}}, {{EntityLink|Wither Skeleton}}
|{{Tc|yes}}
|-
|{{EntityLink|Spider}}, {{EntityLink|Cave Spider}}, {{EntityLink|Spider Jockey}}
|{{Tc|yes}}
|-
|{{EntityLink|Slime}}
|{{Tc|partial|no{{Only|Java|short=1}}/Yes{{Only|Bedrock|short=1}}}}
|-
|{{EntityLink|Vex}}
|{{Tc|yes}}
|-
|{{EntityLink|Vindicator}}
|{{Tc|yes}}
|-
|{{EntityLink|Warden}}
|{{Tc|yes}}
|-
|{{EntityLink|Witch}}
|{{Tc|yes}}
|-
|{{EntityLink|Wither}}
|{{Tc|yes}}
|-
|{{EntityLink|Zoglin}}
|{{Tc|yes}}
|-
|{{EntityLink|Zombie}}, {{EntityLink|Zombie Villager}}, {{EntityLink|Husk}}
|{{Tc|yes}}
|-
|{{EntityLink|Zombified Piglin}}
|{{Tc|partial|when hostile{{Only|Java|short=1}}/Yes{{Only|Bedrock|short=1}}}}
|-
|}
{{notelist}}
If the player has not entered a bed and didn't die for 3 in-game days, [[phantom]]s can spawn unless {{cmd|gamerule doInsomnia}} is set to {{cd|false}}. {{in|java}}, this can be verified by checking if the "Time Since Last Rest" [[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 {{control|use}} on the villager) and then quickly enter the bed before the villager can lie down again. The villager reclaims the bed after the player wakes. The villager is kicked out of its bed when a player attempts to sleep there.

A player 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}}, 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 {{btn|Leave Bed}} button.

[[Waterlogging|Waterlogged]] beds{{only|bedrock}} cannot be slept in unless the player or villager has the {{EffectLink|Water Breathing}} or {{EffectLink|Conduit Power}} status effects. Attempting to use a waterlogged bed otherwise does not display any message.<ref>{{bug|MCPE-35802}}</ref>

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.<ref>{{bug|MC-160479}} resolved as "Works As Intended"</ref>

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 [[daylight cycle|time of day]] to sunrise and resets the [[weather]] cycle, changing the weather to clear conditions. {{IN|JE}}, 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 {{cmd|gamerule doDaylightCycle}} is <code>false</code>, 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 {{btn|Leave Bed}} button is not necessary in this case. The percentage of players that need to sleep to skip the night can be customized with the game rule {{cd|playersSleepingPercentage}}.

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}}, multiple players can set their spawn point on a single bed. {{IN|bedrock}}, 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.

{{ctrl|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 charged respawn anchor, or it was obstructed''{{only|je}}/''Your home bed was missing or obstructed''{{only|be}}, and the player respawns at the [[Spawn#World spawn|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 {{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.

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 [[Zombie_Villager#Curing|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}}, beds require solid blocks below them when placed. However, the bed remains in place if its supporting blocks are later removed. {{IN|java}}, beds do not require supporting blocks and can be placed anywhere, provided there is enough room. 

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

===Unique===
{{edition|java}}:
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|subtitle=Explosion
|source=block
|description=When a player attempts to sleep while not in the Overworld
|id=entity.generic.explode
|translationkey=subtitles.entity.generic.explode
|volume=4.0
|pitch=0.56-0.84
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=block
|description=When a player attempts to sleep while not in the Overworld
|id=random.explode
|volume=4.0
|pitch=1.0
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table|
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=White Bed
|spritetype=block
|nameid=white_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Orange Bed
|spritetype=block
|nameid=orange_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Magenta Bed
|spritetype=block
|nameid=magenta_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Light Blue Bed
|spritetype=block
|nameid=light_blue_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Yellow Bed
|spritetype=block
|nameid=yellow_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Lime Bed
|spritetype=block
|nameid=lime_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Pink Bed
|spritetype=block
|nameid=pink_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Gray Bed
|spritetype=block
|nameid=gray_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Light Gray Bed
|spritetype=block
|nameid=light_gray_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Cyan Bed
|spritetype=block
|nameid=cyan_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Purple Bed
|spritetype=block
|nameid=purple_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Blue Bed
|spritetype=block
|nameid=blue_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Brown Bed
|spritetype=block
|nameid=brown_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Green Bed
|spritetype=block
|nameid=green_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Red Bed
|spritetype=block
|nameid=red_bed
|blocktags=beds
|itemtags=beds}}
{{ID table
|displayname=Black Bed
|spritetype=block
|nameid=black_bed
|blocktags=beds
|itemtags=beds
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=beds
|spritetype=block
|nameid=bed
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Bed
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=Beds
|spritetype=block
|nameid=bed
|id=26
|form=block
|itemform=item.bed}}
{{ID table
|displayname=Item
|spritename=bed
|spritetype=item
|nameid=bed
|id=418
|form=item
|translationkey=item.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
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=beds
|spritetype=block
|nameid=Bed
|foot=1}}

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

===Block states===
{{see also|Block states}}
{{/BS}}

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

{{el|java}}:
{{see also|Block entity format}}
{{/BE}}

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

==Advancements==
{{load advancements|Sweet Dreams}}

==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]]''
{{History|java beta}}
{{History||November 26, 2011|link={{tweet|jeb|140410431394160640}}|Originally, [[crying obsidian]] was intended to act as a block to reset spawn points, until beds were introduced.}}
{{History||1.3|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds. 
|The only color for beds is red.
|Beds can currently be crafted using any color combination of wool.
|Sleeping in an area potentially exposed to monsters can cause [[player]]s to wake up early, with a [[skeleton]] or [[zombie]] spawned next to them.
|Trying to sleep in a bed in [[the Nether]] does nothing.}}
{{History||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'' is clicked and the function is limited to [[multiplayer]].}}
{{History||1.4_01|Beds now act as a respawn point as intended.}}
{{History||1.6|snap=Test Build 3|Trying to sleep in a bed in the Nether now causes the bed to [[explosion|explode]].}}
{{History||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.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 4|Bed explosions in the Nether now light nearby blocks on fire.}}
{{History|||snap=Beta 1.9 Prerelease 5|The bottom textures of beds have been changed to the texture of the new [[oak]] planks from [[File:Red Bed JE1 (facing NWU).png|32px]] to [[File:Red Bed JE2 BE1 (facing NWU).png|32px]].}}
{{History|||snap=Beta 1.9 Prerelease 6|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''.}}
{{History||1.2.4|snap=release|[[Cat]]s while in standing position now purposely go and sit on beds.
|[[Spruce]], [[birch]], and [[jungle tree|jungle]] planks can now be used to craft beds.}}
{{History||1.5|snap=?|Beds now check their [[biome]] for detonation rather than just their dimension.}}
{{History||1.7.2|snap=1.7.1|[[Acacia]] planks and [[dark oak]] planks can now be used to craft beds.}}
{{History||1.8|snap=14w29a|Beds now display the cracking animation on top and bottom.}}
{{History|||snap=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>}}
{{History||1.9|snap=15w43a|Bed now generates inside [[igloo]]s.}}
{{History||1.11|snap=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]].}}
{{History|||snap=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.}}
{{History||1.12|snap=17w06a|Neutral [[zombie pigmen]] no longer prevent the player from sleeping in a bed.}}
{{History|||snap=March 13, 2017|slink={{tweet|jeb_|841311279784591361}}|[[Jeb]] mentions colored beds for [[Java Edition 1.12|1.12]].}}
{{History|||snap=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]] [[Dye]]d beds have been added.
|The "Bed" has been renamed to "Red Bed".
|Beds can now only be crafted using wool of the same color.
|[[File:Red Bed JE2.png|32px]] The texture of red beds has been changed. The top of the beds are no longer mirrored. <!--- the numbers appear out of order but it is correct since it orders all beds in the current order in the Java Creative inventory --->
|{{Sprite|pos=1|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=9|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=8|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=16|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=13|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=15|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=2|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=5|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=6|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=14|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=10|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=4|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=12|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=11|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=3|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=7|image=Bed Icons 1.12.png|size=32|sheetsize=512}} Beds now appear 3D in the [[inventory]].
|[[File:Red Bed JE3 (facing NWU).png|32px]] Beds now have 3D legs.<ref>{{bug|MC-11963||bed hind legs not rendered|Fixed}}</ref>
|Beds have been made bouncy, though they do not completely reduce all [[fall damage]].
|Beds are now a [[block entity]].}}
{{History|||snap=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:Red Bed JE3 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 --->
{{Sprite|pos=17|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=25|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=24|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=32|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=29|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=31|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=18|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=21|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=22|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=30|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=26|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=20|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=28|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=27|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=19|image=Bed Icons 1.12.png|size=32|sheetsize=512}} {{Sprite|pos=23|image=Bed Icons 1.12.png|size=32|sheetsize=512}} The textures of beds have now also been changed.}}
{{History||1.13|snap=17w47a|Beds now require solid blocks below them, or they break into an item. Previously, a bed needed to be placed on solid blocks, but the blocks could later be removed.}}
{{History|||snap=18w07a|Sleeping in a bed is now important to keep [[phantom]]s from spawning.}}
{{History|||snap=18w20a|Players in [[Creative]] mode can now sleep even if monsters are nearby.}}
{{History|||snap=18w22a|Beds no longer require supporting blocks below them; they do not break into an [[item (entity)|item]] if said blocks are removed, and can be directly placed on top of non-solid blocks.}}
{{History|||snap=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 [[thunderstorm]]s."}}
{{History||1.14|snap=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 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]]<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.
|[[File:Red Bed JE5 (facing NWU).png|32px]] The bottom textures of beds have been changed to new oak planks texture.}}
{{History|||snap=18w44a|Cats can now sleep in empty beds or sit on their owner when their owner is sleeping.}}
{{History|||snap=18w47a|[[File:Red Bed JE6 BE3 (facing NWU).png|32px]] The bottom textures of beds have been changed to the new oak planks to texture, once again.}}
{{History|||snap=18w48a|Beds now generate in the updated [[plains]] [[village]]s.}}
{{History|||snap=18w49a|Beds now generate in the updated [[savanna]] villages and the new [[snowy tundra]] villages.}}
{{History|||snap=18w50a|Beds now generate in the updated [[desert]] and [[taiga]] villages.}}
{{History|||snap=19w08a|All mobs can now sleep in beds using [[command]]s.}}
{{History|||snap=19w11a|[[Villager]]s now claim beds and sleep in them during the night.
|Shepherd villagers now [[trading|sell]] beds.}}
{{History||1.15|snap=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.}}
{{History|||snap=19w36a|Trying to sleep in a bed during the daytime now sets the player's spawn location to that bed.}}
{{History|||snap=pre2|Successfully changing a spawn point using a bed now displays a message in [[chat]].}}
{{History||1.16|snap=20w06a|Crimson and warped planks can now be used to craft beds.}}
{{History|||snap=20w12a|The message "Your home bed was missing or obstructed" has been changed to "You have no home bed or respawn anchor, or it was obstructed" due to the addition of the [[respawn anchor]], used to set the player's spawn in [[the Nether]].}}
{{History||1.16.2|snap=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.}}
{{History||1.17|snap=20w51a|Added gamerules for sleeping in multiplayer.}}
{{History||1.18|snap=21w44a|Sleeping now only resets the weather cycle if it is currently raining or snowing.<ref>{{bug|MC-63340||Sleeping always resets time until rain|Fixed}}</ref>}}
{{History||1.19|snap=22w11a|[[Mangrove]] planks can now be used to craft beds.}}
{{History||1.19.3|snap=22w43a|Bed explosions can now be properly [[blocking|blocked]] by [[shield]]s.<ref>{{bug|MC-200006|||Fixed}}</ref>}}
{{History||1.20|snap=Pre-release 1|Beds of any color can now be dyed into any other color.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}}
{{History||v0.5.0|Beds can now be obtained after activating the [[nether reactor]].}}
{{History||v0.9.0|snap=build 1|Beds no longer restore [[health]] in normal difficulty, making [[food]] a more required [[Survival]]-needed resource.
|Added smooth lighting to beds.}}
{{History||v0.11.0|snap=build 8|The lighting on beds has been improved.}}
{{History||v0.12.1|snap=build 1|Tamed [[cat|ocelots]] while standing now purposely go and sit on beds.
|Beds are no longer available from the [[nether reactor]].}}
{{History||v0.16.0|snap=build 1|Beds now make a [[sound]] when placed, identical to [[block]]s like [[stone]].<ref name="lazilycodedsounds">{{bug|MCPE-10077}} – "Incorrect sounds on beds" resolved as "Fixed".</ref>}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Beds are now generated in [[igloo]]s.}}
{{History|||snap=alpha 0.17.0.2|[[File:Leave Bed 1.0.jpg|36px]] The ''Leave Bed'' button now has a new texture.}}
{{History|||snap=alpha 1.0.0.0|Sleeping now ends [[weather]].}}
{{History||1.1.0|snap=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.
|The "Bed" has been renamed to "Red Bed".
|[[File:Red Bed JE3 BE2.png|32px]] The texture of red beds has been changed.
|A new animation when sleeping has been added to beds.
|Beds in [[igloo]]s are now white in [[ice plains]] and brown in [[cold taiga]]s.
|Beds now bounce the [[player]] two [[block]]s up, and have 3D legs.
|Placement, stepping and breaking [[sound]]s for beds are now correctly wooden.<ref name="lazilycodedsounds"/>}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Beds can now be [[waterlogging|waterlogged]] and require [[Water Breathing]] to sleep in.}}
{{History|||snap=beta 1.2.20.1|Colored beds can now be turned into white beds by adding [[bleach]]. This works only if {{el|ee}} features are turned on.}}
{{History||1.6.0|snap=beta 1.6.0.1|Sleeping in a bed is now important to keep [[phantom]]s from spawning.}}
{{History||1.8.0|snap=beta 1.8.0.8|[[Cat]]s can now sleep in empty beds or sit on their [[player|owner]] when their owner is sleeping.}} 
{{History||1.10.0|snap=beta 1.10.0.3|Various beds now generate in the new [[village]]s.
|[[Villager]]s can now sleep by occupying a bed, which prevent [[player]]s from using it.
|[[Igloo]]s now generate with red beds.
|Beds are now used to count the number of available houses in [[village]]s.
|[[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.}}
{{History||1.11.0|snap=beta 1.11.0.4|Beds can now be [[trading|bought]] from shepherd [[villager]]s.}}
{{History||1.13.0|snap=?|[[Player]]s now succeed in attempting to sleep on villager-occupied beds, kicking the villager off.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=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.}}
{{History||xbox=TU12|xbone=CU1|ps=1.00|wiiu= Patch 1|[[Cat]]s in standing position now purposely go and sit on beds, preventing [[player]]s from using them.}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|The sleeping animation while in beds has been changed.}}
{{History||xbox=TU54|xbone=CU44|ps=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".
|[[File:Red Bed JE3 BE2.png|32px]] [[File:Red Bed (item) LCE.png|32px]] The textures of red beds has been changed. 
|Beds are now [[dye]]able and bounce the [[player]] two [[block]]s up, and have a single 3D legs.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|The sleeping animation in beds has been changed again.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Sleeping in a bed is now important to keep [[phantom]]s from spawning.
|Beds can now be [[waterlogging|waterlogged]] and require {{EffectLink|Water Breathing}} to sleep in.}}
{{History||xbox=none|xbone=none|ps=1.83|wiiu=none|switch=none|The sleeping animation for beds has been reverted to how it was before [[Legacy Console Edition version history#ps-1.64|1.64]].}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Various beds now generate in the new [[village]]s.
|[[Villager]]s can now sleep by occupying a bed, which prevents [[player]]s from using it.
|Beds are now used to count the number of available houses in villages.
|Beds can now be [[trading|bought]] from shepherd [[villager]]s.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}}
{{History||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".
|[[File:Red Bed JE3 BE2.png|32px]] The texture of red beds has been changed.
|Beds now bounce the [[player]] two [[block]]s up and have 3D legs.}}

{{History|Education}}
{{History||1.0|[[File:Red Bed JE1 BE1.png|32px]] [[File:Red Bed (item) JE1 BE1.png|32px]] Added beds.}}
{{History||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".
|[[File:Red Bed JE3 BE2.png|32px]] The texture of red beds has been changed.
|Beds now bounce the [[player]] two [[block]]s up, and have 3D legs.}}
{{History||1.0.27|Colored beds can now be turned into white beds by adding [[bleach]].}}
{{History||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.}}
{{History|foot}}

=== Data history ===
{{History|java}}
{{History||1.13|snap=17w47a|The different block states for the <code>bed</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 26, and the item's 355.}}
{{History|foot}}

=== Bed "item"===
{{:Technical blocks/Bed}}

==Issues==
{{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>{{tweet|Notch|1259681657793077250|duh|11 May 2020}}, in response to {{tweet|NoahBandito|1259681319392550912|So you're telling me the "Inteded Game Design" should actually be "Sorry, I was too lazy to code"?|11 May 2020}}</ref>
** Dimension-unique respawning was eventually implemented via the [[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 {{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 [[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</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''.
* 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 ==

=== All renders ===
<gallery>
White Bed.png|White
Light Gray Bed.png|Light gray
Gray Bed.png|Gray
Black Bed.png|Black
Brown Bed.png|Brown
Red Bed.png|Red
Orange Bed.png|Orange
Yellow Bed.png|Yellow
Lime Bed.png|Lime
Green Bed.png|Green
Cyan Bed.png|Cyan
Light Blue Bed.png|Light blue
Blue Bed.png|Blue
Purple Bed.png|Purple
Magenta Bed.png|Magenta
Pink Bed.png|Pink
</gallery>

=== Screenshots ===
<gallery>
Multiplayer Sleeping.png|A sleeping player in multiplayer.
Missing Bed.png|The message that can be seen after a failed attempt to respawn at the spawn point set by a bed.
Nether Bed.png|A crater created by attempting to sleep in the Nether.
Ender Bed.png|A crater created by attempting to sleep in the End.
16 color beds.png|All the different color variants.
Old Village New Village VillagerSleeping MCEE.png|An unemployed [[villager]] and a [[butcher]] villager goes to sleep, unaware of the zombies outside.
Stackedbeds.png|A stack of beds.
Mob wakeup.png|Player being awakened by a [[zombie]].
Day Sleeping.png|The message that can be seen when any players attempt to sleep during daytime.
Sleeping.png|A player going to sleep in a bed on the first day of a ''Minecraft'' world.
CobwebVillage.png|A bed in an abandoned village has its bottom half replaced by wheat crops.
</gallery>

=== In other media ===
<gallery>
File:Rainbow Bed.png|The [[MCE:Rainbow Bed|rainbow bed]], a unique coloration featured in [[Minecraft Earth]].
File:The Sham.jpg|The Sham, a villainous, sentient bed featured in the [[skin pack|Campfire Tales]] skin pack.
</gallery>

==References==
{{Reflist}}

{{Blocks|Utility}}
{{Items}}

[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Block entities]]

[[cs:Postel]]
[[de:Bett]]
[[es:Cama]]
[[fr:Lit]]
[[hu:Ágy]]
[[it:Letto]]
[[ja:ベッド]]
[[ko:침대]]
[[nl:Bed]]
[[pl:Łóżko]]
[[pt:Cama]]
[[ru:Кровать]]
[[th:เตียง]]
[[uk:Ліжко]]
[[zh:床]]</li><li>[[Music Disc|Music Disc]]<br/>{{hatnote|"5" redirects here. For the versions, see [[1.5]] and [[Combat Test 5]].}}
{{hatnote|"11" redirects here. For the versions, see [[1.1]] and [[1.11]].}}
{{hatnote|"13" redirects here. For the versions, see [[1.3]] and [[1.13]].}}
{{redirect|Far|the phenomenon in Bedrock Edition or Java Edition Beta|Far Lands}}
{{distinguish|Disk}}
{{Item
| image = Music Disc 13.png
| extratext = View [[#Gallery|all renders]]
| renewable = 
* '''Pigstep, otherside, 5, Relic''': No
* '''All others''': Yes
| stackable = No
| rarity = Rare
}}

'''Music discs''' are a set of sixteen items that can be played in [[jukebox]]es.

==Obtaining==
===Crafting===
Disc 5 is the only disc that can be crafted, unlike all other discs. This disc can be crafted with [[Disc Fragment|its fragments]].

{{Crafting
|A1=Disc Fragment 5 |B1=Disc Fragment 5 |C1=Disc Fragment 5
|A2=Disc Fragment 5 |B2=Disc Fragment 5 |C2=Disc Fragment 5
|A3=Disc Fragment 5 |B3=Disc Fragment 5 |C3=Disc Fragment 5
|Output=Music Disc 5
|type=Aesthetic
}}

=== Chest loot===
{{LootChestItem|disc-13,disc-cat,disc-mellohi,disc-wait,disc-otherside,disc-pigstep}}

===Archaeology===
{{LootChestItem|disc-relic}}

===Mob loot===
When killed by any [[skeleton]] or [[stray]] (or [[wither skeleton]] if given a [[bow]] using commands), a [[creeper]] drops a random music disc in addition to its normal drops, with the exceptions of Pigstep, otherside, 5, and Relic.

Because [[TNT]] ignited by a flaming [[arrow]] attributes all resulting kills to the entity that fired the arrow, a skeleton igniting a TNT block due to holding a [[bow]] enchanted with [[Flame]], or shooting through [[lava]] or fire, also causes any creepers killed in the explosion to drop a disc.<ref>{{bug|MC-210303|||WAI}}</ref><ref>{{bug|MCPE-150884|||WAI}}</ref>

==Discs==
{{missing information|the Relic music disc}}
{{C418 agreement}}
{| class="wikitable sortable" style="width:100%" data-description="Disc listing"
!Item
!<span class="nowrap">In-game</span> name
! class="unsortable" scope="col" style="width:150px" |Composer
! class="unsortable" scope="col" style="width:10000px" |Description
! class="unsortable" scope="col" style="width:200px" |Soundtrack title
!Soundtrack
! class="unsortable" scope="col" style="width:150px" |Track preview
! class="unsortable" scope="col" style="width:50px" |Length
|-
|style="text-align:center"{{sort|1|{{InvSprite|Music Disc 13}}}}
|13
|C418
|A somewhat unsettling, cave-themed ambient piece consisting mostly of echoed synthesized ambient sounds that closely resemble those that play in the game's caves, resonating metallic clinks, and quiet wind blowing. The entire track is wholly engulfed in reverb. At different points in the piece, muffled bow firings, a heavily reverbed hiss followed by a subsequent heavily reverbed explosion and echoed splashes can be heard in the background. The track goes silent for 13 seconds at the 1:30 mark.
|"Thirteen"
|''[[Minecraft - Volume Alpha]]'' No. 16
|[[File:13.ogg|noicon]]
|2:58
|-
|style="text-align:center"{{sort|2|{{InvSprite|Music Disc Cat}}}}
| cat 
|C418
|A light, looping melody plays on a soft synth and is joined by a synth percussion beat. A toothlike synth plays a bass line and some harmonies throughout and is later accompanied by additional chiptune-like synths that provide more layers of harmony.

At 1:46, what sounds like an interpolation of part of the melody from the track "Minecraft" plays.

The four-note pattern at 2:04 can also be heard at the beginning of "far" and "dog".

|"Cat"
|''[[Minecraft - Volume Alpha]]'' No. 19
|[[File:Cat.ogg|noicon]]
|3:05
|-
|style="text-align:center"{{sort|3|{{InvSprite|Music Disc Blocks}}}}
|blocks 
|C418
|An upbeat chiptune-style piece with a shuffling waltz rhythm.
|"Blocks"
|''[[Minecraft - Volume Beta]]'' No. 28
|[[File:Blocks.ogg|noicon]]
| 5:45
|-
|style="text-align:center"{{sort|4|{{InvSprite|Music Disc Chirp}}}}
|chirp
|C418
|A retro tune with a sample from the 1970 MATTEL Bossa Nova Style Program Disc<ref name=":0">{{Ytl|G89vIy8Guj4|Optigan Program Disc: Bossa Nova Style|t=22}}</ref> playing in the background, along with a vaporwave-like version of Mall.
|"Chirp"
|''[[Minecraft - Volume Beta]]'' No. 20
|[[File:Chirp.ogg|noicon]]
|3:05
|-
|style="text-align:center"{{sort|5|{{InvSprite|Music Disc Far}}}}
|far
|C418
|A calm, relaxing nature-like melody played on a watery echoing synth, accompanied by other synths playing chords.
|"Far"
|''[[Minecraft - Volume Beta]]'' No. 29
|[[File:Far.ogg|noicon]]
|2:54
|-
|style="text-align:center"{{sort|6|{{InvSprite|Music Disc Mall}}}}
| mall
|C418
|Serene music played on a kalimba along with other instruments.
|"Mall"
|''[[Minecraft - Volume Beta]]'' No. 27
|[[File:Mall.ogg|noicon]]
|3:17
|-
|style="text-align:center"{{sort|7|{{InvSprite|Music Disc Mellohi}}}}
|mellohi
|C418
|A slow, slightly melancholic waltz with a sample from a mellotron playing in the background.
|"Mellohi"
|''[[Minecraft - Volume Beta]]'' No. 22
|[[File:Mellohi.ogg|noicon]]
|1:36
|-
|style="text-align:center"{{sort|8|{{InvSprite|Music Disc Stal}}}}
|stal 
|C418
|A moderate jazz-like piece played on a piano, saxophone, and double bass, with recorder interludes.
|"Stal"
|''[[Minecraft - Volume Beta]]'' No. 23 
|[[File:Stal.ogg|noicon]]
|2:30
|-
|style="text-align:center"{{sort|9|{{InvSprite|Music Disc Strad}}}}
|strad
|C418
|A tropical-sounding piece with the main melody being played on a {{w|steelpan}}, accompanied by a layered mix of strings, woodwinds, and soft synths, and supported by a glitchy electronic tribal percussion beat, ending on some melancholy {{w|melodica}} chords. Bits and pieces of the melody from "Minecraft" can be heard throughout, sometimes played on bells in the background.
|"Strad"
|''[[Minecraft - Volume Beta]]'' No. 24
|[[File:Strad.ogg|noicon]]
|3:08
|-
|style="text-align:center"{{sort|10|{{InvSprite|Music Disc Ward}}}}
|ward
|C418
|Starts off with an excerpt from Chopin's Funeral March<ref>{{w|File:Frederic_Chopin_Piano_Sonata_No.2_in_B_flat_minor_Op35_-_III_Marche_Funebre.ogg|Frédéric Chopin - Piano Sonata No.2 - III ''Marche Funèbre''}}</ref> played on a synth organ, but it is interrupted by vinyl static and switches to an electronic, upbeat tune with a dark undertone.
|"Ward"
|''[[Minecraft - Volume Beta]]'' No. 26
|[[File:Ward.ogg|noicon]]
|4:11 
|-
|style="text-align:center"{{sort|11|{{InvSprite|Music Disc 11}}}}
|11
|C418
|A recording that begins with vinyl static, followed by the sounds of someone walking on or breaking [[stone]] blocks, heavy breathing, and rustling. Haunting background noises are heard throughout the recording, resembling the ambient sound effects that play in the game's caves (and by extension, the sounds of the disc "13"). After the background noises quiet down for a moment, metallic clicking or scraping noises can be heard, followed by coughing, sounds of page-turning, then more clicking or scraping. The background noises resume more loudly, and the sounds of faster footsteps or breaking [[stone]] blocks can be heard, which accelerate until they are replaced with [[dirt]] sounds as the background noises approach. A loud, distorted noise is heard roughly a second before the recording abruptly stops. At this point, one hears only quiet beeping, vinyl static, and a hissing noise, and the track ends.
|"Eleven"
|''[[Minecraft - Volume Beta]]'' No. 25
|[[File:11.ogg|noicon]]
|1:11
|-
|style="text-align:center"{{sort|12|{{InvSprite|Music Disc Wait}}}}
|wait
|C418
|An upbeat remix of "Minecraft". It starts out with some quiet synth Latin percussion and some soft synths playing a melody, and then expands into a chiptune-esque song. This disc was originally named "where are we now".<ref name=":1">{{tweet|notch|119412635828629504|I had trouble getting Where Are We Now to play because of the spaces in the name. Working on it. :)|Sep 29, 2011}}</ref><ref name=":2">{{bug|MC-894}}</ref>
|"Wait"
|''[[Minecraft - Volume Beta]]'' No. 21
|[[File:where are we now.ogg|noicon]]
|3:58 (Fades at 3:51)
|-
|style="text-align:center"{{sort|14|{{InvSprite|Music Disc Otherside}}}}
| otherside
|Lena Raine
|Starts off as an uplifting and happy retro-style ostinato in a major key. Upon reaching the second half, the song changes to a minor key and progresses into a darker melody, eventually cutting off abruptly. A clock can be heard ticking quickly at the end.
|"otherside"
|''[[Minecraft: Caves & Cliffs (Original Game Soundtrack)]]'' No. 7 
|[[File:Otherside.ogg|noicon]]
|3:15
|-
|style="text-align:center"{{sort|15|{{InvSprite|Music Disc 5}}}}
|5
|Samuel Åberg
| A recording that begins with static and a warped noise. After a moment of silence, there is the sound of a [[Flint and Steel|flint and steel]] lighting, [[fire]], a [[bat]], and then walking. The walking becomes heavier and metallic. The sound stops with sounds of breathing followed by a roar which warps into soft, relaxing music. The music soon transitions back, to the sound of footsteps, [[lava]] bubbling, and  [[Block of Amethyst|amethyst]]. A warped noise and a [[sculk shrieker]] can be heard activating. Then a coughing sound, something metallic and stone and sand sounds followed by another warped noise can be heard. Then, after a moment of silence, a heartbeat begins and a rising static can be heard in the background. Sounds of [[deepslate]] can then be heard, along with strange noises building up and abruptly stopping. A crescendo of overlapping warped sounds is followed then dies down. The footsteps begin again, much quieter now. A [[sculk sensor]] clicks, and a [[warden]] roars. The wardens roar warps and slows down, and then the disc ends.
|"Five"
|''[[Minecraft: The Wild Update (Original Game Soundtrack)]]'' No.4 
|[[File:Five.ogg|noicon]]
|2:58
|-
|style="text-align:center"{{sort|13|{{InvSprite|Music Disc Pigstep}}}}
|Pigstep
|Lena Raine
|An intense, somewhat hip-hop-style beat beginning with a repeating tuba-like tune and dubstep-style drop, along with more mellow parts reminiscent of a radio.
|"Pigstep - Mono Mix"
|''[[Minecraft: Nether Update (Original Game Soundtrack)]]'' No. 4
|[[File:Pigstep.ogg|noicon]]
|2:28
|-
|style="text-align:center"{{sort|16|{{InvSprite|Music Disc Relic}}}}
|Relic 
|Aaron Cherof
|The recording begins with vinyl static and record grain before abruptly bursting out into an upbeat 8-bit tune of low audio quality. The main melody of "A Time of Legends" and "The Well of Fate" from the [[Minecraft Legends:Original Game Soundtrack|original soundtrack]] of [[Minecraft Legends]] is heard later, played on the same 8-bit synthesizer. Later in the song a bass is added to the noise. Slight record grain and warbled pitches can be heard throughout the song.
|"Relic"
|''[[Minecraft: Trails & Tales (Original Game Soundtrack)]]'' No. 5
|[[File:Relic.ogg|noicon]]
|3:38
|}

==Usage==
The music discs resemble older 78-{{tooltip|rpm|Revolutions per minute}} {{w|phonograph records}} from the early 20th century, which were often played in jukeboxes from that era. They are used in ''Minecraft'' in a similar fashion: A music disc can be played on a [[jukebox]] by holding the disc and right-clicking on the jukebox.

The in-game music disc tracks are all {{w|Monaural|monaural}} recordings. Tracks released for listening outside of the game are in {{w|Stereophonic_sound|stereo}}.

If the [[player]] places a [[Redstone Comparator|comparator]] besides a jukebox, the intensity of the redstone signal depends on the disc currently played, with the following values:
{| class="wikitable"
!Disc
! Intensity
|-
|(no disc)||{{BlockSprite|redstone-dust-dot-off}} 0
|-
|{{ItemSprite|music-disc-13}} ''13''||{{BlockSprite|redstone-dust-dot-on}} 1
|-
|{{ItemSprite|music-disc-cat}} ''cat''||{{BlockSprite|redstone-dust-dot-on}} 2
|-
|{{ItemSprite|music-disc-blocks}} ''blocks''||{{BlockSprite|redstone-dust-dot-on}} 3
|-
|{{ItemSprite|music-disc-chirp}} ''chirp''||{{BlockSprite|redstone-dust-dot-on}} 4
|-
|{{ItemSprite|music-disc-far}} ''far''||{{BlockSprite|redstone-dust-dot-on}} 5
|-
|{{ItemSprite|music-disc-mall}} ''mall''||{{BlockSprite|redstone-dust-dot-on}} 6
|-
|{{ItemSprite|music-disc-mellohi}} ''mellohi''||{{BlockSprite|redstone-dust-dot-on}} 7
|-
|{{ItemSprite|music-disc-stal}} ''stal''||{{BlockSprite|redstone-dust-dot-on}} 8
|-
|{{ItemSprite|music-disc-strad}} ''strad''||{{BlockSprite|redstone-dust-dot-on}} 9
|-
|{{ItemSprite|music-disc-ward}} ''ward''||{{BlockSprite|redstone-dust-dot-on}} 10
|-
|{{ItemSprite|music-disc-11}} ''11''||{{BlockSprite|redstone-dust-dot-on}} 11
|-
|{{ItemSprite|music-disc-wait}} ''wait''||{{BlockSprite|redstone-dust-dot-on}} 12
|-
|{{ItemSprite|music-disc-pigstep}} ''Pigstep''||{{BlockSprite|redstone-dust-dot-on}} 13
|-
|{{ItemSprite|music-disc-otherside}} ''otherside''<br>{{ItemSprite|music-disc-relic}} ''Relic''||{{BlockSprite|redstone-dust-dot-on}} 14
|-
|{{ItemSprite|music-disc-5}} ''5''||{{BlockSprite|redstone-dust-dot-on}} 15
|}

==Data values==
===ID===
{{JE}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|firstcolumnname=Track
|generatetranslationkeys=y
|displayname=C418 - 13
|spritename=music-disc-13
|spritetype=item
|nameid=music_disc_13
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - cat
|spritename=music-disc-cat
|spritetype=item
|nameid=music_disc_cat
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - blocks
|spritename=music-disc-blocks
|spritetype=item
|nameid=music_disc_blocks
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - chirp
|spritename=music-disc-chirp
|spritetype=item
|nameid=music_disc_chirp
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - far
|spritename=music-disc-far
|spritetype=item
|nameid=music_disc_far
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - mall
|spritename=music-disc-mall
|spritetype=item
|nameid=music_disc_mall
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - mellohi
|spritename=music-disc-mellohi
|spritetype=item
|nameid=music_disc_mellohi
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - stal
|spritename=music-disc-stal
|spritetype=item
|nameid=music_disc_stal
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - strad
|spritename=music-disc-strad
|spritetype=item
|nameid=music_disc_strad
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - ward
|spritename=music-disc-ward
|spritetype=item
|nameid=music_disc_ward
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - 11
|spritename=music-disc-11
|spritetype=item
|nameid=music_disc_11
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - wait
|spritename=music-disc-wait
|spritetype=item
|nameid=music_disc_wait
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=Lena Raine - otherside
|spritename=music-disc-otherside
|spritetype=item
|nameid=music_disc_otherside
|itemtags=music_discs
|form=item}}
{{ID table
|displayname=Samuel Åberg - 5
|spritename=music-disc-5
|spritetype=item
|nameid=music_disc_5
|itemtags=music_discs
|form=item}}
{{ID table
|displayname=Lena Raine - Pigstep
|spritename=music-disc-pigstep
|spritetype=item
|nameid=music_disc_pigstep
|itemtags=music_discs
|form=item}}
{{ID table
|displayname=Aaron Cherof - Relic
|spritename=music-disc-relic
|spritetype=item
|nameid=music_disc_relic
|itemtags=music_discs
|form=item
|foot=1}}

{{BE}}:
{{ID table
|edition=bedrock
|firstcolumnname=Track
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=C418 - 13
|spritename=music-disc-13
|spritetype=item
|nameid=music_disc_13
|aliasid=record_13
|id=541
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - cat
|spritename=music-disc-cat
|spritetype=item
|nameid=music_disc_cat
|aliasid=record_cat
|id=542
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - blocks
|spritename=music-disc-blocks
|spritetype=item
|nameid=music_disc_blocks
|aliasid=record_blocks
|id=543
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - chirp
|spritename=music-disc-chirp
|spritetype=item
|nameid=music_disc_chirp
|aliasid=record_chirp
|id=544
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - far
|spritename=music-disc-far
|spritetype=item
|nameid=music_disc_far
|aliasid=record_far
|id=545
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - mall
|spritename=music-disc-mall
|spritetype=item
|nameid=music_disc_mall
|aliasid=record_mall
|id=546
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - mellohi
|spritename=music-disc-mellohi
|spritetype=item
|nameid=music_disc_mellohi
|aliasid=record_mellohi
|id=547
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - stal
|spritename=music-disc-stal
|spritetype=item
|nameid=music_disc_stal
|aliasid=record_stal
|id=548
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - strad
|spritename=music-disc-strad
|spritetype=item
|nameid=music_disc_strad
|aliasid=record_strad
|id=549
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - ward
|spritename=music-disc-ward
|spritetype=item
|nameid=music_disc_ward
|aliasid=record_ward
|id=550
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - 11
|spritename=music-disc-11
|spritetype=item
|nameid=music_disc_11
|aliasid=record_11
|id=551
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - wait
|spritename=music-disc-wait
|spritetype=item
|nameid=music_disc_wait
|aliasid=record_wait
|id=552
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=Lena Raine - otherside
|spritename=music-disc-otherside
|spritetype=item
|nameid=music_disc_otherside
|aliasid=record_otherside
|id=634
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=Samuel Åberg - 5
|spritename=music-disc-5
|spritetype=item
|nameid=music_disc_5
|aliasid=record_5
|id=644
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=Lena Raine - Pigstep
|spritename=music-disc-pigstep
|spritetype=item
|nameid=music_disc_pigstep
|aliasid=record_pigstep
|id=628
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=Aaron Cherof - Relic
|spritename=music-disc-relic
|spritetype=item
|nameid=music_disc_relic
|aliasid=record_relic
|id=702
|form=item
|translationkey=item.record.name
|foot=1}}

===Raw music files===
{{in|je}}, the music disc files can be found in {{code|[[.minecraft]]/assets/objects}}.{{fn|The files in the <samp>objects</samp> folder are hashed. To locate the music disc files, see [[Tutorials/Sound directory]].}}

{{in|be}}, it can be found in:

*Mobile versions: {{code|[[com.mojang]]/resource_packs/music/vanilla_music/sounds/music/game/records/}}
*Windows: {{code|%PROGRAMFILES%\WindowsApps\Microsoft.MinecraftUWP_''<version>''_x64_8wekyb3d8bbwe\data\resource_packs\vanilla_music\sounds\music\game\records}}

All music disc files are in {{w|Vorbis|Ogg Vorbis}}.

{{fnlist}}

==Achievements==
{{load achievements|sound of music}}

==Advancements==
{{load advancements|sound of music}}

==History==
{{History|java alpha}}
{{History||April 2010|link={{ytl|3Sthf0u94Cs}}|[[Daniel Rosenfeld|C418]] uploaded a video to {{w|YouTube}}, containing previews of many music tracks that were later added as records. (This video is no longer available.)}}
{{History||v1.0.14|[[File:Music Disc 13.png|32px]] "13" and [[File:Music Disc Cat.png|32px]] "cat" are the first records to be added to ''Minecraft''.
|Records are officially named "music discs". 
|"13" was an ambient track before this update.{{info needed|so did it play randomly like other music?}}
|Music discs have been added to [[dungeon]] chests.
|Music discs can also be [[drops|dropped]] by [[creeper]]s shot by [[skeleton]]s.}}
{{History|java beta}}
{{History||1.2_02|Before this update, gold "13" music discs were noticeably more common than green "cat" ones. Now, green "cat" discs are more often [[drops|dropped]].}}
{{History||August 1, 2011|link=https://twitter.com/C418/status/98174571756265473|C418 announces new music discs.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Music Disc Blocks.png|32px]] [[File:Music Disc Chirp.png|32px]] [[File:Music Disc Far.png|32px]] [[File:Music Disc Mall.png|32px]] [[File:Music Disc Mellohi.png|32px]] [[File:Music Disc Stal.png|32px]] [[File:Music Disc Strad.png|32px]] [[File:Music Disc Ward.png|32px]] [[File:Music Disc 11 JE1 BE1.png|32px]] 9 new music discs have been implemented, adding up to a total of 11 discs, although they are not [[drops|dropped]] by any [[creeper]]s. These are stored along with the first discs, 13.mus and cat.mus, (which have been decoded as 13.ogg and cat.ogg respectively). Before this update, there were 10 unused music files, now only one remains unused, which is the song "where are we now". "Where are we now" was not added with the rest of the new 9 music discs because of problems with the spaces in the name.<ref name=":1"></ref><ref name=":2"></ref>}}
{{History||1.1|snap=11w50a|All of the music discs, except for "11", can now be dropped by creepers killed by [[skeleton]]s.
|All music discs now have the same probability of being [[drops|dropped]].}}
{{History||1.4.4|snap=1.4.3|[[File:Music Disc Wait.png|32px]] The disc "where are we now" has been renamed to "wait" and made available in game.<ref name=":1"></ref><ref name=":2"></ref>
|The music disc "11" is now available in survival. It is dropped by [[creeper]]s in the same way as other discs.}}
{{History||1.5|snap=13w04a|Active [[jukebox]]es now give off a redstone signal when a [[Redstone Comparator|redstone comparator]] is placed behind it; its strength depends on the ID of the inserted disc.}}
{{History||1.6.1|snap=13w24a|Custom music discs can now be made using [[Resource Pack|resource pack]]s.
|Before this version, "cat" and "13" were the only discs in .ogg format, all the other discs were in .mus format, which was decrypted by ''Minecraft'' on-the-fly.}}
{{History||1.9|snap=15w44a|The average yield of music discs from [[dungeon]] chests has been decreased.}}
{{History||1.11|snap=16w39a|Music discs "cat" and "13" are now found in the new [[Woodland Mansion|woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|The IDs have been changed from {{code|record_$song}} to {{code|music_disc_$song}}.
|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 2256 through 2267.}}
{{History||1.14|snap=18w43a|[[File:Music Disc 11.png|32px]] The texture of music disc "11" has been changed.
|Music discs are now also [[drops|dropped]] by [[creeper]]s killed by [[stray]]s.}}
{{History||1.16|snap=20w16a|[[File:Music Disc Pigstep.png|32px]] Added a new music disc called "Pigstep". 
|The "Pigstep" music disc cannot be dropped by creepers, and can be obtained only from [[Bastion Remnant|bastion remnant]]s. }}
{{History||1.16.2|snap=20w30a|The chance of finding the "Pigstep" music disc in bastion remnant chests has been increased from 3.3% to 5.6%.}}
{{History||1.18|snap=21w42a|[[File:Music Disc Otherside.png|32px]] Added a new music disc called "otherside". 
|The "otherside" music disc cannot be dropped by creepers, and can be rarely obtained only from [[stronghold]] corridor chests or even more rarely from [[dungeon]] chests.}}
{{History||1.19|snap=22w13a|Music Disc "13", "cat" and "otherside" may now be found in [[ancient city]] [[chest]]s.}}
{{History|||snap=22w16a|[[File:Music Disc 5 JE1.png|32px]] Added a new music disc called "5".}}
{{History||1.19.1|snap=22w24a|Music discs are now essential to duplicate [[allay]]s.}}
{{History||1.20|snap=23w17a|[[File:Music Disc Relic JE1.png|32px]] Added a new music disc called "Relic".}}

{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Music Disc 13.png|32px]] [[File:Music Disc Cat.png|32px]] [[File:Music Disc Blocks.png|32px]] [[File:Music Disc Chirp.png|32px]] [[File:Music Disc Far.png|32px]] [[File:Music Disc Mall.png|32px]] [[File:Music Disc Mellohi.png|32px]] [[File:Music Disc Stal.png|32px]] [[File:Music Disc Strad.png|32px]] [[File:Music Disc Ward.png|32px]] [[File:Music Disc 11 JE1 BE1.png|32px]] [[File:Music Disc Wait.png|32px]] Added music discs.
|All of the music discs, except for "11", can be [[drops|dropped]] by [[creeper]]s killed by [[skeleton]]s.}}
{{History||?|The music disc "11" can now be dropped by creepers.}}
{{History||1.4.0|snap=beta 1.2.14.2|As a version exclusive, the music discs "mellohi" and "wait" can now be found inside [[Buried Treasure|buried treasure]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Music Disc 11.png|32px]] The texture of music disc "11" has been changed.
|Music discs now are [[drops|dropped]] by [[creeper]]s killed by [[stray]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Music Disc Pigstep.png|32px]] Added a new music disc called "Pigstep".}}
{{History||1.16.100|snap=beta 1.16.100.56|The IDs of music discs has been changed from {{code|record_<track>}} to {{code|music_disc_<track>}}.}}
{{History||1.18.0|snap=beta 1.18.0.22|[[File:Music Disc Otherside.png|32px]] Added a new music disc called "otherside". 
|The "otherside" music disc cannot be dropped by creepers, and can be rarely obtained only from [[stronghold]] corridor chests or even more rarely from [[dungeon]] chests.}}
{{History||1.19.0|snap=beta 1.19.0.28|[[File:Music Disc 5 JE1.png|32px]] Added a new music disc called "5".}}
{{History||1.19.10|snap=beta 1.19.10.22|Music discs are now essential to duplicate [[allay]]s.}}
{{History||1.20.0|snap=beta 1.20.0.22|[[File:Music Disc Relic JE1.png|32px]] Added a new music disc called "Relic".}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Music Disc 13.png|32px]] [[File:Music Disc Cat.png|32px]] Added "13" and "cat" as music discs.}}
{{History||xbox=TU5|[[File:Music Disc Blocks.png|32px]] [[File:Music Disc Chirp.png|32px]] [[File:Music Disc Far.png|32px]] [[File:Music Disc Mall.png|32px]] [[File:Music Disc Mellohi.png|32px]] [[File:Music Disc Stal.png|32px]] [[File:Music Disc Strad.png|32px]] [[File:Music Disc Ward.png|32px]] [[File:Music Disc 11 JE1 BE1.png|32px]] [[File:Music Disc Cat.png|32px]] Added the remaining 10 music discs.}}
{{History||xbox=TU12|[[File:Music Disc Wait.png|32px]] The "where are we now" music disc now uses the blue texture used in the [[Java Edition|PC]] version, opposed to the green "cat" texture it used to use.}}
{{History||xbox=TU22|xbone=CU10|ps=1.15|The "where are we now" music disc has been added to survival.}}
{{History||?|The "where are we now" music disc has been renamed to "wait".}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Music Disc 11.png|32px]] The texture of music disc "11" has been changed.}}
{{History|foot}}

==Gallery==
<gallery>
Music Disc 13.png|Music Disc<br>C418 - 13
Music Disc Cat.png|Music Disc<br>C418 - cat
Music Disc Blocks.png|Music Disc<br>C418 - blocks
Music Disc Chirp.png|Music Disc<br>C418 - chirp
Music Disc Far.png|Music Disc<br>C418 - far
Music Disc Mall.png|Music Disc<br>C418 - mall
Music Disc Mellohi.png|Music Disc<br>C418 - mellohi
Music Disc Stal.png|Music Disc<br>C418 - stal
Music Disc Strad.png|Music Disc<br>C418 - strad
Music Disc Ward.png|Music Disc<br>C418 - ward
Music Disc 11.png|Music Disc<br>C418 - 11
Music Disc Wait.png|Music Disc<br>C418 - wait
Music Disc Otherside.png|Music Disc<br>Lena Raine - otherside
Music Disc 5.png|Music Disc<br>Samuel Åberg - 5
Music Disc Pigstep.png|Music Disc<br>Lena Raine - Pigstep
Music Disc Relic.png|Music Disc<br>Aaron Cherof - Relic
</gallery>

==Issues==
{{issue list}}

==Trivia==

* Before [[Java Edition 1.13/Flattening|''The Flattening'']], data values used by music discs ranged from 2256 to 2267, while all other blocks/items used the first free data value available.
* The title "13" is a reference to the 13 cave ambience sounds that existed when the disc was added. Similar sounds can be heard throughout the track.  
** Because "13" was created in 2010, it actually uses older sound effects from earlier versions of the game for bow firing{{sound||Bow_Shooting_Old.ogg}}, arrow impacts{{sound||Arrow_Old.ogg}}, explosions{{sound||Explosion_Old.ogg}}, and water splashing{{sound||Water_Splash_Old.ogg}}, which have since been replaced. 
***The background noise also bears resemblance to a deeper version of the unused and removed [[Java_Edition_removed_features#Audio_loops|cave chimes]]{{sound||Cave_chimes.ogg}}. Before the explosion, there was also the sound of a creeper fuse{{sound||Creeper_fuse.ogg}} which is still used.
**C418 initially wanted the music disc to be found deep underground in a cave in-game, being played by some device.<ref>https://c418.org/albums/minecraft-volume-alpha/</ref>
*Exclusively on {{el|lce}}, an extra track called "dog" is appended to the "cat" music disc. Once "cat" is done playing and fades out, "dog" begins playing for another two minutes or so, making this version of "cat" the longest music disc in the game.
*"chirp" uses the same accompaniment samples as "The Orb of Dreamers" from the ''[[w:c:littlebigplanet:LittleBigPlanet (series)|LittleBigPlanet]]'' series.<ref>{{ytl|3Jnubcn2G-Y|Daniel Pemberton - The Orb Of Dreamers}}</ref> The samples come from the {{w|Optigan}} disc "Bossa Nova Style".<ref>{{ytl|G89vIy8Guj4|Optigan Program Disc: Bossa Nova Style|t=22}}</ref> C418 stated that it was coincidental.<ref>{{tweet|1=c418|2=314472205109043200|3=Remember when people thought I plagiarized LittleBigPlanet music? Yeah, the Optigan is a lovely instrument that I will never utilize again.|4=March 20, 2013}}</ref>
*The texture used for the music disc "chirp" was previously used for the [[camera]] tripod texture prior to [[Pocket Edition v0.9.0 alpha]].
*The title "stal" is a Swedish word meaning ''stole'' in English and a Polish word meaning ''steel''.
*The music disc "11" is the only visibly damaged music disc. 
**If the .ogg file for "11" is turned into a {{w|spectrogram}} in an audio editor, the static at the end displays what seems to be [[Player|Steve]]'s face and the numbers 12418. The numbers are a visual signature, where "C" is hexadecimal for "12", and combined with "418" creates "[[Daniel Rosenfeld|C418]]", the name of the producer of all of the music disc tracks except for "Pigstep", "otherside", "5" and "Relic".
**Within the disc are sounds, in order of appearance, of stone{{sound||Stone_dig4.ogg}}{{sound||Stone_dig1.ogg}}{{sound||Stone_dig3.ogg}}{{sound||Stone_dig2.ogg}} and dirt or gravel{{sound||Gravel_dig1.ogg}}{{sound||Gravel_dig4.ogg}}{{sound||Gravel_dig3.ogg}}{{sound||Gravel_dig2.ogg}}. At the time disc "11" was made, footstep sounds, placing sounds, and breaking sounds were the same for the respecive block. It is unknown exactly what the character was doing when these sounds were played.
**There is a track that is exclusive to the album ''[[Minecraft - Volume Beta]]'' called "Eleven", which has the same length of 1:11 and begins with the same vinyl static sound before being abruptly interrupted by a record scratching sound and switching to a new, calm piano piece.
** C418 once imagined that the "monster" chasing the person in "11" is himself "being a weird monster that occasionally records songs from strangers and then dies in '11'".<ref>{{tweet|c418|119413441793495040|Yes! I now imagine C418 being a weird monster that occasionally records songs from strangers. And then dies in 11|September 29, 2011}}</ref>
** "11" causes jukeboxes to output a redstone signal strength of 11.
** Before [[Java Edition 1.13]], the [[data value]] of "11" was 11.
**[[Brandon Pearce]] stated that the [[warden]] mob is based on the "monster" heard at the end of "11".<ref>{{ytl|pH_6-ZVOUAk|Ask Mojang #11: All About Caves & Cliffs|Minecraft|OCtober 30, 2020}}</ref>
*The music disc "wait", originally titled "where are we now", was finally added to [[Java Edition 1.4.3]] after existing solely in the game's files for an unspecified amount of time.
**"wait" used the original title "where are we now" in older versions of the Legacy Console Edition.
*"Pigstep" is the only disc to have its name capitalized in-game, and it can only be found in [[Bastion Remnant|bastion remnant]]s. It is also the music disc with the fastest beat.
*"Pigstep" is a {{w|portmanteau}} of "piglin" and "dubstep".<ref>{{tweet|kuraine|1277309336532840448|I don't have any cool insight on the title, it's just dubstep for piglins.|June 26, 2020}} </ref>
*“5” is the only music disc that is crafted, as it requires 9 disc fragments in a 3×3 formation to craft.
**In disc “5”, there are some sounds taken from [[Minecraft Dungeons]] of the [[MCD:Endersent|Endersent]] {{sound||D6 sfx mob endersentIdleVocal-001.ogg}}, the [[Minecraft Dungeons:Vengeful Heart of Ender|Vengeful Heart of Ender]]{{Sound||D6 sfx mob finalFormMagicChimes-004.ogg}}, and relating to an [[MCD:Enderman|enderman]] {{sound||Sfx_mob_eventEnderman2D-001.ogg}}.
***Other sounds can be heard. In order of appearance, these are: flint and steel clicking {{sound||Flint_and_steel_click.ogg}}, a bat{{sound||Bat_idle4.ogg}}{{sound||Bat_takeoff.ogg}}{{sound||Bat_loop.ogg}}, lava bubbling{{sound||Lava.ogg}}, [[amethyst cluster]] breaking{{sound||Amethyst_Cluster_break1.ogg}}, a [[sculk shrieker]]{{sound||Sculk shrieker shriek1.ogg}}, stone{{sound||Stone_hit6.ogg}}{{sound||Stone_hit5.ogg}}{{sound||Stone_hit4.ogg}}, sand{{sound||Sand_hit1.ogg}}{{sound||Sand_hit5.ogg}}, a sculk shrieker{{sound||Sculk shrieker shriek1.ogg}} overlaying a warden{{sound||Warden_ambient1.ogg}}, [[sculk sensor]] clicking{{sound||Sculk Sensor sculk clicking2.ogg}}, and a [[warden]] roaring{{sound||Warden_roar5.ogg}}.

==See also== 
*[[Music]]

*[[Daniel Rosenfeld|C418]]
**''[[Minecraft - Volume Alpha]]''
**''[[Minecraft - Volume Beta]]''
*[[Lena Raine]] 
**''[[Minecraft: Nether Update (Original Game Soundtrack)]]''
**''[[Minecraft: Caves & Cliffs (Original Game Soundtrack)]]''
**''[[Minecraft: The Wild Update (Original Game Soundtrack)]]''
*[[Samuel Åberg]]
*[[Aaron Cherof]]

==References==
{{reflist}}

==External Links== 
*[https://www.minecraft.net/en-us/article/taking-inventory--music-disc Taking Inventory: Music Disc] – Minecraft.net on January 14, 2021

{{Items}}
{{Soundtrack}}

[[de:Schallplatte]]
[[es:Disco de música]]
[[fr:Disque de musique]]
[[ja:レコード]]
[[ko:음반]]
[[nl:Muziekplaat]]
[[pl:Płyta muzyczna]]
[[pt:Disco musical]]
[[ru:Пластинка]]
[[tr:Müzik Diski]]
[[zh:音乐唱片]]</li></ul>
20w22aThe Transparency shader was added for Fabulous! graphics mode.
1.17
{{Extension DPL}}<ul><li>[[Pickaxe|Pickaxe]]<br/>{{Dungeons hatnote|type=weapon}}
{{Redirect|Diamond Pickaxe|the ''Minecraft Dungeons'' weapon|MCD:Diamond Pickaxe}}
{{Redirect|Pick|the block|Sea Pickle|the control|Controls#Pick Block|the joke block|Pickaxe Block}}
{{Item
| image = <gallery>
Wooden Pickaxe.png | Wooden
Stone Pickaxe.png | Stone
Iron Pickaxe.png | Iron
Golden Pickaxe.png | Golden
Diamond Pickaxe.png | Diamond
Netherite Pickaxe.png | Netherite
</gallery>
|rarity = Common
|renewable =
* '''Netherite''': No
* '''Others''': Yes
|durability =
Java Edition:
* Wood: 59
* Stone: 131
* Iron: 250
* Golden: 32
* Diamond: 1,561
* Netherite: 2,031

Bedrock Edition:
* Wood: 60
* Stone: 132
* Iron: 251
* Golden: 33
* Diamond: 1,562
* Netherite: 2,032
| stackable = No
}}

A '''pickaxe''' is a [[tools|tool]] required to mine [[ore]]s, [[rock|rocks]], rock-based blocks and metal-based [[block]]s quickly and obtain them as items. A pickaxe mines faster and can obtain more block types as items depending on the material it is made from.

== Obtaining ==
=== Crafting ===
Pickaxes are crafted using 2 [[stick]]s and 3 identical units of tool material.

{{crafting |showdescription=1 |showname=0 |head=1
  |name=[[Pickaxe]]
  |A1={Any Planks};  Iron Ingot; Gold Ingot; Diamond
  |B1={Any Planks};  Iron Ingot; Gold Ingot; Diamond
  |C1={Any Planks};  Iron Ingot; Gold Ingot; Diamond
  |B2=Stick
  |B3=Stick
  |Output=Wooden Pickaxe; Iron Pickaxe; Golden Pickaxe; Diamond Pickaxe
  |type=Tool
}}
{{Crafting
  |name=[[Stone Pickaxe]]
  |A1=Any stone-tier block |B1=Any stone-tier block |C1=Any stone-tier block
  |B2=Stick
  |B3=Stick
  |Output=Stone Pickaxe
  |description=Can use cobblestone and its other variants interchangeably.
  |type=Tool
}}
{{crafting |foot=1 |ignoreusage=1
  |name=[[Pickaxe]]
  |ingredients=Matching Damaged [[Pickaxe]]s
  |Damaged Wooden Pickaxe; Damaged Stone Pickaxe; Damaged Iron Pickaxe; Damaged Golden Pickaxe; Damaged Diamond Pickaxe; Damaged Netherite Pickaxe
  |Damaged Wooden Pickaxe; Damaged Stone Pickaxe; Damaged Iron Pickaxe; Damaged Golden Pickaxe; Damaged Diamond Pickaxe; Damaged Netherite Pickaxe
  |Output=Wooden Pickaxe; Stone Pickaxe; Iron Pickaxe; Golden Pickaxe; Diamond Pickaxe; Netherite Pickaxe
  |description=The durability of the two pickaxes is added together, plus an extra 5% of the tool type's total durability.
  |type=Tool
}}

=== Upgrading ===

{{Smithing
|head=1
|Netherite Upgrade
|Diamond Pickaxe
|Netherite Ingot
|Netherite Pickaxe
|tail=1
}}

=== Repairing ===
==== Grinding ====

{{grinding
|showdescription=1
|ingredients=Matching Damaged [[Pickaxe]]s
|Damaged Wooden Pickaxe; Damaged Stone Pickaxe; Damaged Iron Pickaxe; Damaged Golden Pickaxe; Damaged Diamond Pickaxe; Damaged Netherite Pickaxe
|Damaged Wooden Pickaxe; Damaged Stone Pickaxe; Damaged Iron Pickaxe; Damaged Golden Pickaxe; Damaged Diamond Pickaxe; Damaged Netherite Pickaxe
|Wooden Pickaxe; Stone Pickaxe; Iron Pickaxe; Golden Pickaxe; Diamond Pickaxe; Netherite Pickaxe
|description=The durability of the two pickaxes is added together, plus an extra 5% durability.
}}

==== Unit repair ====
{{main|Anvil mechanics#Unit repair}}
Pickaxes can be repaired in an [[anvil]] by adding units of the [[tiers|tier's]] repair material, with each repair material restoring 25% of the pickaxe's maximum durability, rounded down.

=== Natural generation ===
{{LootChestItem|wooden-pickaxe,stone-pickaxe,iron-pickaxe,level-enchanted-iron-pickaxe,random-enchanted-golden-pickaxe,level-enchanted-diamond-pickaxe,random-enchanted-diamond-pickaxe,damaged-random-enchanted-diamond-pickaxe}}

=== Trading ===
{{IN|bedrock}}, novice-level toolsmith [[Villager|villagers]] have a 25% chance to sell stone pickaxes for one [[emerald]], Journeyman-level toolsmith villagers have a 25% chance to sell enchanted iron pickaxes for 3 emeralds, and master-level toolsmith villagers always sell enchanted diamond pickaxes for 13 emeralds.

{{IN|java}}, novice-level toolsmith villagers have a 40% chance to sell a stone pickaxe for one emerald, journeyman-level toolsmith villagers have a 40% chance to sell an enchanted iron pickaxe for 7–22 emeralds, and a master-level toolsmith always sells an enchanted diamond pickaxe for 18–35 emeralds.

The enchantments are the same as the ones obtained from an [[enchantment table]] at levels 5–19.

=== Villager gifts ===

{{IN|JE}}, toolsmith [[villager]]s throw stone pickaxes at players under the [[Hero of the Village]] effect.

=== Mob loot ===
{{IN|BE}}, [[pillager]]s and [[vindicator]]s have a chance of dropping a damaged iron pickaxe when killed during a [[raid]]. The pickaxe has a 50% chance of being enchanted with random enchantment(s).

== Usage ==
=== Mining ===
A pickaxe is used to break stone and metal-based materials faster. Breaking a block with a pickaxe consumes one use (one durability point). No durability is consumed for blocks that break instantly. Pickaxes have different amounts of uses based on the type:
* Wooden: 60
* Stone: 132
* Iron: 251
* Golden: 33
* Diamond: 1562
* Netherite: 2032

Different qualities of pickaxe are required to successfully harvest certain ores and blocks. For example, while [[stone]] can be mined with any pickaxe, [[gold ore]] must be mined with an [[iron]], [[diamond]], or [[netherite]] pickaxe, or else the player harvests no ore. Different pickaxes also mine many materials at different speeds:

==== Speed ====
The following table shows the time it takes to break each type of block.
* A <span style="background-color:#FFC7CE;color:#9C0006;">red</span> background indicates that the block cannot be harvested with that type of pickaxe.
* A <span style="background-color:#FFFFDD;color:#8A7600;">yellow</span> background indicates that the block cannot be harvested with that type of pickaxe, but still drops something.
* A <span style="background-color:#C6EFCE;color:#006100;">green</span> background indicates that the block can be harvested with that type of pickaxe.
<!-- Table is sorted by hardness (mining time with diamond shows well), then by name -->
{|class="wikitable collapsible collapsed" data-description="Mining time by block" style="background-color: transparent;"
! Times to break blocks by pickaxe
|-
|
{{breaking row|sort=1|simple=1|Obsidian|Diamond}}
{{breaking row|Crying Obsidian|Diamond}}
{{breaking row|Respawn Anchor|Diamond}}
{{breaking row|Block of Netherite|Diamond}}
{{breaking row|Ancient Debris|Diamond}}
{{breaking row|Ender Chest|Wood}}
{{breaking row|Anvil|Wood}}
{{breaking row|Bell|Wood}}
{{breaking row|Block of Coal|Wood}}
{{breaking row|Block of Diamond|Iron}}
{{breaking row|Block of Emerald|Iron}}
{{breaking row|Block of Iron|Stone}}
{{breaking row|Block of Raw Copper|Stone}}
{{breaking row|Block of Raw Gold|Iron}}
{{breaking row|Block of Raw Iron|Stone}}
{{breaking row|Block of Redstone|Wood}}
{{breaking row|Chain|Wood}}
{{breaking row|Enchantment Table|Wood}}
{{breaking row|Iron Bars|Wood}}
{{breaking row|Iron Door|Wood|item=1|link=Door}}
{{breaking row|Iron Trapdoor|Wood|link=Trapdoor}}
{{breaking row|Monster Spawner|Wood}}
{{breaking row|Deepslate Coal Ore|Wood}}
{{breaking row|Deepslate Copper Ore|Wood}}
{{breaking row|Deepslate Diamond Ore|Wood}}
{{breaking row|Deepslate Emerald Ore|Wood}}
{{breaking row|Deepslate Gold Ore|Wood}}
{{breaking row|Deepslate Iron Ore|Wood}}
{{breaking row|Deepslate Lapis Lazuli Ore|Wood}}
{{breaking row|Deepslate Redstone Ore|Wood}}
{{breaking row|Blast furnace|Wood}}
{{breaking row|Cobbled Deepslate|Wood}}
{{breaking row|Chiseled Deepslate|Wood}}
{{breaking row|Deepslate Bricks|Wood}}
{{breaking row|Deepslate Tiles|Wood}}
{{breaking row|Polished Deepslate|Wood}}
{{breaking row|Dispenser|Wood}}
{{breaking row|Dropper|Wood}}
{{breaking row|Furnace|Wood}}
{{breaking row|Lantern|wood}}
{{breaking row|Lodestone|Wood}}
{{breaking row|Smoker|Wood}}
{{breaking row|Stonecutter|Wood}}
{{breaking row|Conduit}}
{{breaking row|Block of Gold|Iron}}
{{breaking row|Block of Lapis Lazuli|Stone}}
{{breaking row|Coal Ore|Wood}}
{{breaking row|Copper Ore|Wood}}
{{breaking row|Copper Blocks|Wood}}
{{breaking row|Cut Copper|Wood}}
{{breaking row|Cut Copper Slab|Wood}}
{{breaking row|Cut Copper Stairs|Wood}}
{{breaking row|Deepslate|Wood}}
{{breaking row|Dragon Egg
 |note=<ref group="note">The dragon egg can be mined directly only when there aren't any air blocks available for it to teleport to. However, the dragon egg can be collected by other means.</ref>}}
{{breaking row|Diamond Ore|Iron}}
{{breaking row|Emerald Ore|Iron}}
{{breaking row|End Stone|Wood}}
{{breaking row|Gold Ore|Iron}}
{{breaking row|Hopper|Wood}}
{{breaking row|Iron Ore|Stone}}
{{breaking row|Lightning Rod|Wood}}
{{breaking row|Lapis Lazuli Ore|Stone}}
{{breaking row|Nether Quartz Ore|Wood}}
{{breaking row|Nether Gold Ore|Wood}}
{{breaking row|Observer|Wood}}
{{breaking row|Redstone Ore|Iron}}
{{breaking row|Blue Ice|drop=0}}
{{breaking row|Compound Creator|Wood|drop=1|note=<ref group="note" name="Chemtable">Chemistry tables are slow to break by hand, similar to blocks that require a pickaxe to mine. However, they still drop as items.</ref>}}
{{breaking row|Heat Block|Wood}}
{{breaking row|Grindstone|Wood}}
{{breaking row|Bone Block|Wood}}
{{breaking row|Brick Stairs|Wood|link=Stairs}}
{{breaking row|Bricks|Wood}}
{{breaking row|Cauldron|Wood}}
{{breaking row|Cobblestone|Wood}}
{{breaking row|link=Stairs|Cobblestone Stairs|Wood}}
{{breaking row|Cobblestone Wall|Wood}}
{{breaking row|Mossy Cobblestone|Wood}}
{{breaking row|Nether Bricks|Wood}}
{{breaking row|Nether Brick Fence|Wood}}
{{breaking row|link=Stairs|Nether Brick Stairs|Wood}}
{{breaking row|Red Nether Bricks|Wood}}
{{breaking row|Polished Blackstone|Wood}}
{{breaking row|link=Slab|Stone Slabs|sprite=all-slabs|Wood}}
{{breaking row|Smooth Stone|Wood}}
{{breaking row|Shulker Box}}
{{breaking row|Concrete|Wood}}
{{breaking row|Andesite|Wood}}
{{breaking row|Dark Prismarine|Wood}}
{{breaking row|Diorite|Wood}}
{{breaking row|Dripstone Block|Wood}}
{{breaking row|Granite|Wood}}
{{breaking row|Mud Bricks|Wood}}
{{breaking row|Pointed Dripstone}}
{{breaking row|Prismarine|Wood}}
{{breaking row|Prismarine Bricks|Wood}}
{{breaking row|Purpur block|Wood}}
{{breaking row|Purpur pillar|Wood}}
{{breaking row|Stone|Wood}}
{{breaking row|Stone Bricks|Wood}}
{{breaking row|Tuff|Wood}}
{{breaking row|link=Stairs|Stone Brick Stairs|Wood}}
{{breaking row|Amethyst Bud|drop=0}}
{{breaking row|Amethyst Cluster|drop=0}}
{{breaking row|Blackstone|Wood}}
{{breaking row|Block of Amethyst|Wood}}
{{breaking row|Budding Amethyst|drop=0}}
{{breaking row|Chiseled Polished Blackstone|Wood}}
{{breaking row|Polished Blackstone Bricks|Wood}}
{{breaking row|Gilded Blackstone|Wood}}
{{breaking row|Glazed Terracotta|Wood}}
{{breaking row|Terracotta|Wood}}
{{breaking row|Basalt|Wood}}
{{breaking row|Smooth Basalt|Wood}}
{{breaking row|Polished Basalt|Wood}}
{{breaking row|Packed Mud}}
{{breaking row|Block of Quartz|Wood}}
{{breaking row|Quartz Stairs|Wood|link=Stairs}}
{{breaking row|Red Sandstone|Wood}}
{{breaking row|Red Sandstone Stairs|Wood|link=stairs}}
{{breaking row|Sandstone|Wood}}
{{breaking row|Sandstone Stairs|Wood|link=stairs}}
{{breaking row|Calcite|Wood}}
{{breaking row|Rail}}
{{breaking row|Brewing Stand|Wood}}
{{breaking row|Stone Button|any}}
{{breaking row|Ice|drop=0}}
{{breaking row|Magma Block|Wood}}
{{breaking row|Packed Ice|drop=0}}
{{breaking row|Frosted Ice|drop=0}}
{{breaking row|Stone Pressure Plate|Wood}}
{{breaking row|Netherrack|Wood}}
{{breaking row|sprite=crimson-nylium|Nylium|Wood|foot=1}}
|}

=== Weapon ===
Hitting a mob with a pickaxe is a stronger attack than using fists. Pickaxes lose 2 durability when used as a weapon.

==== Java Edition ====
Pickaxes have an attack speed modifier of −2.8, meaning they take about 0.83 seconds to [[Damage#Attack cooldown|recover]]. All pickaxes have an attack speed of 1.2 hits per second. They deal different damage based on the type:

{|class="wikitable" style="text-align:center" data-description="Attack damage"
! Pickaxe type
! Attack damage
! Damage per<br> second (DPS)
|-
|{{ItemLink|Wooden Pickaxe}} ||rowspan=2 |{{hp|2}} ||rowspan=2 |2.4
|-
|{{ItemLink|Golden Pickaxe}}
|-
|{{ItemLink|Stone Pickaxe}} ||{{hp|3}} ||3.6
|-
|{{ItemLink|Iron Pickaxe}} ||{{hp|4}} ||4.8
|-
|{{ItemLink|Diamond Pickaxe}} ||{{hp|5}} ||6
|-
|{{ItemLink|Netherite Pickaxe}} ||{{hp|6}} ||7.2
|}

==== Bedrock Edition ====
{{IN|bedrock}}, pickaxes always attack instantly and do the following damage:

{|class="wikitable" style="text-align:center" data-description="Attack damage"
! Pickaxe type
! Attack damage
|-
|{{ItemLink|Wooden Pickaxe}}<br />{{ItemLink|Golden Pickaxe}} ||{{hp|3}}
|-
|{{ItemLink|Stone Pickaxe}} ||{{hp|4}}
|-
|{{ItemLink|Iron Pickaxe}} ||{{hp|5}}
|-
|{{ItemLink|Diamond Pickaxe}} ||{{hp|6}}
|-
|{{ItemLink|Netherite Pickaxe}} ||{{hp|7}}
|}

=== Enchantments ===
A pickaxe can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Efficiency]]
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Fortune]]<ref group=note name=note1>Fortune and Silk Touch are mutually exclusive.</ref>
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Silk Touch]]<ref group=note name=note1/>
|I
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|}

{{Notelist}}

=== Fuel ===
Wooden pickaxes can be used as a fuel in [[furnace]]s, smelting 1 item per wooden pickaxe.

=== Smelting ingredient ===
{{Smelting|showname=1|Iron Pickaxe;Golden Pickaxe|Iron Nugget;Gold Nugget|0,1}}
===Piglins===
{{EntityLink|Piglin|Piglins}} are attracted to golden pickaxes and run toward any golden pickaxes on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a pickaxe's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Random break.ogg
|source=player
|description=When a shovel's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Wooden Pickaxe
|spritetype=item
|nameid=wooden_pickaxe
|form=item}}
{{ID table
|displayname=Stone Pickaxe
|spritetype=item
|nameid=stone_pickaxe
|form=item}}
{{ID table
|displayname=Iron Pickaxe
|spritetype=item
|nameid=iron_pickaxe
|form=item}}
{{ID table
|displayname=Diamond Pickaxe
|spritetype=item
|nameid=diamond_pickaxe
|form=item}}
{{ID table
|displayname=Golden Pickaxe
|spritetype=item
|nameid=golden_pickaxe
|form=item}}
{{ID table
|displayname=Netherite Pickaxe
|spritetype=item
|nameid=netherite_pickaxe
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Pickaxe
|spritetype=item
|nameid=wooden_pickaxe
|id=310
|form=item}}
{{ID table
|displayname=Stone Pickaxe
|spritetype=item
|nameid=stone_pickaxe
|id=314
|form=item}}
{{ID table
|displayname=Iron Pickaxe
|spritetype=item
|nameid=iron_pickaxe
|id=297
|form=item}}
{{ID table
|displayname=Diamond Pickaxe
|spritetype=item
|nameid=diamond_pickaxe
|id=318
|form=item}}
{{ID table
|displayname=Golden Pickaxe
|spritetype=item
|nameid=golden_pickaxe
|id=324
|form=item}}
{{ID table
|displayname=Netherite Pickaxe
|spritetype=item
|nameid=netherite_pickaxe
|id=606
|form=item
|foot=1}}

== Achievements ==
{{Load achievements|Time to mine!;Getting an Upgrade;MOAR Tools ;Oooh, shiny!}}

== Advancements ==
{{load advancements|Getting an Upgrade;Isn't It Iron Pick;Stone Age;Oh Shiny}}

== Video ==
{{yt|G_HTViy2JTo}}

== History ==
{{History|java indev}}
{{History||0.31|snap=20100110|[[File:Iron Pickaxe JE1.png|32px]] Added iron pickaxes.
|A pickaxe is used to gather [[stone]] materials 400% faster than by hand.
|When starting in a new world, the [[player]] is given one of each [[tool]].}}
{{History|||snap=20100124|A complete tool set is no longer given to the player on starting a new world. Instead, there are multiple [[chest]]s in the later called "[[Indev House]]" containing a stack of most accessible [[blocks]]/[[items]] including [[tools]].}}
{{History|||snap=20100128|[[File:Wooden Pickaxe JE1 BE1.png|32px]] [[File:Stone Pickaxe JE1 BE1.png|32px]] [[File:Diamond Pickaxe JE1 BE1.png|32px]] Tools now have tiers. Wooden, stone, and diamond pickaxes have been added.|[[File:Iron Pickaxe JE2 BE1.png|32px]] The texture of iron pickaxes has been changed.
|A pickaxe held by the [[player]] is now rendered to appear more 3D.|They cannot be crafted yet, but have been added to the item chest in the Indev house.}}
{{History|||snap=20100129|Wood, stone, iron, and diamond pickaxes can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Pickaxe JE1.png|32px]] Pickaxes can now be made out of [[gold]].}}
{{History|||snap=20100201-1|Tools, including pickaxes, now take [[damage]] when being used. |Better tools, including pickaxes, now last longer.}}
{{History|||snap=20100201-2|Better pickaxes are now required to mine harder materials.}}
{{History||20100206|[[File:Golden Pickaxe JE2 BE1.png|32px]] The texture of golden pickaxes has been changed.}}
{{History|java beta}}
{{History||1.2|Before, the pickaxe had much less [[item durability|durability]] (usually half as much).
|Gold pickaxes now [[breaking|mine]] certain materials much faster.}}
{{History||1.8|snap=Pre-release|Iron pickaxes are now found in the new [[stronghold]] storeroom [[chest]]s, and in the new [[mineshaft]] chests.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Iron pickaxes can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=RC1|Pickaxes and other [[tool]]s now make a [[sound]] when they break.}}
{{History||1.1|snap=12w01a|Iron pickaxes are now found in the new [[village]] blacksmith chests.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden pickaxes.}}
{{History||1.3.1|snap=12w16a|Wooden and stone pickaxes are now found in the new [[bonus chest]]s.}}
{{History|||snap=12w18a|Wooden pickaxes can now be used as fuel in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] 1 diamond pickaxe for 10–11 [[emerald]]s, and 1 iron pickaxe for 7–8 emeralds.}}
{{History||1.6.1|snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), pickaxes now add their damage onto the barehanded damage, which results in all pickaxes doing {{hp|1}} more damage than before.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft wooden pickaxes.}}
{{History||1.8|snap=14w02a|Tool smith villagers now [[trading|sell]] 1 [[enchanting|enchanted]] diamond pickaxe for 12–15 emeralds, and 1 enchanted iron pickaxe for 9–11 emeralds. 
|Unenchanted pickaxes are no longer sold by [[villager]]s.}}
{{History||1.9|snap=15w31a|Enchanted iron and diamond pickaxes can now be found in the [[end ship]] [[chest]]s in [[end city|end cities]].}}
{{History|||snap=15w34a|Pickaxes now use the "attack strength" combat mechanic meter. The time it takes for the meter to fill up for a pickaxe is 0.8 seconds.}}
{{History|||snap=15w34c|Pickaxes now do less [[damage]], but recover quicker.}}
{{History|||snap=15w35a|Pickaxes now recover more slowly.}}
{{History|||snap=15w44a|The average yield of wood and stone pickaxes in [[bonus chest]]s has been decreased.
|The average yield of iron pickaxes in [[mineshaft]] [[chest]]s has been increased.}}
{{History||1.11.1|snap=16w50a|Golden and iron pickaxes can now be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 270, 274, 257, 278 and 285.}}
{{History||1.14|snap=18w43a|[[File:Wooden Pickaxe JE2 BE2.png|32px]] [[File:Stone Pickaxe JE2 BE2.png|32px]] [[File:Iron Pickaxe JE3 BE2.png|32px]] [[File:Golden Pickaxe JE3 BE2.png|32px]] [[File:Diamond Pickaxe JE2 BE2.png|32px]] The textures of all pickaxes have been changed.}}
{{History|||snap=18w50a|Iron pickaxes can now be found in chests in [[village]] toolsmith houses.}}
{{History|||snap=19w11a|Toolsmith [[villager]]s now [[trading|sell]] stone pickaxes.}}
{{History|||snap=19w13a|Toolsmith villagers now give stone pickaxes to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|[[File:Netherite Pickaxe JE1.png|32px]] Added netherite pickaxes.
|Netherite pickaxes are obtained by combining one diamond pickaxe and one netherite ingot in a crafting table.
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden pickaxes.}}
{{History|||snap=20w09a|[[File:Wooden Pickaxe JE3 BE3.png|32px]] [[File:Golden Pickaxe JE4 BE3.png|32px]] [[File:Diamond Pickaxe JE3 BE3.png|32px]] [[File:Netherite Pickaxe JE2 BE1.png|32px]] The textures of wooden, golden, diamond, and netherite pickaxes have been changed.}}
{{History|||snap=20w10a|[[File:Netherite Pickaxe JE3.png|32px]] Changed a pixel of the texture of netherite pickaxes.
|Netherite pickaxes can no longer be crafted.
|Netherite pickaxes are now obtained by combining one diamond pickaxe and one netherite ingot in a smithing table.}}
{{History|||snap=20w15a|Stone pickaxes can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Golden pickaxes now generate randomly enchanted in [[ruined portal]] chests.}}
{{History||1.16.2|snap=20w30a|Randomly enchanted diamond pickaxes can now be found in [[bastion remnant]] chests.}}
{{History||1.17|snap=21w08a|Stone pickaxe can now be crafted using [[cobbled deepslate]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden pickaxes.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond pickaxes to netherite pickaxes now requires the netherite upgrade [[smithing template]].}}

{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|[[Wandering trader]]s now have a chance to sell an enchanted iron pickaxe.}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all pickaxes has been increased to 2.5.
|The [[damage]] for all pickaxes has been increased by {{hp|1}}.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Pickaxe JE1 BE1.png|32px]] Added stone pickaxes.}}
{{History||v0.3.0|[[File:Wooden Pickaxe JE1 BE1.png|32px]] Added wooden pickaxes.
|Survival players no longer start out with an infinite durability stone pickaxe in the inventory.}}
{{History||v0.3.2|[[File:Iron Pickaxe JE2 BE1.png|32px]] [[File:Golden Pickaxe JE2 BE1.png|32px]] [[File:Diamond Pickaxe JE1 BE1.png|32px]] Added iron, gold, and diamond pickaxes.}}
{{History||v0.4.0|Removed stone pickaxes from the creative inventory.}}
{{History||v0.11.0|snap=build 11|All pickaxes are now available in the [[creative]] inventory.}}
{{History|||snap=build 12|All pickaxes have been removed from creative.}}
{{History|||snap=build 13|Pickaxes have been re-added to creative mode.}}
{{History||v0.14.0|snap=build 1|Iron pickaxes can now be found inside [[minecart with chest]]s in [[mineshaft]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[Enchanting|Enchanted]] iron pickaxes and enchanted diamond pickaxes can now be found in [[end city|end cities]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Toolsmith [[villager]]s now [[trading|sell]] enchanted diamond pickaxes for 12-15 emeralds as their last tier trades and enchanted iron pickaxes for 9-11 [[emerald]]s as their second tier trades.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden pickaxes are now [[smelting|smeltable]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Wooden and stone pickaxes can now be found inside [[bonus chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Iron pickaxes can now be found in [[plains]] [[village]] weaponsmith houses.
|[[File:Wooden Pickaxe JE2 BE2.png|32px]] [[File:Stone Pickaxe JE2 BE2.png|32px]] [[File:Iron Pickaxe JE3 BE2.png|32px]] [[File:Golden Pickaxe JE3 BE2.png|32px]] [[File:Diamond Pickaxe JE2 BE2.png|32px]] The textures of all pickaxes have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron pickaxes can now be found in [[village]] toolsmiths [[chest]]s and in [[savanna]], [[taiga]], [[snowy taiga]] and [[desert]] village weaponsmith chests.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has been changed, toolsmith [[villager]]s now have a 25% chance to [[trading|sell]] an [[enchanting|enchanted]] iron pickaxe for 3 [[emerald]]s as part of their third tier trades, and an enchanted diamond pickaxe now costs 13 emeralds.
|Stone pickaxes can now be bought from toolsmith villagers.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Pickaxe JE2 BE1.png|32px]] Added netherite pickaxes.|Netherite pickaxes are obtained by combining one diamond pickaxe and one netherite ingot in a crafting table.
|[[File:Wooden Pickaxe JE3 BE3.png|32px]] [[File:Golden Pickaxe JE4 BE3.png|32px]] [[File:Diamond Pickaxe JE3 BE3.png|32px]] The textures of wooden, golden, and diamond pickaxes have been changed.}}
{{History|||snap=beta 1.16.0.57|Netherite pickaxes can no longer be crafted.
|Netherite pickaxes are now obtained by combining one diamond pickaxe and one netherite ingot in a smithing table.
|Stone pickaxes can now be crafted using [[blackstone]].
|Golden pickaxes now generate randomly enchanted in [[ruined portal]] chests.
|Netherite pickaxe now generate randomly enchanted in [[bastion remnant]] chest.}}
{{History||1.17.10|snap=beta 1.17.10.20|[[File:Netherite Pickaxe JE3.png|32px]] Changed a pixel of the texture of netherite pickaxes to match ''Java Edition''.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Wooden Pickaxe JE1 BE1.png|32px]] [[File:Stone Pickaxe JE1 BE1.png|32px]] [[File:Iron Pickaxe JE2 BE1.png|32px]] [[File:Golden Pickaxe JE2 BE1.png|32px]] [[File:Diamond Pickaxe JE1 BE1.png|32px]] Added pickaxes (all five types).}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Iron and golden pickaxes are now [[smelting|smeltable]].}}
{{History|Ps4}}
{{History||1.90|[[File:Wooden Pickaxe JE2 BE2.png|32px]] [[File:Stone Pickaxe JE2 BE2.png|32px]] [[File:Iron Pickaxe JE3 BE2.png|32px]] [[File:Golden Pickaxe JE3 BE2.png|32px]] [[File:Diamond Pickaxe JE2 BE2.png|32px]] The textures of all pickaxes have been changed.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Wooden Pickaxe JE1 BE1.png|32px]] [[File:Stone Pickaxe JE1 BE1.png|32px]] [[File:Iron Pickaxe JE2 BE1.png|32px]] [[File:Golden Pickaxe JE2 BE1.png|32px]] [[File:Diamond Pickaxe JE1 BE1.png|32px]] Added pickaxes.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
*The golden pickaxe is the only pickaxe that is unable to harvest the material it is made from.
*The pickaxe is the only block-breaking tool without a {{control|use}} (right-click) function.

=== Publicity ===
*Plastic diamond pickaxes are official ''[[Minecraft]]'' merchandise.<ref>https://shop.minecraft.net/products/minecraft-pickaxe?_pos=3&_psq=pickaxe&_ss=e&_v=1.0</ref>
*In the game [[wikipedia:Naughty Bear: Panic in Paradise|''Naughty Bear: Panic in Paradise'']], the player can buy a diamond pickaxe which, according to the game, is made by "Kick it up a Notch Pickaxes", referring to [[Notch]].
*In mobile game ''[https://play.google.com/store/apps/details?id=br.com.tapps.vloggergoviral Vlogger Go Viral]'' clicker game, after buying the figurine shelf, there is a model of a diamond pickaxe stuck to a [[grass block]].
*In the game [[wikipedia:The Elder Scrolls V: Skyrim|''The Elder Scrolls V: Skyrim'']], the player can find a pickaxe called the "Notched Pickaxe", evidently an [[easter egg]].
*In the game [[wikipedia:Offensive Combat|''Offensive Combat'']], a stone pickaxe can be used as a melee weapon with the name of "The Notch Carver".
*In the game [[wikipedia:The Binding of Isaac (video game)|''The Binding of Isaac'']], an obtainable item named "Notched Axe", also with a drawn 8-bit look, can be used to destroy rocks. The Notched Axe also makes a return in the game's remake, [[wikipedia:The Binding of Isaac: Rebirth|''The Binding of Isaac: Rebirth'']].
*In the game [[wikipedia:Borderlands 2|''Borderlands 2'']], the player can find a secret area hidden away by blocks resembling Minecraft [[dirt]], also once inside the player can fight Creeper and the Mother Creeper to get rare Minecraft-related skins.
*In the game [[wikipedia:Octodad: Dadliest Catch|''Octodad: Dadliest Catch'']], the supermarket level has a "Mintcraft" display, an obvious parody of Minecraft, even including toy pickaxes and a creeper head.
*In the game [[wikipedia:Transformice|''Transformice'']], a diamond pickaxe can be found in the shop.

== Gallery ==
<gallery>
File:Pickaxe in Mineshaft Chest.png|A naturally generated pickaxe.
Live in Your World JINX.jpg|Official T-shirt artwork "Live in Your World" featuring an iron pickaxe made by [https://www.jinx.com JINX].
Pickaxe JINX.jpg|Official T-shirt artwork of a pickaxe made by JINX.
Stone Pickaxe SDGP.png|Stone pickaxe in the [[Super Duper Graphics Pack]].
Iron Pickaxe SDGP.png|Iron pickaxe in the [[Super Duper Graphics Pack]].
</gallery>

=== Enchanted pickaxes ===
<gallery>
Enchanted Wooden Pickaxe.gif
Enchanted Stone Pickaxe.gif
Enchanted Iron Pickaxe.gif
Enchanted Golden Pickaxe.gif
Enchanted Diamond Pickaxe.gif
Enchanted Netherite Pickaxe.gif
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-pickaxe Taking Inventory: Pickaxe] – Minecraft.net on May 10, 2018

{{items}}
[[Category:Combat]]

[[cs:Krumpáč]]
[[de:Spitzhacke]]
[[es:Pico]]
[[fr:Pioche]]
[[hu:Csákány]]
[[it:Piccone]]
[[ja:ツルハシ]]
[[ko:곡괭이]]
[[nl:Houweel]]
[[pl:Kilof]]
[[pt:Picareta]]
[[ru:Кирка]]
[[th:อีเต้อ]]
[[uk:Кайло]]
[[zh:镐]]</li><li>[[Pumpkin Pie|Pumpkin Pie]]<br/>{{redirect|Pie|the other craftable dessert|Cake|the terrain features|Pile}}
{{Item
| title = Pumpkin Pie
| image = Pumpkin Pie.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable = Yes (64)
}}

'''Pumpkin pie''' is a [[food]] item that can be eaten by the [[player]].

== Obtaining ==
{{see also
 | Tutorials/Pumpkin and melon farming |title1= Pumpkin and melon farming
 | Tutorials/Sugar Cane farming |title2= Sugar cane farming
 | Tutorials/Egg farming |title3= Egg farming
}}

=== Crafting ===

{{Crafting
|Pumpkin
|Sugar
|Egg
|Output= Pumpkin Pie
|type=Foodstuff
}}

=== Trading ===

Apprentice-level farmer [[villager]]s have a 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to sell 4 pumpkin pies for an emerald as part of their trades.

{{in|java}}, farmer villagers throw pumpkin pies at players under the [[Hero of the Village]] effect.

=== Natural generation ===

{{LootChestItem|pumpkin-pie}}

== Usage ==

=== Food ===

{{see also|Tutorials/Hunger management|title1=Hunger management}}

To eat pumpkin pie, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|8}} [[hunger]] and 4.8 [[:en:Hunger#Mechanics|saturation]].

=== Composting ===
Placing pumpkin pie into a [[composter]] raises the compost level by 1.

==Sounds==
{{Sound table/Entity/Food}}

== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Pie
|spritetype=item
|nameid=pumpkin_pie
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Pie
|spritetype=item
|nameid=pumpkin_pie
|id=284
|form=item
|foot=1}}

== Video ==

<div style="text-align:center">{{yt|IjeeTE117HM}}</div>

== History ==

{{History|java}}
{{History||September 11, 2012|link=http://twitter.com/jeb_/status/245503714167750656|The first screenshot of pumpkin pie was posted on [[Jens Bergensten|Jeb's]] Twitter.<ref>{{Tweet|jeb|245503714167750656}}</ref><ref>{{Tweet|jeb|245506498099298305}}</ref>}}
{{History||1.4.2|snap=12w37a|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pies.}}
{{History||1.8|snap=14w02a|Pumpkin pie can now be [[trading|bought]] from farmer [[villager]]s, at 2–3 pumpkin pies for 1 [[emerald]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 400.}}
{{History||1.14|snap=18w43a|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}
{{History|||snap=18w50a|Pumpkin pies now generate in chests in taiga [[village]] houses.}}
{{History|||snap=19w03a|Placing pumpkin pie into the new [[composter]] raises the compost level by 1.}}
{{History|||snap=19w13a|Farmer villagers now give pumpkin pies to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History||v0.12.1|snap=build 1|Pumpkin pie now restores [[hunger]] instead of [[health]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Pumpkin pie can now be found in [[taiga]] and [[snowy taiga]] [[village]] house [[chest]]s.
|Pumpkin pie can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Farmer [[villager]]s now have a 50% chance to [[trading|sell]] 4 pumpkin pies for an [[emerald]].}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
File:Twitter Pumpkin Pie.png|The first screenshot of pumpkin pies, posted on Jeb's twitter.
</gallery>

== References ==

{{reflist}}


{{Items}}

[[cs:Dýňový koláč]]
[[de:Kürbiskuchen]]
[[es:Tarta de calabaza]]
[[fr:Tarte à la citrouille]]
[[it:Torta di zucca]]
[[ja:パンプキンパイ]]
[[ko:호박 파이]]
[[lzh:南瓜餅]]
[[nl:Pompoentaart]]
[[pl:Placek dyniowy]]
[[pt:Torta de abóbora]]
[[ru:Тыквенный пирог]]
[[zh:南瓜派]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul>
21w10aCore shaders were added.

Issues

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

References