Minecraft Wiki
Line 96: Line 96:
 
{{History|java beta}}
 
{{History|java beta}}
 
{{History||1.3|It is now possible to manually determine the seed upon world creation.}}
 
{{History||1.3|It is now possible to manually determine the seed upon world creation.}}
{{History||1.8.1|Terrain-breaking change to world gen. The debug screen now displays the seed number.}}
+
{{History||1.8|snap=Pre-release|Terrain-breaking change to world gen. The debug screen now displays the seed number.}}
 
{{History|java}}
 
{{History|java}}
 
{{History||1.2.1|snap=?|Multiplayer servers no longer send the seed to clients.}}
 
{{History||1.2.1|snap=?|Multiplayer servers no longer send the seed to clients.}}

Revision as of 10:34, 11 September 2020

Minecraft seeds are values made up of character(s) (including negative or positive integers) that are used as the basis for generating every Minecraft world.[1]

Compatibility

Seeds are not compatible across editions, but are sometimes compatible with the older and newer versions. However, after Village & Pillage, the villages and other generated structures changed.

Java Edition seeds between Alpha 1.2.0 and Beta 1.7.3 are mostly the same. Beta 1.8 changed world generation completely and Release 1.2 changed locations of land biomes with the addition of jungles. Release 1.7.2 rewrote the world generation entirely, making seeds from 1.2 through 1.6.4 outdated. 1.13 featured changes to cave generation, new aquatic biomes, and adjustment to mutated biome and structure locations. 1.14 included the new bamboo jungle biome and updated locations of villages and pillager outposts. Not mentioned are structure additions in several updates throughout, but the addition of a generated structure usually does not require a complete change of biome generation.

In Bedrock Edition, the Alpha 0.9.0 update was the only update to overhaul world generation. Oceans were changed in the Update Aquatic, and villages & other structures were changed in Village & Pillage.

Legacy Console Edition seeds were updated in a similar schedule to Java Edition equivalents.

World generation

Whenever the game has to generate a new world, it calls upon an algorithm. This algorithm outputs a pseudo-random value that is then used to determine the characteristics and features of the world. However, the algorithm always outputs the same value each time for a constant starting point (seed). This is why seeds exist — to generate entirely different worlds, consistently each time, from single values.

A world's seed is set when that world is created. By default, it is decided automatically, but it can also be set manually. Set and reuse a seed to replay that world, or use a known seed to play the same world as another player. Either a number or a word/phrase can be used, including negatives. If a word/phrase is used, it is converted into a 32-bit integer.

Whenever the world generation algorithm is updated (usually by adding new biomes to the game), the same seed no longer generates the same terrain. This is why in some different versions of the game, the same seed does not produce the same world. If the seed or generator changes in a saved world, new chunks are based on the new seed and no longer match those from the old seed. In Java Edition, major (terrain-breaking) changes were observed with Alpha v1.2.0, Beta 1.8, and 1.7.2. Deleted chunks can regenerate if the seed and generator remain the same, but changes if either the seed or generator changes. In fact, deleting chunks is sometimes done to let newly-introduced features appear in an old world; see Tutorials/Updating old oceans in 1.13 using MCEdit.

Because seeds are simply random values read into an algorithm and not actually names of different worlds, using a certain seed does not result in a world with any relevance to the value of that seed. For instance, using a biome name as the seed does not necessarily result in the creation of a world with primarily that biome, nor does it spawn the player within the said biome.

Determining the seed

In Java Edition, the player can enter the command /seed to view the world's seed.

In Bedrock Edition, the seed can be found on the world options screen. There is also a seed picker that offers the player several pre-set seeds to generate worlds with specific features near the spawn point. Additionally, the beta version has a visible seed on the top of the screen.

Technical

Realms

In Java Edition, a player can type /seed in the chat. In Bedrock Edition, the seed is shown in the settings on a single player world, although the seed is not visible when playing on Realms.

Java Edition

If the seed contains characters other than numbers or is greater than or equal to 20 characters in length, the Java String.hashCode() function is used to generate a number seed. This restricts Minecraft to a subset of the possible worlds to 232 (or 4,294,967,296), due to the int datatype used. Number seeds or a default world seed must be used to access the full set of possible worlds (264, or 18,446,744,073,709,551,616). There are 248 meaningful seeds because Java's Random uses 48 bits of the seed; seeds are equivalent to one another modulo 248.

Bedrock Edition

Bedrock Edition has a total of 232 (or 4,294,967,296) possible worlds no matter whether strings or numbers are used as the seed. This is because Bedrock Edition uses a 32-bit variant of the Mersenne Twister PRNG, which accepts only 32-bit seeds. The hashing algorithm is identical to String.hashCode(): a hash h starts with 0, and for each character c, the value of h is changed to h * 31 + c, within the boundary of a 32-bit integer.

Overlap between editions

Positive seeds in the range 0–231 (0–2,147,483,648) generate the same arrangements of biomes in both Java and Bedrock editions, although with different structures and structure locations, caves, ore generation, and spawned entities, as well as minor terrain differences.

Seed 0

In Java Edition, the numeric entry for Minecraft seeds does not allow the number "0" (zero), as the game interprets "0" as a character, hashing it to its ASCII value of 48. However, by using a text seed for which the Java String.hashCode() function returns a zero value, the "zero seed" can still be used. Word strings that produce a zero seed include creashaks organzine, pollinating sandboxes, little jungle, small skeleton, and drumwood boulder head.[2] However, any text that hashes to 0 works, such as ddnqavbj, and 166lr735ka3q6. Numeric seeds that are congruent to 0 modulo 248 (such as 281474976710656) also generate the same terrain as seed 0, but do not display as 0 using /seed.

In Bedrock Edition, the game rejects all numbers from -9 to +9. However, changing the last character of the seed by one also changes the output hash code by one, so to arrive to a value of +2 from small skeleton, the last letter is advanced two positions to become small skeletop. The shortest version is still ddnqavb, followed by any other letter from a through s.

Generation quirks

This section is missing information about Explain these phenomena considerably more in depth. 
Please expand the section to include this information. Further details may exist on the talk page.

Through certain seeds, it is possible to observe interesting effects.

Changing terrain without changing some structures

Only certain sections of the seed are used to generate specific features within the world. It is possible to generate multiple worlds with identical cave systems and other arrangements of generated structures simply by converting the seed into binary and tweaking the desired bits.[3] An example is the seed generator using only the first 48 bits to generate cave systems and badlands clay banding layers.

Shadow seeds

The biome distribution of one world is identical to the biome distribution of another world, whose seed can be found by adding a constant to the current seed.

Repetition

Duplicate Caves

Seed 164311266871034 in spectator mode. Caves are repetitive along the Z axis.

Certain seeds return 0 in the internal code,[4] causing infinite arrays of caves and other structures to generate.[5] In Java and Legacy Console editions, the seed 107038380838084 returns 0 on the first call and 164311266871034 returns 0 on the second call, causing structures to loop on the X and Z axes respectively.[6]

Other features can also be broken, such as decorations. These instead generate diagonally.[7]

In Bedrock Edition, diagonal cave, ravine and decoration repetition occurs with the seed 1669320484.[8]

Video

History

Clock JE3
This section needs to be updated. 
Please update this section to reflect recent updates or newly available information.
pre-classic
rd-160052
{{Extension DPL}}<ul><li>[[Blue Dye|Blue Dye]]<br/>{{Item
|image = Blue_Dye_JE1_BE1.png
|renewable = Yes
|stackable = Yes (64)
}}

'''Blue dye''' is a [[Dye#Primary|primary dye color]].

== Obtaining ==
=== Crafting ===
{{Crafting
 |Lapis Lazuli
 |Output=Blue Dye
 |type=Material
 |head=1
}}
{{Crafting
 |Cornflower
 |Output=Blue Dye
 |type=Material
 |foot=1
}}
=== Chest loot ===
{{#invoke:LootChest|base3|blue-dye}}

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

=== Trading ===
Expert-level shepherd villagers have a {{frac|1|6}} chance to buy 12 blue dye for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Blue Dye
|spritetype=item
|nameid=blue_dye
|aliasid=dye / 18
|id=399
|form=item
|translationkey=item.dye.blue_new.name
|foot=1}}

== History ==

{{History|java}}
{{History||1.14|snap=18w43a|[[File:Blue_Dye_JE1_BE1.png|32px]] Added blue dye.}}
{{History|||snap=18w44a|Blue dyes now can changed the text color on the [[sign]]s to blue.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell blue dyes.}}
{{History|||snap=19w11a|Blue dyes can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Blue dyes can now used to craft newly added [[blue candle]]s.}}
{{History|||snap=21w19a|Blue dyes can no longer used to craft blue candles.}}
{{History|||snap=Pre-release 1|Blue dyes can once again used to craft blue candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Blue dyes can now change the text color on [[hanging sign]]s to blue.}}
{{History||1.20|snap=23w12a|Blue dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Blue dye no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; blue dye now is in the common loot.}}

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.10|[[File:Blue_Dye_JE1_BE1.png|32px]] Added blue dye.}}
{{History||1.9.0|snap=beta 1.9.0.0|Added [[flower|cornflowers]], which can be used to [[crafting|craft]] blue dye.}}
{{History||1.10.0|snap=beta 1.10.0.3|Blue dye can now be used to [[dye]] white [[carpet]]s and uncolored [[glass pane]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|Blue dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of blue dye has been changed from <code>dye/18</code> to <code>blue_dye</code>.}}

{{History|ps4}}
{{History||1.83|[[File:Blue_Dye_JE1_BE1.png|32px]] Added blue dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==
{{Reflist}}

{{Items}}

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]

[[de:Blauer Farbstoff]]
[[es:Tinte azul]]
[[fr:Teinture bleue]]
[[ja:青色の染料]]
[[ko:파란색 염료]]
[[pl: Niebieski barwnik]]
[[pt:Corante azul]]
[[zh:蓝色染料]]</li><li>[[Enchanted Golden Apple|Enchanted Golden Apple]]<br/>{{Item
| image = Enchanted Golden Apple.png
| rarity = Epic
| heals = {{hunger|4}}
| effects = 
* {{EffectLink|Absorption}} IV (2:00)
* {{EffectLink|Regeneration}} II (0:20){{only|java|short=yes}}/V (0:30){{only|bedrock|short=yes}}
* {{EffectLink|Fire Resistance}} (5:00)
* {{EffectLink|Resistance}} (5:00)
| renewable = No
| stackable = Yes (64)
}}

An '''enchanted golden apple''' ({{in|je}}), notch apple, or '''enchanted apple''' ({{in|be}}), is a rare, uncraftable variant of the [[golden apple]] that grants much more powerful effects when consumed.

== Obtaining ==
=== Chest loot ===
{{LootChestItem|enchanted-golden-apple}}

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

To eat an enchanted golden apple, press and hold {{control|use}} while it is selected in the hotbar. It restores {{hunger|4}} points of hunger and 9.6 [[Hunger#Mechanics|saturation]].

The enchanted golden apple provides: 
* [[Absorption]] IV for 2 minutes (providing {{hp|16|absorption=1}} points of absorption health)
* [[Regeneration]] level II {{in|java}} or V {{in|bedrock}} for 30 seconds ({{in|java}}, {{hp|1}} is restored every 25 ticks, {{hp|2|notag=1}} × 0.4 per second) for 20 seconds (long enough to heal {{hp|16}} points of damage; {{in|bedrock}}, {{hp|1}} is restored every 6 ticks, {{hp|2|notag=1}} × 1.66 per second for 30 seconds, which is long enough to heal up to {{hp|100}} points of damage.
* [[Fire Resistance]] I for 5 minutes
* [[Resistance]] I (20% reduced damage from all sources except the [[void]]) for 5 minutes

=== Horses ===
Enchanted golden apples can be used for improving the chances of taming a [[horse]] by 10%, for [[breeding]] and leading horses, and for speeding up the growth of [[baby]] horses by 4 minutes.

=== Crafting ingredient ===
{{crafting usage|Enchanted Golden Apple|match=start}}
===Piglins===
{{EntityLink|Piglin|Piglins}} are attracted to enchanted golden apples and run toward any enchanted golden apples on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory. However, piglins do not eat enchanted golden apples (or any [[food]]).

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Enchanted Golden Apple
|spritetype=item
|nameid=enchanted_golden_apple
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Enchanted Golden Apple
|spritetype=item
|nameid=enchanted_golden_apple
|aliasid=appleenchanted
|id=259
|form=item
|translationkey=item.appleEnchanted.name
|foot=1}}

== Achievements ==
{{load achievements|Overpowered;Fruit on the Loom;Oooh, shiny!}}

== Advancements ==
{{load advancements|Oh Shiny;A Furious Cocktail;How Did We Get Here;Husbandry;A Balanced Diet}}

== History ==
{{History|java}}
{{History||1.3.1|snap=12w21a|[[File:Enchanted Golden Apple JE1 BE1.gif|32px]] Added enchanted golden apples.
|Enchanted golden apples highly resemble the golden apple prior to [[Java Edition 1.1|1.1]]. 
|Enchanted golden apples have [[Regeneration]] IV (30 seconds), [[Resistance]] (5 minutes) and [[Fire Resistance]] (5 minutes). 
|Enchanted golden apples can be [[crafted]] with 8 [[blocks of gold]] and one apple, making them [[renewable]]. 
|Enchanted golden apples shine like an [[enchanting|enchanted]] [[item]] and have a purple tooltip while the standard golden apple's tooltip changed to blue. However, the standard golden apple's effects remain unchanged.}}
{{History|||snap=12w21b|Added Enchanted Golden Apples to the Creative inventory.}}
{{History||1.6.1|snap=13w24b|Enchanted golden apples now give the player Absorption as well, and Regeneration IV has been increased to Regeneration V.}}
{{History|||snap=?|Enchanted golden apples can now be used to tame, breed and heal horses and donkeys.}}
{{History||1.8|snap=14w06a|[[Crafting]] an enchanted golden apple now gives the [[player]] the [[Achievements/Java_Edition|''achievement'']] "Overpowered."}}
{{History||1.9|snap=15w37a|Enchanted golden apples now give Regeneration II (down from V) and [[Absorption]] IV (up from I), in addition to the unchanged [[Resistance]] and [[Fire Resistance]] effects. The duration of the Regeneration effect has now also been decreased to 20 seconds.}}
{{History|||snap=15w44a|Enchanted golden apples are now uncraftable, making them no longer renewable.
|Enchanted golden apples have been added to [[dungeon]], [[desert temple]] and [[mineshaft]] chests.}}
{{History||1.11|snap=16w39a|Enchanted golden apples are now found in the new [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|The names and IDs have been split into golden apple and enchanted golden apple.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 322.}}
{{History||1.14|snap=18w43a|[[File:Enchanted Golden Apple JE2 BE2.gif|32px]] The texture for enchanted golden apples has been changed.}}
{{History||1.16|snap=20w16a|Enchanted golden apples can now be found inside [[ruined portal]] chests.}}
{{History||1.16.2|snap=20w30a|Enchanted golden apples can now be found inside [[bastion remnant]] chests.}}
{{History||1.18|snap=experimental snapshot 6|Horses, donkeys and mules now follow players holding enchanted golden apples.}}
{{History||1.19|snap=22w13a|Enchanted golden apples may now be found in [[ancient city]] [[chest]]s.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Enchanted Golden Apple JE1 BE1.gif|32px]] Added enchanted golden apples.}}
{{History|||snap=build 4|A crafting recipe has been added for enchanted golden apples.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Enchanted golden apples are now known as "Enchanted Apple."}}
{{History|bedrock}}
{{History||1.2.0|snap=?|Enchanted apples now give [[Absorption]] IV rather than Absorption I.}}
{{History||1.2.13|snap=?|Enchanted golden apples are now uncraftable, making them no longer [[renewable resource|renewable]].}}
{{History||?|Enchanted apples now give [[Regeneration]] V rather than IV.}}
{{History||1.10.0|snap=beta 1.10.0.3|Enchanted apples are no longer used to [[crafting|craft]] patterns on [[banner]]s directly, but are now used to craft Thing [[banner pattern]]s.
|[[File:Enchanted Golden Apple JE2 BE2.gif|32px]] The texture for the enchanted golden apple has been changed.}}
{{History||1.16.0|snap=beta 1.16.0.57|Enchanted golden apples can now be found inside [[ruined portal]] chests.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of enchanted apples has been changed from <code>appleenchanted</code> to <code>enchanted_golden_apple</code>.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Enchanted Golden Apple JE1 BE1.gif|32px]] Added enchanted golden apples.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Enchanted Golden Apple JE2 BE2.gif|32px]] The texture for the enchanted golden apple has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Enchanted Golden Apple JE1 BE1.gif|32px]] Added enchanted golden apples.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The damage tag of an enchanted apple obtained {{in|be}} is 1, although setting it to 0 makes no difference.

== Gallery ==
<gallery>
GoldenAppleComparison.png|A comparison of the two golden apple variations.
EnchantedGoldenAppleEffects.png|The effects of consuming an enchanted golden apple.
Notch Apple In Mansion Chest.png|An extremely rare occasion where a regular golden apple and an enchanted apple being found in the same woodland mansion chest {{in|ee}}.
GoldenAppleDungeonChest.png|Golden apple in a [[dungeon]] chest, prior to 1.3.1. It resembles the enchanted golden apple.
GodPortal.png|An enchanted golden apple found in a ruined portal chest.
GodSpawner.png|An enchanted golden apple found in a monster room chest.
</gallery>

{{Items}}

[[Category:Non-renewable resources]]
[[Category:Food]]

[[de:Verzauberter goldener Apfel]]
[[es:Manzana dorada encantada]]
[[fr:pomme dorée enchantée]]
[[ja:エンチャントされた金のリンゴ]]
[[pt:Maçã dourada encantada]]
[[th:แอปเปิ้ลทองร่ายมนตร์]]
[[zh:附魔金苹果]]</li></ul>
Added a simple level generator.
classic
0.0.12a
{{Extension DPL}}<ul><li>[[Knowledge Book|Knowledge Book]]<br/>{{exclusive|java}}
{{Item
| image = Knowledge Book.png
| renewable = No
| stackable = No
| rarity = Epic
}}
A '''knowledge book''' is a utility item that reveals available [[crafting]] recipes to the player when {{control|used|use}}.

== Obtaining ==
Knowledge books can be obtained only by using [[commands]], as it is not found in the [[creative]] inventory; therefore, it is impossible to obtain in other modes such as [[survival]] and [[adventure]] except with commands.

For example, to give oneself a knowledge book that reveals the recipes for [[bucket]]s and [[flower pot]]s, use: {{cmd|give @s minecraft:knowledge_book{Recipes:["minecraft:bucket", "minecraft:flower_pot"]} }}.

== Usage ==
Knowledge books are used to reveal recipes to the player who uses it, by adding it to their [[recipe book]]. Using a knowledge book consumes it, removing it from the player's inventory.

Knowledge books are especially useful to mapmakers in conjunction with {{cmd|gamerule doLimitedCrafting true}}, because then any item is craftable only if its recipe is unlocked first.

== Sounds ==
{{Sound table
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|subtitle=Book placed
|source=block
|description=When a knowledge book is placed in a chiseled bookshelf
|id=block.chiseled_bookshelf.insert
|translationkey=subtitles.chiseled_bookshelf.insert
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.85, or 1.1 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|subtitle=Book taken
|source=block
|description=When a knowledge book is removed from a chiseled bookshelf
|id=block.chiseled_bookshelf.pickup
|translationkey=subtitles.chiseled_bookshelf.take
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|distance=16
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Knowledge Book
|spritetype=item
|nameid=knowledge_book
|form=item
|foot=1}}

=== Item data ===
Recipe books use the NBT tag <code>Recipes</code> to indicate the recipes they contain.

''The following NBT structure is provided to show how the <code>Recipes</code> tag is organized, and is not comprehensive above the <code>tag</code> tag. The full NBT for an item can be found [[Chunk format#Items and XP Orbs|here]].''

<div class="treeview" style="margin-top: 0;">
* {{nbt|compound}} Entity data
** {{nbt|compound|Item}}: The item
*** {{nbt|compound|tag}}: Additional information about the item. This tag is optional for most items.
**** {{nbt|list|Recipes}}: The list of recipes this book contains.
***** {{nbt|string}} the name of a recipe, for instance <code>minecraft:gold_nugget</code> or <code>minecraft:gold_ingot_from_nuggets</code>
</div>

== History ==
{{History|java}}
{{History||1.12|snap=17w13a|[[File:Knowledge Book JE1.png|32px]] Added knowledge books.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 453.}}
{{History||1.14|snap=18w43a|[[File:Knowledge Book JE2.png|32px]] The texture of knowledge books has now been changed.}}
{{History||1.20|snap=1.20 Release Candidate 1|Knowledge books can now be placed in [[chiseled bookshelf|chiseled bookshelves]].}}
{{History|Foot}}

== Issues ==
{{Issue list}}

== See also ==
* [[Book]]
* [[Enchanted Book]]
* {{cmd|recipe}} command

{{Items}}

[[Category:Non-renewable resources]]

[[de:Buch des Wissens]]
[[es:Enciclopedia]]
[[fr:Livre des connaissances]]
[[ja:知恵の本]]
[[ko:지식의 책]]
[[lzh:天工開物]]
[[pl:Księga wiedzy]]
[[pt:Enciclopédia]]
[[ru:Книга знаний]]
[[zh:知识之书]]</li><li>[[Name Tag|Name Tag]]<br/>{{about|the item that gives names to mobs|the nameplate above a player's head|Player#Username}}
{{Item
| image = Name Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''name tag''' is an [[item]] used to name [[mob]]s in the world and prevent them from despawning naturally.

== Obtaining ==

=== Chest loot ===

{{LootChestItem|name-tag}}

=== Fishing ===

Name tags can be caught from [[fishing]] as part of the treasure category with a {{frac|1|6}} chance after the 5% chance of being a treasure catch. The chance of catching treasure increases with the [[Luck of the Sea]] enchantment.

=== Trading ===

Master-level librarian [[villagers]] offer to sell a name tag for 20 [[emerald]]s as one of their available trades.

== Usage ==

To use a name tag, it must first be renamed with an [[anvil]], costing 1 [[experience]] level. 

If it is not renamed, it has no effect when used on a mob. After the name tag is renamed, the player can {{control|use}} it on a mob to give it the name given to the name tag from the anvil. Mobs and name tags can be renamed any number of times. Name tags with the same name are stackable. 

Once a mob is named, it keeps its name, and the name tag is consumed.

When a mob is named, it is excluded from the mob cap count.

Effects on various mobs:
* A named [[silverfish]] that goes into a block appears to lose its name because it is replaced by a newly generated unnamed silverfish when the block is broken.
* A baby (animal or villager) keeps its name when becoming an adult.
** A named [[villager]] keeps its name when transformed into a [[Zombie Villager|zombie villager]].
** A named zombie villager keeps its name when cured.
* [[Wandering Trader|Wandering trader]]s still despawn even if they are named, or in a [[minecart]] or [[boat]].
* A named [[wither]]'s boss bar displays its name instead of "Wither".
* Naming an [[ender dragon]] with commands also displays the name in the boss bar.

=== Limitations ===

Any mob can be named except for the [[ender dragon]] and [[player]]s.

A name tag can rename an [[armor stand]], though it does not show the nameplate above its head until <code>CustomNameVisible:1b</code> is set as an extra step.

{{control|Using|use}} a name tag on a villager renames the villager instead of opening the trading interface. A saddled pig is renamed instead of being ridden. Using a name tag on any other mob that can be interacted with performs the {{control|use}} action instead of being named. These mobs can be renamed if the player uses the name tag while crouching or standing in a [[nether portal]] because the portal suppresses the {{control|use}} action.

Once a name tag is used on a mob, it is impossible to remove the name of that mob without the use of commands or external modifications.

=== Behavior ===

Renamed mobs have their name displayed over their head in the same fashion as a mob named through a renamed [[spawn egg]]. Their names can be seen only if they are aimed at from four or fewer blocks away.

Mobs that are named using the name tag never despawn in the world, similar to tamed mobs.<ref>{{tweet|dinnerbone|327485109940916226}}</ref> The exceptions are [[wandering trader]]s or if the mob is hostile and the difficulty is switched to "[[Peaceful]]", causing any hostile mobs or any named hostile mobs to despawn immediately. 

If a renamed mob kills a player, the custom name is used in the death message in place of the mob type name. For instance, if a vindicator named "Johnny" kills a player, the death message is "Player was slain by Johnny". 

A renamed [[wither]] also has a renamed health bar, and the boss bar doesn't regenerate{{verify}}.

=== Easter eggs ===

* Any mob that receives the name "[[Easter eggs#Upside-down mobs|Dinnerbone]]" or "[[Easter eggs#Upside-down mobs|Grumm]]" is rendered upside down. This even includes the player in early versions of Bedrock Edition if the username is set to either of these and you are not signed into Xbox Live.
* Naming a [[sheep]] "[[Easter eggs#Jeb sheep|jeb_]]" causes its wool to fade between the dye colors, producing a rainbow effect. The [[wool]] that drops when the sheep is [[shear]]ed or killed is the original color of the sheep before the sheep was named.
* Naming a [[rabbit]] "[[Rabbit#Toast|Toast]]" causes it to have a special memorial skin of user xyzen420's girlfriend's [http://www.reddit.com/r/minecraftsuggestions/comments/27hjog/to_themogminer_my_bunny_is_missing_please_help_me/ missing rabbit].
* Naming a [[vindicator]] "Johnny" causes it to be aggressive and attack all [[mob]]s including the wither (except [[ghast]]s and other [[illager]]s). The hostility even extends to [[Ravager|ravagers]] in [[Java Edition|''Java Edition'']], as the "Johnny" vindicator can also attack the ravager while it's riding it.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Name Tag
|spritetype=item
|nameid=name_tag
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Name Tag
|spritetype=item
|nameid=name_tag
|id=548
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.6.1|snap=13w16b|[[File:Name Tag JE1 BE1.png|32px]] Added name tags. They can now be found in [[dungeon]] [[chest]]s.}}
{{History|||snap=13w25a|A [[mob]] named "Dinnerbone" or "Grumm" now renders upside down.}}
{{History||1.7.2|snap=13w36a|Name tags can now rarely be acquired by [[fishing]], making them [[renewable resource|renewable]].}}
{{History||1.7.4|snap=13w48b|A sheep named "jeb_" now fades between the [[dye]] colors.}}
{{History||1.8|snap=14w02a|Name tags can now be [[trading|bought]] from librarian [[villager]]s, at 20–22 [[emerald]]s for 1 name tag.}}
{{History|||snap=14w27a|[[Rabbit]]s have been added and naming one "Toast" gives it a special memorial skin.}}
{{History||1.9|snap=15w44a|Added name tags to [[mineshaft]] [[chest]]s.
|The average yield of name tags in [[dungeon]] chests has been decreased.}}
{{History||1.11|snap=16w39a|Name tags can now be found in the new [[woodland mansion]] chests.
|Added [[vindicator]]s, which attack almost all mobs if named "Johnny".}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 421.}}
{{History||1.14|snap=18w43a|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Name tags now generate in [[ancient city]] chests.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Name Tag JE1 BE1.png|32px]]  Added name tags, and a new "Name" Interact button.
|A [[mob]] named "Dinnerbone" or "Grumm" renders upside down.
|A [[sheep]] named "jeb_" fades between the [[dye]] colors.
|Naming a [[rabbit]] "Toast" gives it a special memorial skin.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Name tags can now be [[trading|bought]] from librarian [[villager]]s for 20-22 [[emerald]]s as their last tier trade.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Naming a [[vindicator]] "Johnny" now makes it hostile to any [[mob]], except other [[illager]]s.
|Name tags can now be found in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Name tags can now be found in buried treasure [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Name tags [[trading|sold]] by librarian [[villager]]s now cost 20 [[emerald]]s.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|PS4}}
{{History||1.90|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Name tags were added at the request of [https://www.youtube.com/user/paulsoaresjr/ Paulsoaresjr].<ref>{{tweet|paulsoaresjr|326865482839883777}}</ref><ref>{{tweet|Dinnerbone|326812168630722561}}</ref>
* A stack of up to 64 name tags can be renamed at once. The cost is 1 [[experience]] level per stack, regardless of how many name tags were stacked.
* To name a [[mob]] “Name Tag” the player must give the name tag a random name, then rename it back to “Name Tag”.
* A [[villager]] with a name tag turned into a [[zombie villager]] by a [[zombie]] with a name tag does not despawn, but a villager with a name tag turned into a zombie by a zombie without a name tag does despawn.
* It is impossible to have a rainbow [[sheep]] upside-down, because it is impossible for it to be named “Jeb_” and “Dinnerbone” at the same time.

== Gallery ==
<gallery>
NameTag2.png|To use a name tag, the [[player]] must first rename it using an [[anvil]].
NameTag1.png|A [[wolf]] that has been renamed using a name tag.
RenamedCreeper.png|A [[creeper]] renamed using the name tag.
RenamedWither.png|A [[Wither Boss|wither]] renamed using a name tag. The custom name takes place of "Wither" over the [[health bar]] as well.
YoYo.png|How to use "Grumm" and "Dinnerbone" name tag [[easter egg]] and [[lead]] to make another animal Yo-yo.
Grumm Horse.png|A [[horse]] using the "Grumm" or "Dinnerbone" easter egg to be rendered upside-down.
MineshaftNameTag.png|Name Tag found in a mineshaft chest.
Pocket Edition Name Tag.jpg|First image of a name tag in bedrock edition.
</gallery>

== See also ==
* [[Spawn Egg]]

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--name-tag Taking Inventory: Name Tag] – Minecraft.net on March 15, 2019

{{items}}

[[de:Namensschild]]
[[es:Etiqueta]]
[[fr:Étiquette]]
[[it:Targhetta]]
[[ja:名札]]
[[ko:이름표]]
[[nl:Naamkaartje]]
[[pl:Znacznik]]
[[pt:Etiqueta]]
[[ru:Бирка]]
[[zh:命名牌]]
[[Category:Renewable resources]]</li></ul>
Added a new level generator.
August 25, 2009Showed another new level generator, which generates cliffs more commonly.
Java Edition Indev
0.31
{{Extension DPL}}<ul><li>[[:Category:Minecraft Legends resources|Category:Minecraft Legends resources]]<br/>[[Category:Minecraft Legends]]
[[Category:Items]]
[[pt:Categoria:Recursos do Minecraft Legends]]</li><li>[[Netherite Ingot|Netherite Ingot]]<br/>{{About|the refined item|the scrap|Netherite Scrap|the ore|Ancient Debris|other uses|Netherite}}
{{Item
| rarity = Common
| renewable = No
| stackable = Yes (64)
}}
'''Netherite ingots''' are items obtained from crafting [[netherite scrap]]s and [[gold ingot]]s together, as well as loot from [[bastion remnant]] loot chests. Unlike other items, they are immune to fire and [[lava]] damage. They are primarily used to upgrade [[diamond]] gear and craft [[lodestone]]s.

== Obtaining ==

Netherite ingots are obtained by crafting four [[netherite scrap]]s and four [[gold ingot]]s. It is a shapeless recipe, therefore the placement of the netherite scraps and gold ingots does not matter when crafting it.

=== Crafting ===

{{Crafting
|head=1
|showname=0
|Netherite Scrap
|Netherite Scrap
|Netherite Scrap
|Netherite Scrap
|Gold Ingot
|Gold Ingot
|Gold Ingot
|Gold Ingot
|Output=Netherite Ingot
|type=Material
}}

{{Crafting 
|Block of Netherite
|Output=Netherite Ingot,9
|type=Material
|foot=1
}}

=== Chest loot ===
{{LootChestItem|netherite-ingot}}

== Usage ==
Netherite ingots are crafting materials used to make netherite tools, weapons, and armor.

=== Crafting ingredient ===

{{crafting usage}}

=== Smithing ingredient ===
Netherite ingots can be used on a [[smithing table]] to upgrade diamond items to netherite items, as well as trim any armor piece. Data such as durability, enchantments, and custom names are preserved.

{{Smithing
|head=1
|ingredients=[[Netherite Upgrade]] +<br>Any [[diamond]] gear +<br>[[Netherite Ingot]]
|Netherite Upgrade
|Diamond Helmet; Diamond Chestplate; Diamond Leggings; Diamond Boots; Diamond Sword; Diamond Pickaxe; Diamond Axe; Diamond Shovel; Diamond Hoe
|Netherite Ingot
|Netherite Helmet; Netherite Chestplate; Netherite Leggings; Netherite Boots; Netherite Sword; Netherite Pickaxe; Netherite Axe; Netherite Shovel; Netherite Hoe
}}
{{Smithing
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Netherite Ingot
|Any Armor Trim Smithing Template
|Diamond Chestplate
|Netherite Ingot
|Netherite Trim Diamond Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a diamond chestplate is shown as an example.<br/>
|tail=1
}}

'''Trim color palette'''
The following color palettes are shown on the designs on trimmed armor:
* {{TrimPalette|netherite ingot}}
* {{TrimPalette|netherite ingot|darker=1}} (a darker color palette is used when a netherite armor piece is trimmed using a netherite ingot).

=== Repairing ===

Netherite ingots are the repair items for the netherite [[tier]] and [[armor material]], and thus can be used to [[item repair|repair]] the following items in an [[anvil]]:
* {{ItemLink|Netherite Helmet}}
* {{ItemLink|Netherite Chestplate}}
* {{ItemLink|Netherite Leggings}}
* {{ItemLink|Netherite Boots}}
* {{ItemLink|Netherite Sword}}
* {{ItemLink|Netherite Pickaxe}}
* {{ItemLink|Netherite Axe}}
* {{ItemLink|Netherite Shovel}}
* {{ItemLink|Netherite Hoe}}

=== Beacons ===

A netherite ingot could be used to select powers from a [[beacon]] instead of using an [[emerald]], [[gold ingot]], [[iron ingot]], or a [[diamond]]. The player must select one of the available powers, and then insert an ingot in the item slot. The [[gold]] option is more efficient than the netherite option because it consumes 3 fewer gold and no [[Netherite Scrap|netherite scrap]].

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Netherite Ingot
|spritetype=item
|nameid=netherite_ingot
|itemtags=beacon_payment_items
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Netherite Ingot
|spritetype=item
|nameid=netherite_ingot
|id=603
|form=item
|foot=1}}

=== Advancements ===
{{load advancements|Serious dedication}}

== History ==
{{History|java}}
{{History||1.16|snap=20w06a|[[File:Netherite Ingot JE1 BE2.png|32px]] Added netherite ingots.}}
{{History|||snap=20w07a|Netherite ingots can now be used to power [[beacon]]s.}}
{{History|||snap=20w10a|The [[crafting]] recipe for netherite [[tools]] and [[armor]] has been changed so that a [[smithing table]] is used instead of a [[crafting table]] and [[enchanting|enchantments]] are preserved when upgrading [[item]]s.}}
{{History|||snap=20w13a|Netherite ingots can now be used to craft [[lodestone]]s.}}
{{History|||snap=20w16a|Netherite ingots can now be found in [[bastion remnant]] chests.}}
{{History||1.16.2|snap=20w30a|Increased the chance of finding netherite ingots in bastion remnant chests from 16.8% to 42.1%.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Netherite ingots can now be used as an armor trim material.|Upgrading diamond tools and armor to netherite now requires the netherite upgrade [[smithing template]] in addition to a netherite ingot.}}
{{History|||snap=23w05a|Netherite ingots can now be used to trim netherite armor.}}
{{History||1.20|snap=23w12a|Netherite ingots are now usable for trimming without requiring the "Update 1.20" experimental datapack to be enabled.}}

{{History|bedrock}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Ingot BE1.png|32px]] Added netherite ingots.}}
{{History|||snap=beta 1.16.0.57|Netherite ingots can now be used to power [[beacon]]s.
|The [[crafting]] recipe for netherite [[tools]] and [[armor]] has been changed so that a [[smithing table]] is used instead of a [[crafting table]] and [[enchanting|enchantments]] are preserved when upgrading [[item]]s.
|Netherite ingots can now be used to craft [[lodestone]]s.
|Netherite ingots can now be found in [[bastion remnant]] chests.}}
{{History||1.17.10|snap=beta 1.17.10.20|[[File:Netherite Ingot JE1 BE2.png|32px]] The texture of netherite ingots has been changed to match ''Java Edition''.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|Netherite ingots can now be used as an armor trim material.|Upgrading diamond tools and armor to netherite now requires the netherite upgrade [[smithing template]] in addition to a netherite ingot.}}
{{History||1.20.0|snap=beta 1.20.0.21|Netherite ingots are now usable for trimming without requiring the "Next Major Update" experimental toggle to be enabled.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* {{EnvLink|Bastion Remnant}}
* {{BlockLink|Block of Netherite}}
* {{ItemLink|Netherite Scrap}}
*  {{BlockLink|Ancient Debris}}
*{{BlockLink|Lodestone}}

== External Links ==
* [https://www.minecraft.net/en-us/article/taking-inventory--netherite-ingot Taking Inventory: Netherite Ingot] – Minecraft.net on May 28, 2020

{{Items}}

[[de:Netheritbarren]]
[[es:Lingote de netherita]]
[[fr:Lingot de Netherite]]
[[it:Lingotto di netherite]]
[[ja:ネザライトインゴット]]
[[ko:네더라이트 주괴]]
[[pl:Sztabka netherytu]]
[[pt:Barra de netherita]]
[[ru:Незеритовый слиток]]
[[th:แท่งเนเธอไรต์]]
[[uk:Незеритовий злиток]]
[[zh:下界合金锭]]
[[Category:Non-renewable resources]]</li></ul>
20091223-2Isometric level rendering screenshot added.
20100106The player can now select island, floating, flat, or original as the level type when generating a world.
Players can also select square, long, or deep as the level shape.
Players can also select small, normal, or huge as the level size.
20100107Deep floating maps now have layers of islands.
Players can now select a level theme; normal or hell.
20100111-1Islands now generate with more sand.
20100113Oceans now generate with infinite water.
20100122Water now spawns naturally above sea level and on floating islands.
Caves are now less flooded.
Java Edition Alpha
v1.2.0
{{Extension DPL}}<ul><li>[[Glistering Melon Slice|Glistering Melon Slice]]<br/>{{Item
| image = Glistering Melon Slice.png‎
| renewable = Yes
| stackable = Yes (64)
}}

A '''glistering melon slice'''{{fn|Known as '''Glistering Melon Slice''' {{in|java}} and '''Glistering Melon''' {{in|bedrock}}.}} is an inedible [[item]] used for brewing [[potion]]s of [[Healing]]. It is also one of the many potion ingredients that can be used to make mundane potions.

== Obtaining ==
=== Chest loot ===
{{LootChestItem|glistering-melon-slice}}

=== Crafting ===

{{Crafting
|A1= Gold Nugget
|B1= Gold Nugget
|C1= Gold Nugget
|A2= Gold Nugget
|B2= Melon Slice 
|C2= Gold Nugget
|A3= Gold Nugget
|B3= Gold Nugget
|C3= Gold Nugget
|Output= Glistering Melon Slice
|type= Brewing
}}

=== Trading ===

Master-level farmer [[villager]]s sell 3 glistering melon for 4 [[emerald]]s.

== Usage ==
Despite being crafted with a [[melon slice]], a glistering melon slice cannot be eaten, unlike a [[golden apple]] or [[golden carrot]].

=== Brewing ingredient ===
{{Brewing
|head=1
|Glistering Melon Slice
|Mundane Potion
|base=Water Bottle
}}
{{Brewing
|Glistering Melon Slice
|Potion of Healing
|foot=1}}

===Piglins===
[[Piglin]]s are attracted to glistering melon slices. They run toward any glistering melon slice on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.

== Achievements ==
{{load achievements|Oooh, shiny!}}

== Advancements ==
{{load advancements|Oh Shiny}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Glistering Melon Slice
|spritetype=item
|nameid=glistering_melon_slice
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glistering Melon
|spritetype=item
|nameid=glistering_melon_slice
|aliasid=speckled_melon
|id=434
|form=item
|translationkey=item.speckled_melon.name
|foot=1}}

== History ==

{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 4|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.
|The [[crafting]] recipe of glistering melons is one [[melon slice]] and one [[gold nugget]].
|Glistering melons have replaced [[ghast tear]]s as the ingredient to produce [[potions of Healing]] due to the difficulty in getting tears.<ref>{{tweet|jeb_|123671273904680960}}</ref>  They also now brew with [[water bottle]]s to create [[mundane potion]]s.}}
{{History||1.6.1|snap=13w23a|The [[crafting]] recipe of glistering melons is changed from one [[gold nugget]] to eight.}}
{{History||1.9|snap=15w49a|[[File:Glistering Melon Slice JE2.png|32px]] The rotation of glistering melon [[item]]s has been changed to be consistent with [[melon slice]]s.<ref>{{bug|MC-85963}}</ref>}}
{{History|||snap=15w49b|[[File:Glistering Melon Slice JE1 BE1.png|32px]] The rotation of glistering melons has been reverted and is no longer consistent with melon slices.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 382.}}
{{History|||snap=18w20b|"Glistering Melon" has been renamed to "Glistering Melon Slice".
|The ID of glistering melon slices has been changed from <code>speckled_melon</code> to <code>glistering_melon_slice</code>.}}
{{History||1.14|snap=18w43a|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melon slices has been changed.}}
{{History|||snap=19w11a|Farmer [[villager]]s now [[trading|sell]] glistering melon slices.}}
{{History||1.16|snap=20w09a|Glistering melon slices are now admired by [[piglin]]s.<ref>{{bug|MC-172363}}</ref>}}
{{History|||snap=20w16a|Glistering melon slices now generate in [[ruined portal]] chests.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melons has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Glistering melons can now be [[trading|bought]] from farmer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|[[Trading]] has been changed. Master-level farmer villagers now have a {{frac|1|3}} chance to [[trading|sell]] glistering melon slices.}}
{{History||1.16.0|snap=beta 1.16.0.57|Glistering melons are [[trading|sold]] from farmer villagers under a 50% chance, once again.
|Glistering melons now generate in [[ruined portal]] chests.}}
{{History||1.16.100|snap=beta 1.16.100.54|[[Ruined Portal]]s can now generate with 4–12 glistering melons instead of only one.}}
{{History|||snap=beta 1.16.100.56|The ID of glistering melon slices has been changed from <code>speckled_melon</code> to <code>glistering_melon_slice</code>.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melons has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==
* [[Melon Slice]]
* [[Melon]]

== Notes ==
{{fnlist}}

== References ==
{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Zlatavý kousek melounu]]
[[de:Glitzernde Melonenscheibe]]
[[es:Rodaja de sandía reluciente]]
[[fr:Tranche de pastèque scintillante]]
[[hu:Ragyogó dinnye]]
[[ja:きらめくスイカの薄切り]]
[[ko:반짝이는 수박 조각]]
[[nl:Glinsterende meloenschijf]]
[[pl:Błyszczący arbuz]]
[[pt:Fatia de melancia reluzente]]
[[ru:Сверкающий ломтик арбуза]]
[[uk:Блискуча скибка кавуна]]
[[zh:闪烁的西瓜片]]</li><li>[[Netherite Ingot|Netherite Ingot]]<br/>{{About|the refined item|the scrap|Netherite Scrap|the ore|Ancient Debris|other uses|Netherite}}
{{Item
| rarity = Common
| renewable = No
| stackable = Yes (64)
}}
'''Netherite ingots''' are items obtained from crafting [[netherite scrap]]s and [[gold ingot]]s together, as well as loot from [[bastion remnant]] loot chests. Unlike other items, they are immune to fire and [[lava]] damage. They are primarily used to upgrade [[diamond]] gear and craft [[lodestone]]s.

== Obtaining ==

Netherite ingots are obtained by crafting four [[netherite scrap]]s and four [[gold ingot]]s. It is a shapeless recipe, therefore the placement of the netherite scraps and gold ingots does not matter when crafting it.

=== Crafting ===

{{Crafting
|head=1
|showname=0
|Netherite Scrap
|Netherite Scrap
|Netherite Scrap
|Netherite Scrap
|Gold Ingot
|Gold Ingot
|Gold Ingot
|Gold Ingot
|Output=Netherite Ingot
|type=Material
}}

{{Crafting 
|Block of Netherite
|Output=Netherite Ingot,9
|type=Material
|foot=1
}}

=== Chest loot ===
{{LootChestItem|netherite-ingot}}

== Usage ==
Netherite ingots are crafting materials used to make netherite tools, weapons, and armor.

=== Crafting ingredient ===

{{crafting usage}}

=== Smithing ingredient ===
Netherite ingots can be used on a [[smithing table]] to upgrade diamond items to netherite items, as well as trim any armor piece. Data such as durability, enchantments, and custom names are preserved.

{{Smithing
|head=1
|ingredients=[[Netherite Upgrade]] +<br>Any [[diamond]] gear +<br>[[Netherite Ingot]]
|Netherite Upgrade
|Diamond Helmet; Diamond Chestplate; Diamond Leggings; Diamond Boots; Diamond Sword; Diamond Pickaxe; Diamond Axe; Diamond Shovel; Diamond Hoe
|Netherite Ingot
|Netherite Helmet; Netherite Chestplate; Netherite Leggings; Netherite Boots; Netherite Sword; Netherite Pickaxe; Netherite Axe; Netherite Shovel; Netherite Hoe
}}
{{Smithing
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Netherite Ingot
|Any Armor Trim Smithing Template
|Diamond Chestplate
|Netherite Ingot
|Netherite Trim Diamond Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a diamond chestplate is shown as an example.<br/>
|tail=1
}}

'''Trim color palette'''
The following color palettes are shown on the designs on trimmed armor:
* {{TrimPalette|netherite ingot}}
* {{TrimPalette|netherite ingot|darker=1}} (a darker color palette is used when a netherite armor piece is trimmed using a netherite ingot).

=== Repairing ===

Netherite ingots are the repair items for the netherite [[tier]] and [[armor material]], and thus can be used to [[item repair|repair]] the following items in an [[anvil]]:
* {{ItemLink|Netherite Helmet}}
* {{ItemLink|Netherite Chestplate}}
* {{ItemLink|Netherite Leggings}}
* {{ItemLink|Netherite Boots}}
* {{ItemLink|Netherite Sword}}
* {{ItemLink|Netherite Pickaxe}}
* {{ItemLink|Netherite Axe}}
* {{ItemLink|Netherite Shovel}}
* {{ItemLink|Netherite Hoe}}

=== Beacons ===

A netherite ingot could be used to select powers from a [[beacon]] instead of using an [[emerald]], [[gold ingot]], [[iron ingot]], or a [[diamond]]. The player must select one of the available powers, and then insert an ingot in the item slot. The [[gold]] option is more efficient than the netherite option because it consumes 3 fewer gold and no [[Netherite Scrap|netherite scrap]].

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Netherite Ingot
|spritetype=item
|nameid=netherite_ingot
|itemtags=beacon_payment_items
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Netherite Ingot
|spritetype=item
|nameid=netherite_ingot
|id=603
|form=item
|foot=1}}

=== Advancements ===
{{load advancements|Serious dedication}}

== History ==
{{History|java}}
{{History||1.16|snap=20w06a|[[File:Netherite Ingot JE1 BE2.png|32px]] Added netherite ingots.}}
{{History|||snap=20w07a|Netherite ingots can now be used to power [[beacon]]s.}}
{{History|||snap=20w10a|The [[crafting]] recipe for netherite [[tools]] and [[armor]] has been changed so that a [[smithing table]] is used instead of a [[crafting table]] and [[enchanting|enchantments]] are preserved when upgrading [[item]]s.}}
{{History|||snap=20w13a|Netherite ingots can now be used to craft [[lodestone]]s.}}
{{History|||snap=20w16a|Netherite ingots can now be found in [[bastion remnant]] chests.}}
{{History||1.16.2|snap=20w30a|Increased the chance of finding netherite ingots in bastion remnant chests from 16.8% to 42.1%.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Netherite ingots can now be used as an armor trim material.|Upgrading diamond tools and armor to netherite now requires the netherite upgrade [[smithing template]] in addition to a netherite ingot.}}
{{History|||snap=23w05a|Netherite ingots can now be used to trim netherite armor.}}
{{History||1.20|snap=23w12a|Netherite ingots are now usable for trimming without requiring the "Update 1.20" experimental datapack to be enabled.}}

{{History|bedrock}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Ingot BE1.png|32px]] Added netherite ingots.}}
{{History|||snap=beta 1.16.0.57|Netherite ingots can now be used to power [[beacon]]s.
|The [[crafting]] recipe for netherite [[tools]] and [[armor]] has been changed so that a [[smithing table]] is used instead of a [[crafting table]] and [[enchanting|enchantments]] are preserved when upgrading [[item]]s.
|Netherite ingots can now be used to craft [[lodestone]]s.
|Netherite ingots can now be found in [[bastion remnant]] chests.}}
{{History||1.17.10|snap=beta 1.17.10.20|[[File:Netherite Ingot JE1 BE2.png|32px]] The texture of netherite ingots has been changed to match ''Java Edition''.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|Netherite ingots can now be used as an armor trim material.|Upgrading diamond tools and armor to netherite now requires the netherite upgrade [[smithing template]] in addition to a netherite ingot.}}
{{History||1.20.0|snap=beta 1.20.0.21|Netherite ingots are now usable for trimming without requiring the "Next Major Update" experimental toggle to be enabled.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* {{EnvLink|Bastion Remnant}}
* {{BlockLink|Block of Netherite}}
* {{ItemLink|Netherite Scrap}}
*  {{BlockLink|Ancient Debris}}
*{{BlockLink|Lodestone}}

== External Links ==
* [https://www.minecraft.net/en-us/article/taking-inventory--netherite-ingot Taking Inventory: Netherite Ingot] – Minecraft.net on May 28, 2020

{{Items}}

[[de:Netheritbarren]]
[[es:Lingote de netherita]]
[[fr:Lingot de Netherite]]
[[it:Lingotto di netherite]]
[[ja:ネザライトインゴット]]
[[ko:네더라이트 주괴]]
[[pl:Sztabka netherytu]]
[[pt:Barra de netherita]]
[[ru:Незеритовый слиток]]
[[th:แท่งเนเธอไรต์]]
[[uk:Незеритовий злиток]]
[[zh:下界合金锭]]
[[Category:Non-renewable resources]]</li></ul>
?Terrain-breaking change to world gen: using any given seed on older versions now generates a different world.
Java Edition Beta
1.3
{{Extension DPL}}<ul><li>[[:Category:Joke items|Category:Joke items]]<br/>[[Category:Joke features|Items]]
[[Category:Items]]</li><li>[[Cooked Porkchop|Cooked Porkchop]]<br/>{{Item
| title = Cooked Porkchop
| image = Cooked Porkchop.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable =  Yes (64)
}}

'''Cooked porkchop''' is a [[food]] [[item]] that can be eaten by the [[player]].

== Obtaining ==
{{see also|Tutorials/Animal farming|title1=Animal farming}}

Cooked porkchops can be obtained by cooking [[raw porkchop]]s or by [[trading]] with butchers, and is a [[drops|drop]] from [[pig]]s and [[hoglin]]s that die while on [[fire]].

=== Mob loot ===

==== Pigs ====

Adult [[pig]]s drop 1–3 cooked porkchop if killed while on fire. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1-6 with Looting III.

==== Hoglins ====

Adult [[hoglin]]s drop 2–4 cooked porkchop if killed while on fire. The maximum amount is increased by 1 per level of Looting, for a maximum of 7 with Looting III.

=== Cooking ===

[[Raw porkchop]] can be cooked in a [[furnace]], [[smoker]], or [[campfire]]. Each piece of cooked porkchop removed from a furnace output slot gives 0.35 [[experience]] (22.4 experience per stack).
{{Smelting
|Raw Porkchop
|Cooked Porkchop
|0,35
}}

=== Trading ===
{{IN|java}}, apprentice-level butcher [[villager]]s have a {{frac|2|3}} chance of selling 5 cooked porkchop for 1 [[emerald]].

Butcher villagers may give players with the [[Hero of the Village]] effect a cooked porkchop.{{only|java}}

{{IN|bedrock}}, apprentice-level butcher villagers have a 25% chance to sell 5 cooked porkchop for 1 emerald.

=== Chest loot ===
{{LootChestItem|cooked-porkchop}}

== Usage ==

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

To eat cooked porkchop, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|8}} [[hunger]] and 12.8 [[Hunger#Mechanics|saturation]].

=== Wolves ===

Cooked porkchops can be used to [[breeding|breed]] and heal tamed [[wolf|wolves]], lead them around, and make baby tamed wolves grow up faster by 10% of the remaining time.

=== Piglins ===
[[Piglin]]s pick up any cooked porkchops in their [[item (entity)|item]] form. However, they do not eat it.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cooked Porkchop
|spritetype=item
|nameid=cooked_porkchop
|itemtags=piglin_food
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Porkchop
|spritetype=item
|nameid=cooked_porkchop
|id=263
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Pork Chop}}

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

== History ==

{{History|java indev}}
{{History||20100219|[[File:Cooked Porkchop JE1.png|32px]] Added cooked porkchops.
|Cooked porkchops restore {{hp|8}} and do not stack in the [[inventory]].
|Created by cooking [[raw porkchops]] in the inventory.}}
{{History|java alpha}}
{{History||v1.2.0|snap=preview|[[Zombie pigmen]] now [[drops|drop]] 0-2 cooked porkchops upon [[death]].}}
{{History|java beta}}
{{History||1.5|[[Pig]]s now [[drops|drop]] cooked porkchops when killed with [[fire]].}}
{{History||1.8|snap=Pre-release|[[File:Cooked Porkchop JE2 BE1.png|32px]] The texture of cooked porkchops has been changed to avoid confusion with [[steak]].
|Cooked porkchops are now stackable to 64 and restore [[hunger]] instead of [[health]].
|Cooked porkchops now restore {{hunger|8}} to the food bar.
|Cooked porkchops are no longer dropped by [[zombie pigmen]] upon their [[death]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Cooked porkchop can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Butcher [[villager]]s now [[trading|sell]] 6–7 cooked porkchops for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|Butcher [[villager]]s now [[trading|sell]] 5–7 cooked porkchops for 1 [[emerald]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 320.}}
{{History||1.14|snap=18w43a|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give cooked porkchops to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w07a|[[Hoglin]]s now drop cooked porkchops if killed while on fire.}}
{{History|||snap=20w16a|Cooked porkchops can now be found in hoglin stable chests in [[bastion remnant]]s.}}
{{History||1.16.2|snap=20w30a|Cooked porkchops can now be found in generic bastion remnant chests as well.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Cooked Porkchop JE2 BE1.png|32px]] Added cooked porkchops.}}
{{History||v0.5.0|Cooked porkchops now restore {{hp|8}} instead of {{hp|4}}.}}
{{History||v0.8.0|snap=build 1|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History||v0.12.1|snap=build 1|Cooked porkchops now restore [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Butcher [[villager]]s now [[trading|sell]] 5–7 cooked porkchops for 1 [[emerald]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}} 
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, butcher [[villager]]s now have a 25% chance to [[trading|sell]] 4 cooked porkchops as part of their second-tier [[trading|trade]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed, apprentice butcher [[villager]]s now have a 25% chance to [[trading|sell]] 5 cooked porkchops instead of 3.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Cooked Porkchop JE1.png|32px]] Added cooked porkchops.}}
{{History||xbox=TU3|[[File:Cooked Porkchop JE2 BE1.png|32px]] The texture of cooked porkchops has been changed to be consistent with [[Java Edition]].}}
{{History||xbox=TU5|Cooked porkchops are now stackable to 64.
|Cooked porkchops now fill [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History|PS4}}
{{History||1.90|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}} 

{{History|new3DS}}
{{History||0.1.0|[[File:Cooked Porkchop JE3 BE2.png|32px]] Added cooked porkchops.}}
{{History|foot}}

== Issues ==
{{issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--porkchop Taking Inventory: Porkchop] – Minecraft.net on February 13, 2020

{{Items}}

[[Category:Food]]
[[Category:Renewable resources]]

[[cs:Pečená kotleta]]
[[de:Gebratenes Schweinefleisch]]
[[es:Chuleta de cerdo cocinada]]
[[fr:Côtelette de porc cuite]]
[[hu:Sült sertésszelet]]
[[ja:焼き豚]]
[[nl:Gebraden varkensvlees]]
[[pl:Pieczony schab]]
[[pt:Costeleta de porco assada]]
[[ru:Жареная свинина]]
[[uk:Смажена свинина]]
[[zh:熟猪排]]</li></ul>
It is now possible to manually determine the seed upon world creation.
1.8
{{Extension DPL}}<ul><li>[[Ender Pearl|Ender Pearl]]<br/>
{{ItemEntity
|image=Ender Pearl.png
|renewable=Yes
|stackable=Yes (16)
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
}}
An '''ender pearl''' is an [[item]] that can be thrown and [[teleport|teleports]] the thrower to where it lands, and used to craft [[eye of ender|eyes of ender]] which are required to access [[the End]].

== Obtaining ==
=== Mob loot ===
An [[enderman]] has a 50% chance to drop 1 ender pearl when killed. The drop is increased by 1 per level of [[Looting]], with a maximum of 4 with Looting III.

=== Chest loot ===
{{LootChestItem|ender-pearl}}

A [[trapped chest]] always containing 2 ender pearls can be found in the "fake end portal" room of [[woodland mansion]]s.

=== Trading ===
{{IN|java}}, expert-level [[Trading#Cleric|cleric villagers]] have a {{frac|2|3}} chance to sell an ender pearl for 5 [[emerald]]s.

{{IN|bedrock}}, expert-level cleric villagers sell one ender pearl for 5 emeralds.

=== Bartering ===
[[Piglin]]s have a {{frac|10|459}} (4.27) chance to [[barter]] 3-4 ender pearls when given a [[gold ingot]].

== Usage ==
Ender pearls can be thrown by pressing {{control|use}}. After it is thrown, the ender pearl is consumed, and the player teleports to where it lands, taking {{hp|5}} [[fall damage]]. Wearing armor enchanted with [[Protection]] and/or [[Feather Falling]] reduces the damage taken from the ender pearl. 

Ender pearls have a small cone of travel; they do not all follow the same path when thrown in the same direction. The direction and velocity of ender pearl throws is slightly randomized. They can travel about 30 blocks when thrown straight up, and up to 54 blocks forward when thrown at an optimum launch angle of ~35° (on even ground).

The thrower's vertical velocity influences the throw. Hence timing a throw with a jump can increase the throwing range to 42 blocks when thrown straight up and 64 blocks forward at a 35° angle. Throwing while falling significantly decreases the range. Ender pearls collide with all [[minecart]] types, [[boat]]s, [[end crystal]]s and [[nether portal]]s, and travel through [[end portal]]s. Ender pearls that fall into the [[void]] disappear, and do not trigger the player to teleport. However, ender pearl entities (instead of dropped items) are ''not'' destroyed by lava and will teleport the player to the bottom of lava pools/lava oceans.

Ender pearls have a cooldown of one second before they can be used again. The cooldown is shown in the hotbar by a white overlay on the ender pearl that shrinks and must disappear before the player can use it again. If there are other inventory or hotbar slots containing ender pearls, they are covered with the white overlay as well.<ref>{{bug|MC-88236|||WAI}}</ref> 

Ender pearls can be thrown into [[end gateway]]s to reach the outer islands of the End. They can also be thrown into the [[exit portal]] to reach the player's spawn point.

Ender pearl teleportation makes no sound ''itself''{{only|java}}, but does emit a "small fall" sound at the destination when applying teleportation damage to the player.

=== Stasis chamber ===
Ender pearls are affected by [[bubble column]]s. An ender pearl can remain afloat on top of an upward bubble column, allowing it to be stored indefinitely. A mechanism can then be triggered to make the ender pearl hit a solid surface (e.g. by closing a [[trapdoor]]), teleporting the thrower back to the setup wherever they are.

=== Spawning endermites ===
An ender pearl has a 10% chance to spawn an [[endermite]] when it lands. This is the only way through which endermites can spawn, without using cheats. The endermite spawns at ''the player's position'' when the pearl lands{{only|je}}, or at the pearl's landing site{{only|be}}.

=== Crafting ingredient ===
{{crafting usage}}

== Sounds ==
{{edition|java}}:<br>
Thrown ender pearls use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Bow shoot.ogg
|subtitle=Ender Pearl flies
|source=neutral
|description=When an ender pearl is thrown
|id=entity.ender_pearl.throw
|translationkey=subtitles.entity.ender_pearl.throw
|volume=0.5
|pitch={{frac|1|3}}-0.5
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Bow shoot.ogg
|source=player
|description=When an ender pearl is thrown
|id=random.bow
|volume=0.5
|pitch=0.33-0.5
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Ender Pearl
|spritetype=item
|nameid=ender_pearl
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Thrown Ender Pearl
|spritetype=entity
|spritename=Ender Pearl
|nameid=ender_pearl
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Ender Pearl
|spritetype=item
|nameid=ender_pearl
|id=422
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Ender Pearl
|spritetype=entity
|nameid=ender_pearl
|id=87
|foot=1}}

===Entity Data===
Thrown ender pearls have entity data that define various properties of the entity.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

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

== Achievements ==
{{Load achievements|Beam Me Up}}

== Advancements ==
{{load advancements|Remote Getaway;Bullseye}}

== History ==
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Ender Pearl JE1.png|32px]] Added ender pearls along with [[endermen]]. 
|Ender pearls have no use, but can stack up to 64.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Ender pearls are now less commonly found near bodies of [[water]] since [[endermen]] now teleport away when in contact with water. Before this version, endermen didn't attempt to teleport and were [[damage]]d/killed from water much more frequently, causing numerous ender pearls to occur around bodies of water.
|Later, on a suggestion from [[wikipedia:Reddit|Reddit]] user isJesus, [[Notch]] implemented the teleporting feature for ender pearls.<ref>http://www.reddit.com/r/Minecraft/comments/kpsay/eggsnowballender_pearl_suggestiongif/c2mabfj</ref><ref>{{Tweet|notch|118614580539826176}}</ref><ref>http://www.reddit.com/r/Minecraft/comments/kss7n/twitter_ender_pearls_have_a_unique_ability_now/c2mwldd</ref>}}
{{History|||snap=Beta 1.9 Prerelease 2|Added teleporting feature to ender pearls.
|Using an ender pearl to teleport resulted in being kicked from servers for "hacking". This is due to a check triggering that was supposed to prevent modified clients from moving too quickly.
|Ender pearls now only stack up to 16.}}
{{History|||snap=Beta 1.9 Prerelease 3|Ender pearls are now used to craft [[eyes of ender]].
|Ender pearls can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History||1.3.1|snap=12w24a|[[File:Ender Pearl JE2 BE1.png|32px]] The texture of ender pearls has been changed.}}
{{History||1.8|snap=14w02a|As part of the revamp of the trading system, cleric [[villager]]s now [[trading|buy]] ender pearls.}}
{{History|||snap=14w03a|Villager clerics no longer buy ender pearls.}}
{{History|||snap=14w11b|Ender pearls have a 5% chance to spawn [[endermite]]s when used.}}
{{History||1.9|snap=15w31a|Ender pearls can now be thrown in [[Creative]] mode.}}
{{History|||snap=15w34c|Ender pearls now have a cooldown after using them.}}
{{History|||snap=15w41a|[[Villager]] clerics now [[trading|sell]] ender pearls for 4–7 [[emerald]]s, as one of their tier III trades.}}
{{History|||snap=15w49a|Thrown ender pearls now take the user's motion into account. For example, an ender pearl thrown forward will land closer if the player is falling, and land farther if the player is ascending.}}
{{History||1.10|snap=16w21a|Ender pearls can now teleport riders off their mounts.}}
{{History||1.11|snap=16w32a|The entity ID of ender pearls has been changed from <code>ThrownEnderpearl</code> to <code>ender_pearl</code>.}}
{{History|||snap=16w39a|Ender pearls can now be found in [[woodland mansion]]s' fake portal room [[chest]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 368.}}
{{History||1.14|snap=18w43a|[[File:Ender Pearl JE3 BE2.png|32px]] The texture of ender pearls has been changed.}}
{{History||1.16|snap=20w07a|Ender pearls have a {{frac|2|109}} (~1.83%) chance of being offered by [[piglin]]s when [[bartering]], in a stack size of 2–4.}}
{{History|||snap=20w09a|Ender pearls now have a {{frac|10|226}} (~4.42%) chance of being offered by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w10a|Ender pearls now have a {{frac|20|411}} (~4.87%) chance of being offered by piglins when bartering, in a stack size of 4–8.}}
{{History|||snap=20w20a|Ender pearls now have a {{frac|20|423}} (~4.73%) chance of being offered by piglins when bartering, in a stack size of 4–8.}}
{{History||1.16.2|snap=20w28a|Ender pearls now have a {{frac|10|459}} (~2.18%) chance of being offered by piglins when bartering, in a stack size of 2–4.}}
{{History|||snap=Pre-Release 1|Ender pearls are now affected by [[bubble column]]s.<ref>{{bug|MC-125758|||Fixed}}</ref>
|Ender pearls no longer get destroyed at contact with non-solid blocks.<ref>{{bug|MC-73884|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Ender Pearl JE2 BE1.png|32px]] Added ender pearls. 
|While fully implemented, ender pearls currently have no assigned ID and are currently unobtainable in-game.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Ender pearls are now obtainable in-game.
|Ender pearls can now be used to craft [[eyes of ender]].}}
{{History|||snap=alpha 1.0.0.0|Ender pearls now require a 1-second cooldown.}}
{{History|||snap=alpha 1.0.0.1|Ender pearl cooldown now has an animation.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Ender pearls can now be [[trading|bought]] from cleric [[villager]]s for 4-7 [[emerald]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Ender pearls can now be found in [[woodland mansion]]s' [[chest]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Ender Pearl JE3 BE2.png|32px]] The texture of ender pearls has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, expert-level cleric [[villager]]s now [[trading|sell]] an ender pearl for 5 [[emerald]]s as part of their trade.}}
{{History||1.16.0|snap=beta 1.16.0.57|Ender pearls can now be obtained from [[bartering]] with [[piglin]]s.}}
{{History||1.16.100|snap=beta 1.16.100.54|Ender pearls now have a {{frac|10|459}} (~2.18%) chance of being offered by piglins when bartering, in a stack size of 2–4.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Ender Pearl JE2 BE1.png|32px]] Added ender pearls.}}
{{History||xbox=TU7|A teleporting feature has been added to ender pearls.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Ender Pearl JE3 BE2.png|32px]] The texture of ender pearls has been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:Ender Pearl JE2 BE1.png|32px]] Added ender pearls.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
*Ender pearls can be used to teleport/move through non-[[solid block]]s without suffocation and solid blocks by pressing against the blocks and using the ender pearl at the player's feet until the player goes through.<ref>{{bug|MC-2164}}</ref><ref>{{ytl|KA1UmxraeUg}}</ref>
*In ''Java Edition'', it is possible to spawn a thrown ender pearl using commands, but it does not teleport, unless it is assigned an owner.
*If the player throws an ender pearl and then dies before impact while the pearl is in a loaded chunk, the pearl disappears and the player is not teleported. Pearls in unloaded chunks do not disappear if their owner dies.
*If the player throws an ender pearl in Survival mode and changes to Creative mode before the pearl lands, the player is still teleported.
*The player is still teleported by throwing an ender pearl and entering [[the Nether]] before it lands. The pearl is not lost if an ender pearl is thrown into a [[nether portal]] and the player travels through the portal; the pearl lands and teleports the player as usual.
*If multiple ender pearls are thrown in succession, the player can be hurt only once from fall damage within about a one-second span.
*If a [[player]] dies from ender pearl teleportation, the [[death message]] says: "<player> hit the ground too hard".
*A thrown ender pearl faces toward the player in first-person view, while it appears rotated horizontal in [[third-person view]]. This is the case for all throwable items (ender pearl, [[egg]], [[snowball]], and all throwable [[potion]]s).
*Ender pearls and [[snowball]]s have the exact same range when fired. Therefore, snowballs can be used to predict the trajectory of ender pearls, or simply for practicing ender pearl throwing. This can be very helpful when the player has to throw ender pearls in dangerous environments, such as the Nether or the End.
*Despite the fact that ender pearls deal no damage to anything they're thrown at, provokable mobs (such as iron golems and piglins) will be provoked by the player if one is thrown at them.

== Gallery ==
<gallery>
Ender Pearl Suggestion.gif|The original suggestion image for teleporting with ender pearls.
Enderlake.png|Ender pearls were formerly found in [[water]], however endermen now teleport out to prevent damage.
</gallery>

== References ==
{{reflist}}

== See also ==
*[[End Dimension]]
*[[Ender Dragon]]
*[[Ender Portal]]
*[[Enderman]]

{{Items}}
{{entities}}

[[cs:Endová perla]]
[[de:Enderperle]]
[[es:Perla de ender]]
[[fr:Perle de l'Ender]]
[[hu:Véggyöngy]]
[[ja:エンダーパール]]
[[ko:엔더 진주]]
[[nl:Enderparel]]
[[pl:Enderperła]]
[[pt:Pérola de ender]]
[[ru:Жемчуг Края]]
[[th:ไข่มุกเอนเดอร์]]
[[tr:Ender İncisi]]
[[uk:Перлина Краю]]
[[zh:末影珍珠]]</li><li>[[Leggings|Leggings]]<br/>{{Update|Include information about armor trims and updated netherite upgrade information.}}
{{Item
| image = <gallery>
Leather Pants.png | Leather
Chainmail Leggings.png | Chainmail
Iron Leggings.png | Iron
Diamond Leggings.png | Diamond
Golden Leggings.png | Golden
Netherite Leggings.png | Netherite
</gallery>
| durability = 
* Leather: 75
* Chainmail: 225
* Iron: 225
* Golden: 105
* Diamond: 495
* Netherite: 555
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| stackable = No
}}
'''Leggings''' are a type of [[armor]] that covers the lower body of the player. There are six types of leggings: '''leather pants'''<ref group=fn>Known as '''leather trousers''' in British English variant.{{only|java}}</ref>, '''chainmail leggings''', '''iron leggings''', '''diamond leggings''', '''gold leggings''', and '''netherite leggings'''.

== Obtaining ==

=== Crafting ===

{{crafting
  |head=1
  |showname=0
  |showdescription=1
  |name=Leggings
  |A1= Leather;Gold Ingot;Iron Ingot;Diamond
  |B1= Leather;Gold Ingot;Iron Ingot;Diamond
  |C1= Leather;Gold Ingot;Iron Ingot;Diamond
   |A2= Leather;Gold Ingot;Iron Ingot;Diamond
   |C2= Leather;Gold Ingot;Iron Ingot;Diamond
    |A3= Leather;Gold Ingot;Iron Ingot;Diamond
    |C3= Leather;Gold Ingot;Iron Ingot;Diamond
  |Output= Leather Pants;Golden Leggings;Iron Leggings;Diamond Leggings
  |type= Combat
}}
{{crafting
  |foot=1
  |ignoreusage=1
  |name=Leggings
  |ingredients=Damaged Matching Leggings
  |Damaged Leather Pants; Damaged Golden Leggings; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
  |Damaged Leather Pants; Damaged Golden Leggings; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
  |Output= Leather Pants; Golden Leggings; Chainmail Leggings; Iron Leggings; Diamond Leggings; Netherite Leggings
  |description= The durability of the two leggings is added together, plus an extra 5% durability. Removes any enchantments.
  |type= Combat
}}

=== Upgrading ===
{{Smithing
|Netherite Upgrade
|Diamond Leggings
|Netherite Ingot
|Netherite Leggings
|description=
|tail=1
}}

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=Damaged Matching Leggings
|Damaged Leather Pants; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Golden Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
|Damaged Leather Pants; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Golden Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
|Leather Pants; Chainmail Leggings; Iron Leggings; Golden Leggings; Diamond Leggings; Netherite Leggings
|description=The durability of the two leggings are added together, plus an extra 5% durability.
}}

==== [[Anvil mechanics#Unit repair|Unit repair]] ====
Leggings may be repaired on an [[anvil]] by combining them with their corresponding crafting material (leather, gold ingots, iron ingots, diamonds, or netherite ingots), with each repair material restoring 25% of the leggings' maximum durability, rounded down. Any enchantments are retained. Chainmail leggings may be repaired in this way with iron ingots. Leggings may also be repaired by crafting them together with another pair of leggings of the same material, although enchantments are lost.

=== Mob loot ===

If a [[zombie]], [[piglin]], [[zombie pigman]] or [[skeleton]] is wearing armor, there is an 8.5% chance (9.5% with Looting I, 10.5% with Looting II and 11.5% with Looting III) for the mob to drop leggings upon death. The leggings are usually badly damaged and may be enchanted.

[[Vindicator]]s and [[pillager]]s spawn in [[raid]]s have a chance to drop iron leggings, which are usually badly damaged, and may be enchanted.

=== Chest loot ===
{{IN|BE}}, a sealed room in [[woodland mansion]]s can appear that has a chest sometimes containing an [[Efficiency]] I leather pants.<ref>{{bug|MCPE-109048}}</ref>
{{LootChestItem|leather-pants,random-enchanted-leather-pants,chainmail-leggings,iron-leggings,level-enchanted-iron-leggings,golden-leggings,random-enchanted-golden-leggings,diamond-leggings,damaged-diamond-leggings,level-enchanted-diamond-leggings,damaged-random-enchanted-diamond-leggings,damaged-random-enchanted-diamond-leggings-2}}

=== Trading ===
{{IN|java}}, novice-level armorer villagers have a 40% chance to sell iron leggings for 7 emeralds. Apprentice-level armorer villagers have a 50% chance to sell chainmail leggings for 3 emeralds. Expert-level armorer villagers always sell enchanted diamond leggings for 18-35 emeralds. Novice-level leatherworker villagers have a {{frac|2|3}} chance to sell randomly dyed<ref group="note">The leather armor has a random color created by two dyes (possibly the same dye twice).</ref> leather pants for 3 emeralds.

Armorer villagers may give the players with the [[Hero of the Village]] effect chainmail leggings. {{only|java}}

{{IN|bedrock}}, novice-level armorer villagers have a 25% chance of selling iron leggings for 7 emeralds. Apprentice-level armorers have a {{frac|1|3}} chance to sell chainmail leggings for 3 emeralds. Expert-level armorers have a 50% chance to sell enchanted diamond leggings for 14 emeralds. Novice-level leatherworker villagers have 50% chance to sell leather pants for 3 emeralds.

{{notelist|columns=1}}

== Usage ==

Leggings can be placed in the 3rd armor slot of a player's [[inventory]] for activation.

=== Defense points ===

Defense points are each signified by half of a shirt of mail in the armor bar above the health bar. Each defense point reduces any damage dealt to the player that is absorbed by armor by 4%, increasing additively with the number of defense points. Different materials and combinations of armor provide different levels of defense.

The following table shows the number of defense points added by leggings.

{| class="wikitable" data-description="Defense points"
|-
!scope="col" | Material
!scope="col" | Defense points
|-
!scope="row" | Leather
| {{armor|2}}
|-
!scope="row" | Golden
| {{armor|3}}
|-
!scope="row" | Chain
| {{armor|4}}
|-
!scope="row" | Iron
| {{armor|5}}
|-
!scope="row" | Diamond
| rowspan="2" | {{armor|6}}
|-
!scope="row" | Netherite
|}

=== Knockback resistance ===
Netherite leggings provide 10% knockback resistance.

=== Durability ===

The following table shows the amount of damage each piece of armor can absorb before being destroyed.

Any "hit" from a damage source that can be blocked by armor removes one point of durability from each piece of armor worn for every {{hp|4}} of incoming damage (rounded down, but never below 1). Damage taken but not protected by that armor (such as [[Damage#Fall damage|falling]] or [[Damage#Drowning|drowning]]) does not damage the armor, even if it is enchanted to protect against that type of damage. The following chart displays how many hits leggings can endure.

Netherite armor is not damaged by [[lava]] or [[fire]] when worn.

{| class="wikitable" data-description="Durability"
|-
! Material
!Durability
|-
!scope="row" | Leather
| 75
|-
!scope="row" | Golden
| 105
|-
!scope="row" | Chain/Iron
| 225
|-
!scope="row" | Diamond
| 495
|-
!scope="row" | Netherite
| 555
|}

=== Enchantments ===

Leggings can receive the following [[enchantment]]s:
{| class="wikitable"
|-
! Enchantment !! Max Level  !! Notes
|-
| [[Fire Protection]] || IV || <ref group=note name=exclusive>Fire Protection, Blast Protection, Projectile Protection and Protection are mutually exclusive</ref>
|-
| [[Projectile Protection]] || IV || <ref group=note name="exclusive"/>
|-
| [[Blast Protection]] || IV || <ref group=note name="exclusive"/>
|-
| [[Protection]] || IV || <ref group=note name="exclusive"/>
|-
| [[Unbreaking]] || III ||
|-
|  [[Thorns]] || III || <ref group="note" name="anvil">Only from using an [[anvil]] and [[enchanted book]]s.</ref>
|-
| [[Mending]] || I || <ref group=note name="anvil2">Only from chest loot, fishing, or an anvil and enchanted books.</ref>
|-
| [[Curse of Binding]] || I || <ref group="note" name="anvil2"/>
|-
| [[Curse of Vanishing]] || I || <ref group="note" name="anvil2"/>
|-
| [[Swift Sneak]] || III || <ref group=note name="anvil"/>
|}
{{notelist}}

=== Smelting usage ===

{{Smelting|showname=1|Iron Leggings;Chainmail Leggings;Golden Leggings|Iron Nugget;Iron Nugget;Gold Nugget|0,1}}
=== Piglins ===
{{EntityLink|Piglin|Piglins}} are attracted to ''golden'' leggings and pick them up, examining them for 6 to 8 seconds. Piglins can wear other leggings but are not attracted to them. They prefer stronger leggings over weaker leggings, with one exception: They always prefer golden leggings over all other leggings, throwing out stronger leggings in favor of gold leggings. Enchanted leggings are preferred over unenchanted leggings.

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|subtitle=Leather armor rustles
|source=player
|description=When leather leggings are equipped
|id=item.armor.equip_leather
|translationkey=subtitles.item.armor.equip_leather
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip chain1.ogg
|sound2=Equip chain2.ogg
|sound3=Equip chain3.ogg
|sound4=Equip chain4.ogg
|sound5=Equip chain5.ogg
|sound6=Equip chain6.ogg
|subtitle=Chain armor jingles
|source=player
|description=When chainmail leggings are equipped
|id=item.armor.equip_chain
|translationkey=subtitles.item.armor.equip_chain
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip iron1.ogg
|sound2=Equip iron2.ogg
|sound3=Equip iron3.ogg
|sound4=Equip iron4.ogg
|sound5=Equip iron5.ogg
|sound6=Equip iron6.ogg
|subtitle=Iron armor clanks
|source=player
|description=When iron leggings are equipped
|id=item.armor.equip_iron
|translationkey=subtitles.item.armor.equip_iron
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip gold1.ogg
|sound2=Equip gold2.ogg
|sound3=Equip gold3.ogg
|sound4=Equip gold4.ogg
|sound5=Equip gold5.ogg
|sound6=Equip gold6.ogg
|subtitle=Gold armor clinks
|source=player
|description=When gold leggings are equipped
|id=item.armor.equip_gold
|translationkey=subtitles.item.armor.equip_gold
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip diamond1.ogg
|sound2=Equip diamond2.ogg
|sound3=Equip diamond3.ogg
|sound4=Equip diamond4.ogg
|sound5=Equip diamond5.ogg
|sound6=Equip diamond6.ogg
|subtitle=Diamond armor clangs
|source=player
|description=When diamond leggings are equipped
|id=item.armor.equip_diamond
|translationkey=subtitles.item.armor.equip_diamond
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip netherite1.ogg
|sound2=Equip netherite2.ogg
|sound3=Equip netherite3.ogg
|sound4=Equip netherite4.ogg
|subtitle=Netherite armor clanks
|source=player
|description=When netherite leggings are equipped
|id=item.armor.equip_netherite
|translationkey=subtitles.item.armor.equip_netherite
|volume=0.8
|pitch=1.0/0.9
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a pair of leggings' durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|source=player
|description=When leather leggings are equipped
|id=armor.equip_leather
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip chain1.ogg
|sound2=Equip chain2.ogg
|sound3=Equip chain3.ogg
|sound4=Equip chain4.ogg
|sound5=Equip chain5.ogg
|sound6=Equip chain6.ogg
|source=player
|description=When chain leggings are equipped
|id=armor.equip_chain
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip iron1.ogg
|sound2=Equip iron2.ogg
|sound3=Equip iron3.ogg
|sound4=Equip iron4.ogg
|sound5=Equip iron5.ogg
|sound6=Equip iron6.ogg
|source=player
|description=When iron leggings are equipped
|id=armor.equip_iron
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip gold1.ogg
|sound2=Equip gold2.ogg
|sound3=Equip gold3.ogg
|sound4=Equip gold4.ogg
|sound5=Equip gold5.ogg
|sound6=Equip gold6.ogg
|source=player
|description=When gold leggings are equipped
|id=armor.equip_gold
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip diamond1.ogg
|sound2=Equip diamond2.ogg
|sound3=Equip diamond3.ogg
|sound4=Equip diamond4.ogg
|sound5=Equip diamond5.ogg
|sound6=Equip diamond6.ogg
|source=player
|description=When diamond leggings are equipped
|id=armor.equip_diamond
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip netherite1.ogg
|sound2=Equip netherite2.ogg
|sound3=Equip netherite3.ogg
|sound4=Equip netherite4.ogg
|source=player
|description=When netherite leggings are equipped.
|id=armor.equip_netherite
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=2
|sound=Water Splash Old.ogg
|source=block
|description=When leather leggings are dyed using a cauldron
|id=cauldron.dyearmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When leather leggings' dye is removed using a cauldron
|id=cauldron.cleanarmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a pair of leggings' durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Leather Pants
|spritetype=item
|nameid=leather_leggings
|itemtags=freeze_immune_wearables
|form=item}}
{{ID table
|displayname=Chainmail Leggings
|spritetype=item
|nameid=chainmail_leggings
|form=item}}
{{ID table
|displayname=Iron Leggings
|spritetype=item
|nameid=iron_leggings
|form=item}}
{{ID table
|displayname=Diamond Leggings
|spritetype=item
|nameid=diamond_leggings
|form=item}}
{{ID table
|displayname=Golden Leggings
|spritetype=item
|nameid=golden_leggings
|form=item}}
{{ID table
|displayname=Netherite Leggings
|spritetype=item
|nameid=netherite_leggings
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Leather Pants
|spritetype=item
|nameid=leather_leggings
|id=337
|form=item}}
{{ID table
|displayname=Chainmail Leggings
|spritetype=item
|nameid=chainmail_leggings
|id=341
|form=item}}
{{ID table
|displayname=Iron Leggings
|spritetype=item
|nameid=iron_leggings
|id=345
|form=item}}
{{ID table
|displayname=Diamond Leggings
|spritetype=item
|nameid=diamond_leggings
|id=349
|form=item}}
{{ID table
|displayname=Golden Leggings
|spritetype=item
|nameid=golden_leggings
|id=353
|form=item}}
{{ID table
|displayname=Netherite Leggings
|spritetype=item
|nameid=netherite_leggings
|id=611
|form=item
|foot=1}}

=== Item data ===
When leather pants are dyed, it has the following NBT:
<div class="treeview">
* {{nbt|compound|tag}}: Parent tag.
** {{nbt|compound|display}}: Display properties.
*** {{nbt|int|color}}: The color of the leather armor. The tooltip displays "Dyed" if advanced tooltips are disabled, otherwise it displays the hexadecimal color value. Color codes are calculated from the red, green, and blue components using this formula:<br>'''<span style="color:red">Red</span>[[wikipedia:Logical shift|<<]]16 + <span style="color:green">Green</span><<8 + <span style="color:blue">Blue</span>'''<ref>For positive values larger than 0x00FFFFFF, the top byte is ignored. All negative values produce white.</ref>
</div>

== Achievements ==
{{load achievements|Iron Man;Tie Dye Outfit;Cover me in debris;Oooh, shiny!}}

== Advancements ==
{{load advancements|Suit Up;Cover me With Diamonds;Oh Shiny;Cover Me in Debris}}

== History ==
{{Cleanup|Split history into just leggings history}}
{{Needs render|type=old|Add of armor models from February 12, 2010 ("Added armor models" / "Armor models are displayed on the player in the inventory").}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Studded Leggings (item) JE1.png|32px]] [[History of textures/Unused textures#Studded armor|Studded leggings]] are now able to be seen in the [[inventory]]. This was taken directly from one of [[Notch|Notch's]] game's ''[[Legend of the Chambered 2]]''.}}
{{History||February 9, 2010|link=wordofnotch:380486636|[[File:Notch revealed armor.png|32px]] [[Notch]] revealed new models for armor, which included leggings.}}
{{History||20100212-1|Added leggings models.{{more info|No armor sets were added until later, what does this mean?}}
|[[File:Indev 20100212 armor.png|50px]] Leggings models are now displayed on the [[player]] in the [[inventory]].{{more info|No armor sets were added until later, what does this mean?}}}}
{{History||20100218|[[File:Leather Pants JE1.png|32px]] [[File:Leather Pants (item) JE1 BE1.png|32px]] Added cloth leggings, which have been given the textures from one of [[Notch]]'s previous games, ''[[Legend of the Chambered]]''.
|[[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] Added chain leggings.
|[[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] Added iron leggings.
|[[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] Added gold leggings.
|[[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] Added diamond leggings.
|Leggings can be [[crafting|crafted]] and worn.
|Leggings now function, giving {{Armor|6}}. Leggings have limited [[item durability|durability]], with lower tier leggings less durable than higher tier leggings.}}
{{History|java alpha}}
{{History||v1.0.8|"Wool leggings" have been renamed to "leather leggings".{{verify|Were they "pants" or "leggings" at the time? If not, when did the name change?}}
|Leather pants are now [[crafting|crafted]] with [[leather]] instead of [[wool]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|The armor protection behavior has been changed. Previous to this update, the total armor protection is based in this equation: (((''total equipped armor damage reduction'' − 1) × (''all equipped armor max damage'' − ''total equipped armor damage'')) ÷ (''total equipped armor max damage'' + 1)).}}
{{History|||snap=October 3, 2011|slink={{tweet|notch|120859830339637249}}|The first images of a [[player]] wearing enchanted armor, including leggings, are revealed.}}
{{History|||snap=Beta 1.9 Prerelease 3|Iron leggings can be found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Leggings can be [[enchanting|enchanted]].}}
{{History||1.1|snap=12w01a|Iron leggings can be found in the new blacksmith [[chest]]s in [[village]]s.}}
{{History||1.3.1|snap=12w15a|{{key|Shift}}+clicking can be used to equip leggings.}}
{{History|||snap=12w21a|Chain leggings can be obtained legitimately in [[survival]] mode through [[trading]].
|Blacksmith [[villager]]s now [[trading|sell]] chain leggings for 9–10 emeralds.
|Blacksmith villagers now sell diamond leggings for 11–13 emeralds.
|Blacksmith villagers now sell iron leggings for 8–9 emeralds.
|Butchers now sell leather pants for 2–3 emeralds.}}
{{History||1.4.2|snap=12w32a|[[Mob]] armor has been reintroduced. A partial or full set of any armor is now sometimes worn by [[zombie]]s, [[skeleton]]s and [[zombie pigman|zombie pigmen]], with the likelihood increasing with difficulty.}}
{{History|||snap=August 17, 2012|slink={{tweet|Dinnerbone|236445090929844225}}|[[Jeb]] and [[Dinnerbone]] tweeted pictures of [[dye]]able leather armor, including leggings.}}
{{History|||snap=12w34a|Leather pants can be dyed by [[crafting]] leather pants with [[dye]]s. Dyes can be removed by {{control|use|text=using}} dyed leather pants on a [[cauldron]] with [[water]].
|[[File:Leather Pants JE2.png|32px]] [[File:Leather Pants (item) JE2.png|32px]] Default leather pants are now slightly darker.}}
{{History|||snap=12w36a|[[Dye]]d leather pants are now more saturated and have a slight tint of tan in respect to the default armor color.
|[[Wither skeleton]]s can now spawn wearing leggings.}}
{{History|||snap=12w37a|[[File:Leather Pants (item) JE3 BE2.png|32px]]{{info needed|needs updating.}}[[Category:Needs updating]] Leather leggings now have non-dyed parts. This has been implemented so that [[player]]s can distinguish between other types of armor and similar-colored leather armor.
|Leather pants now have knee pads, which has changed the texture from [[File:Leather Pants JE2.png|32px]] to [[File:Leather Pants JE3 BE1.png|32px]].}}
{{History||1.5|snap=13w04a|Leggings in the [[player]]'s hand can be equipped by right-clicking.
|[[Dispenser]]s can now equip nearby players with leggings.}}
{{History||1.8|snap=14w02a|Armorer [[villager]]s now [[trading|sell]] chain leggings for 9–11 emeralds.
|Armorer villagers no longer sell diamond leggings.
|Armorer villagers no longer sell iron leggings.
|Leatherworkers now sell leather pants for 2–4 emeralds.}}
{{History|||snap=14w05a|Leggings no longer turn red when [[mob]]s and [[player]]s are hurt.}}
{{History|||snap=14w06a|Leggings are now visible on [[giant]]s.}}
{{History|||snap=14w25a|Chain leggings [[Java Edition removed features#Chain armor|can no longer be crafted anymore]] due to the [[item]] form of [[fire]] being [[Java Edition removed features#Obtainable until 1.8|removed]].}}
{{History||1.9|snap=15w31a|Enchanted iron and diamond leggings can be found in [[end city]] ship [[chest]]s.
|[[Mob]]s now wear armor from the bottom to the top, rather than from the top to the bottom. This means that a mob with three armor pieces, for example, spawn with all armor except a helmet.}}
{{History|||snap=15w34b|Leggings' [[item durability|durability]] now affects armor value.}}
{{History|||snap=15w36a|Armor value and armor [[enchanting|enchantment]] calculations have been changed. For the original values, see [[Armor/Before 1.9|here]].}}
{{History|||snap=15w36d|Leggings' durability affecting value has been removed.
|Leggings now have an attribute controlling the defense points.}}
{{History|||snap=15w50a|Added {{cd|equip}} [[sound]]s for leggings.}}
{{History|||snap=16w02a|Armor value and armor enchantment calculations have been changed again.}}
{{History|||snap=16w05a|Armor value calculations have been changed, once again.}}
{{History||1.11.1|snap=16w50a|Golden, chain, and iron leggings can be [[smelting|smelted]] down into one of their respective [[nugget]]s. Chain leggings smelt into iron nuggets.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 300 (Leather), 304 (Chainmail), 308 (Iron), 312 (Diamond), and 316 (Golden).}}
{{History|||snap=18w11a|Enchanted leather pants can now generate in the chests of [[shipwreck]]s.}}
{{History|||snap=18w20a|Chain leggings have been renamed to "chainmail leggings".}}
{{History||1.14|snap=18w43a|[[File:Leather Pants JE4 BE2.png|32px]] [[File:Leather Pants (item) JE4 BE3.png|32px]] The textures of leather leggings have been changed.
|[[File:Chainmail Leggings JE2 BE2.png|32px]] [[File:Chainmail Leggings (item) JE2 BE2.png|32px]] The textures of chainmail leggings have been changed.
|[[File:Iron Leggings JE2 BE2.png|32px]] [[File:Iron Leggings (item) JE2 BE2.png|32px]] The textures of iron leggings have been changed.
|[[File:Golden Leggings JE2 BE2.png|32px]] [[File:Golden Leggings (item) JE2 BE2.png|32px]] The textures of gold leggings have been changed.
|[[File:Diamond Leggings JE2 BE2.png|32px]] [[File:Diamond Leggings (item) JE2 BE2.png|32px]] The textures of diamond leggings have been changed.}}
{{History|||snap=18w48a|Leather pants can be found in [[chest]]s in [[village]] tanneries.}}
{{History|||snap=19w08a|[[File:Golden Leggings (item) JE3 BE3.png|32px]] The texture of gold leggings [[item]]s have been changed.}}
{{History|||snap=19w11a|Armorer villagers now sell iron and enchanted diamond leggings, making diamond leggings effectively [[renewable resource|renewable]] again.
|Leather pants sold by leatherworker villagers are now randomly [[dye]]d.}}
{{History|||snap=19w13a|Armorer villagers now give chainmail leggings to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|[[File:Netherite Leggings JE1.png|32px]] [[File:Netherite Leggings (item) JE1.png|32px]] Added netherite leggings.
|Netherite leggings can be [[crafting|crafted]] using one diamond leggings and one [[netherite ingot]].}}
{{History|||snap=20w09a|[[File:Diamond Leggings (item) JE3 BE3.png|32px]] The textures of diamond leggings [[item]]s have been changed.}}
{{History|||snap=20w10a|[[File:Netherite Leggings JE2.png|32px]] [[File:Netherite Leggings (item) JE2 BE1.png|32px]] The texture of netherite leggings have been changed.
|Netherite leggings can no longer be [[crafting|crafted]].
|Netherite leggings are now obtained by combining one diamond leggings and one [[netherite ingot]] in a [[smithing table]].}}
{{History|||snap=20w16a|Netherite leggings now generate randomly enchanted in [[bastion remnant]] chests.
|Golden leggings now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds leggings now generate in place of netherite leggings in bastion remnant [[chest]]s.}}
{{History||1.16.4|snap=Pre-release 1|[[File:Netherite Leggings JE3 BE2.png|32px]] The texture of netherite leggings has been changed.}}
{{History||1.18.2|snap=22w03a|Netherite leggings knockback resistance is no longer random.}}
{{History||1.19|snap=22w12a|Added the [[Swift Sneak]] enchantment, which can be applied only to leggings.}}
{{History|||snap=22w13a|Enchanted iron and diamond leggings may be found in [[ancient city]] [[chest]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Non-leather leggings can now be trimmed using a [[smithing table]].
|There are 10 types of material that determine the color of the trim:
*Iron
*Copper
*Gold
*Lapis
*Emerald
*Diamond
*Netherite
*Redstone
*Amethyst
*Quartz
|Upgrading diamond leggings to netherite leggings now requires the netherite upgrade [[smithing template]].}}
{{History|||snap=23w05a|Leather pants can now be trimmed using a smithing table.|Leggings can now have trims of the same material it is made out of.}}
{{History|||snap=23w06a|Swapped {{cd|iron}} and {{cd|iron_darker}} palette, then made {{cd|iron_darker}} darker overall.}}
{{History||1.19.4|snap=23w05a|Leggings can now be swapped by {{ctrl|using}} them in the hotbar.<ref>{{bug|MC-216270|||Fixed}}</ref>}}
{{History||?|Leggings can now be swapped in [[armor stand]]s by {{ctrl|using}} them in the armor stand's slot.}}
{{History||1.20|snap=23w12a|The pattern textures of dune and sentry armor trims are changed.|
Those previous patterns were left with different names: dune was renamed sentry and sentry was renamed shaper.}}

{{History|pocket alpha}}
{{History||v0.6.0|[[File:Leather Pants JE1 BE1.png|32px]] [[File:Leather Pants (item) JE1 BE1.png|32px]] Added the leather pants.
|[[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] Added the chain leggings.
|[[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] Added the iron leggings.
|[[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] Added the golden leggings.
|[[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] Added the diamond leggings.}}
{{History||v0.8.0|snap=build 2|[[File:Leather Pants (item) JE3 BE2.png|32px]] The leather pants sprites have been changed to that of the [[Java Edition|PC]] version, but its armor [[model]] remains that of older versions.}}
{{History||v0.9.0|snap=build 1|Iron leggings now naturally generates in [[village]] [[chest]]s and a [[stronghold]] altar chest.}}
{{History||v0.11.0|snap=build 11|Armor now protects against [[damage]] from [[mob]]s only.}}
{{History||v0.12.1|snap=build 1|Leggings can be worn by mobs.
|Chainmail leggings can be obtained in [[survival]] mode from a mob wearing it.}}
{{History||?|Leggings no longer turn red when [[mob]]s and [[player]]s are hurt.}}
{{History||v0.14.0|snap=build 1|[[File:Leather Pants JE3 BE2.png|32px]] Leather armor can be dyed and the model has been updated.}}
{{History||v0.15.0|snap=build 1|Leggings can be obtained from [[stray]]s and [[husk]]s that naturally spawn with armor.}}
{{History||v0.15.10|[[Cape]]s no longer clip through armor.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[Enchanting|Enchanted]] iron leggings and enchanted diamond leggings can be found inside [[chest]]s within [[end city]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Chainmail leggings are now [[trading|sold]] by armorer smith [[villager]]s via [[trading]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Golden, chain, and iron leggings can be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Chainmail leggings now generate in [[buried treasure]] chests.
|Enchanted leather leggings can be found inside [[shipwreck]] supply room [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Iron leggings now can be found in plains [[village]] weaponsmith [[chest]]s.
|Leather pants can be found inside plains village tannery chests.
|[[File:Leather Pants JE4 BE2.png|32px]] [[File:Leather Pants (item) JE4 BE3.png|32px]] The textures of leather pants have been changed.
|[[File:Chainmail Leggings JE2 BE2.png|32px]] [[File:Chainmail Leggings (item) JE2 BE2.png|32px]] The textures of chainmail leggings have been changed.
|[[File:Iron Leggings JE2 BE2.png|32px]] [[File:Iron Leggings (item) JE2 BE2.png|32px]] The textures of iron leggings have been changed.
|[[File:Golden Leggings JE2 BE2.png|32px]] [[File:Golden Leggings (item) JE2 BE2.png|32px]] The textures of golden leggings have been changed.
|[[File:Diamond Leggings JE2 BE2.png|32px]] [[File:Diamond Leggings (item) JE2 BE2.png|32px]] The textures of diamond leggings have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron leggings now can be found in [[savanna]], [[taiga]], [[desert]], [[snowy taiga]], and [[snowy tundra]] [[village]] weaponsmith [[chest]]s.
|Leather leggings can be found inside savanna, taiga, desert, snowy taiga, and snowy tundra village tannery chests.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron leggings.
|Leather pants are now [[trading|sold]] by leather worker [[villager]]s.
|Iron leggings and diamond leggings are now sold by armorer villagers.}}
{{History||1.11.0|snap=beta 1.11.0.5|[[File:Golden Leggings (item) JE3 BE3.png|32px]] The textures of golden leggings [[item]]s have been changed.}}
{{History||1.12.0|snap=beta 1.12.0.2|[[File:Armor Stand with Leather Armor MCPE-44669.png|32px]] Leather armor no longer show as being [[dye]]d properly when worn by [[armor stand]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Leather armor now appears dyed properly when worn by armor stands.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Leggings BE1.png|32px]] [[File:Netherite Leggings (item) JE2 BE1.png|32px]] Added netherite leggings.
|Netherite leggings can be [[crafting|crafted]] using one diamond leggings and one [[netherite ingot]].
|[[File:Diamond Leggings (item) JE3 BE3.png|32px]] The texture of diamond leggings has been changed.
|Golden leggings can be obtained from [[piglin]]s wearing [[armor]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Netherite leggings can no longer be [[crafting|crafted]].
|Netherite leggings are now obtained by combining one diamond leggings and one [[netherite ingot]] in a [[smithing table]].
|Golden leggings can be found in [[ruined portal]] chests.
|Golden and netherite leggings can be found in [[bastion remnant]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds leggings now generate in place of netherite leggings in bastion remnant chests.}}
{{History||1.16.200|snap=beta 1.16.200.52|[[File:Netherite Leggings JE3 BE2.png|32px]] The texture of netherite leggings has been changed.}}
{{History||1.19.0|snap=beta 1.19.0.24|Added the [[Swift Sneak]] enchantment, which is applicable only to leggings.}}
{{History|||snap=beta 1.19.0.26|Enchanted iron and diamond leggings may be found in [[ancient city]] [[chest]]s.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Leather Pants JE3 BE1.png|32px]] [[File:Leather Pants (item) JE1 BE1.png|32px]] Added the leather leggings.
|[[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] Added the iron leggings.
|[[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] Added the golden leggings.
|[[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] Added the diamond set.}}
{{History||xbox=TU5|[[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] Added the chain leggings.
|Added a quick equip for armor to the [[inventory]] interface.}}
{{History||xbox=TU12|ps=1.03|[[File:Leather Pants (item) JE3 BE2.png|32px]] The textures for leather armor [[item]]s have been changed.}}
{{History||xbox=TU14|ps=1.05|Leather armor can be [[dye]]d.
|[[Item repair]] can now repair armor.}}
{{History||xbox=TU25|xbone=CU13|ps=1.16|Armor now have the quick equip functionality.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Golden, chain, and iron armor can be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|PS4}}
{{History||1.90|[[File:Leather Cap JE4 BE2.png|32px]] [[File:Leather Tunic JE4 BE2.png|32px]] [[File:Leather Pants JE4 BE2.png|32px]] [[File:Leather Boots JE3 BE2.png|32px]]<br>[[File:Leather Cap (item) JE4 BE3.png|32px]] [[File:Leather Tunic (item) JE4 BE3.png|32px]] [[File:Leather Pants (item) JE4 BE3.png|32px]] [[File:Leather Boots (item) JE4 BE3.png|32px]] The textures of leather armor have been changed.
|[[File:Chainmail Helmet JE3 BE2.png|32px]] [[File:Chainmail Chestplate JE3 BE2.png|32px]] [[File:Chainmail Leggings JE2 BE2.png|32px]] [[File:Chainmail Boots JE2 BE2.png|32px]]<br>[[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Chainmail Chestplate (item) JE2 BE2.png|32px]] [[File:Chainmail Leggings (item) JE2 BE2.png|32px]] [[File:Chainmail Boots (item) JE2 BE2.png|32px]] The textures of chainmail armor have been changed.
|[[File:Iron Helmet JE2 BE2.png|32px]] [[File:Iron Chestplate JE2 BE2.png|32px]] [[File:Iron Leggings JE2 BE2.png|32px]] [[File:Iron Boots JE2 BE2.png|32px]]<br>[[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Iron Chestplate (item) JE2 BE2.png|32px]] [[File:Iron Leggings (item) JE2 BE2.png|32px]] [[File:Iron Boots (item) JE2 BE2.png|32px]] The textures of iron armor have been changed.
|[[File:Golden Helmet JE2 BE2.png|32px]] [[File:Golden Chestplate JE2 BE2.png|32px]] [[File:Golden Leggings JE2 BE2.png|32px]] [[File:Golden Boots JE2 BE2.png|32px]]<br>[[File:Golden Helmet (item) JE3 BE3.png|32px]] [[File:Golden Chestplate (item) JE3 BE3.png|32px]] [[File:Golden Leggings (item) JE3 BE3.png|32px]] [[File:Golden Boots (item) JE3 BE3.png|32px]] The textures of gold armor have been changed.
|[[File:Diamond Helmet JE2 BE2.png|32px]] [[File:Diamond Chestplate JE3 BE2.png|32px]] [[File:Diamond Leggings JE2 BE2.png|32px]] [[File:Diamond Boots JE2 BE2.png|32px]]<br>[[File:Diamond Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Chestplate (item) JE2 BE2.png|32px]] [[File:Diamond Leggings (item) JE2 BE2.png|32px]] [[File:Diamond Boots (item) JE2 BE2.png|32px]] The textures of diamond armor have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Leather Cap JE3 BE1.png|32px]] [[File:Leather Tunic JE3 BE1.png|32px]] [[File:Leather Pants JE3 BE1.png|32px]] [[File:Leather Boots JE2 BE1.png|32px]]<br>[[File:Leather Cap (item) JE3 BE2.png|32px]] [[File:Leather Tunic (item) JE3 BE2.png|32px]] [[File:Leather Pants (item) JE3 BE2.png|32px]] [[File:Leather Boots (item) JE3 BE2.png|32px]] Added the leather set.
|[[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Chainmail Chestplate JE2 BE1.png|32px]] [[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Boots JE1 BE1.png|32px]]<br>[[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Chainmail Chestplate (item) JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] [[File:Chainmail Boots (item) JE1 BE1.png|32px]] Added the chain set.
|[[File:Iron Helmet JE1 BE1.png|32px]] [[File:Iron Chestplate JE1 BE1.png|32px]] [[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Boots JE1 BE1.png|32px]]<br>[[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Iron Chestplate (item) JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] [[File:Iron Boots (item) JE1 BE1.png|32px]] Added the iron set.
|[[File:Golden Helmet JE1 BE1.png|32px]] [[File:Golden Chestplate JE1 BE1.png|32px]] [[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Boots JE1 BE1.png|32px]]<br>[[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Golden Chestplate (item) JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] [[File:Golden Boots (item) JE1 BE1.png|32px]] Added the golden set.
|[[File:Diamond Helmet JE1 BE1.png|32px]] [[File:Diamond Chestplate JE1 BE1.png|32px]] [[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Boots JE1 BE1.png|32px]]<br>[[File:Diamond Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Chestplate (item) JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] [[File:Diamond Boots (item) JE1 BE1.png|32px]] Added the diamond set.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
=== Enchanted Leggings ===
<gallery>
File:Enchanted Leather Pants (item).gif
File:Enchanted Chainmail Leggings (item).gif
File:Enchanted Iron Leggings (item).gif
File:Enchanted Golden Leggings (item).gif
File:Enchanted Diamond Leggings (item).gif
File:Enchanted Netherite Leggings (item).gif
</gallery>
<gallery>
File:Enchanted Leather Leggings.gif
File:Enchanted Chainmail Leggings.gif
File:Enchanted Iron Leggings.gif
File:Enchanted Golden Leggings.gif
File:Enchanted Diamond Leggings.gif
File:Enchanted Netherite Leggings.gif
</gallery>

== Notes ==
{{fnlist}}

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-leggings Taking Inventory:Leggings] – Minecraft.net on February 15, 2019

{{Items}}

[[Category:Armor]]

[[fr:Armure#Jambières]]
[[ja:レギンス]]
[[ko:각반]]
[[pl:Nogawice]]
[[pt:Calças]]
[[zh:护腿]]</li></ul>
Pre-releaseTerrain-breaking change to world gen. The debug screen now displays the seed number.
Java Edition
1.2.1
{{Extension DPL}}<ul><li>[[Prismarine Shard|Prismarine Shard]]<br/>{{Item
| renewable =  Yes
| stackable = Yes (64)
| type =
}}
A '''prismarine shard''' is an item obtained by defeating [[guardian]]s or [[elder guardian]]s. It can be used to craft various [[prismarine]] blocks as well as [[sea lantern]]s.

== Obtaining ==

Prismarine shards are dropped upon the death of [[guardian]]s and [[elder guardian]]s. From these mobs, 0–2 shards are dropped each time. This can be increased to a maximum of 5 with the [[Looting]] enchantment.

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Prismarine Shard
|spritetype=item
|nameid=prismarine_shard
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Prismarine Shard
|spritetype=item
|nameid=prismarine_shard
|aliasid=prismarineshard
|id=565
|form=item
|foot=1}}

== History ==

{{History|java}}
{{history||1.8|snap=14w25a|[[File:Prismarine Shard JE1 BE1.png|32px]] Added prismarine shards.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 409.}}
{{History||1.14|snap=18w43a|[[File:Prismarine Shard JE2 BE2.png|32px]] The texture of prismarine shards has now been changed.}}

{{History|pocket alpha}}
{{History||v0.16.0|snap=build 1|[[File:Prismarine Shard JE1 BE1.png|32px]] Added prismarine shards.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Prismarine Shard JE2 BE2.png|32px]] The texture of prismarine shards has now been changed.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Prismarine Shard JE1 BE1.png|32px]] Added prismarine shards.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Prismarine Shard JE2 BE2.png|32px]] The texture of prismarine shards has now been changed.}}

{{History|New 3DS}}
{{History||1.3.12|[[File:Prismarine Shard JE1 BE1.png|32px]] Added prismarine shards.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{items}}

[[de:Prismarinscherbe]]
[[es:Fragmento de prismarina]]
[[fr:Éclat de prismarine]]
[[ja:プリズマリンの欠片]]
[[ko:프리즈머린 조각]]
[[nl:Prismarienscherf]]
[[pl:Odłamek pryzmarynu]]
[[pt:Pedaço de prismarinho]]
[[ru:Призмариновый осколок]]
[[uk:Призмариновий уламок]]
[[zh:海晶碎片]]
[[Category:Renewable resources]]</li><li>[[Chorus Fruit|Chorus Fruit]]<br/>{{about|the fruit that drops from [[chorus tree]]s|the building material|Popped Chorus Fruit|other uses|Chorus}}
{{Item
| title = Chorus Fruit
| image = Chorus Fruit.png
| renewable = Yes
| heals = {{hunger|4}}
| stackable = Yes (64)
}}

'''Chorus fruit''' is a [[food]] [[item]] native to [[the End]] that can be eaten, or [[smelting|smelted]] into [[Popped Chorus Fruit|popped chorus fruit]]. It can be eaten even when the hunger bar is full, and eating it may teleport the [[player]] up to 8 blocks in any direction.

== Obtaining ==
{{see also|Tutorials/Chorus fruit farming}}

Chorus fruit can be obtained by breaking [[Chorus Plant (block)|chorus plant blocks]]. Each block of chorus plant has a 50% chance to drop a chorus fruit. This is not affected by [[Fortune]].<ref>{{bug|MC-198924||Chorus Fruit doesn't have a higher chance with Fortune|Invalid}}</ref>

== Usage ==
To eat chorus fruit, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|4}} [[hunger]] and 2.4 hunger [[Hunger#Mechanics|saturation]].

Unlike most foods, chorus fruits can be eaten even when the player has a full hunger bar.

The player may also be [[teleportation|teleported]]: up to 16 attempts are made to choose a random destination within ±8 on all three axes in the same manner as [[Enderman#Teleportation|enderman teleportation]], with the exception that the player may teleport into an area only 2 blocks high, or one block tall if the player is crawling. The player does not land in the average centroid of the block, but rather to any position within an 8-block range. The player will be teleported directly down to the ground regardless of the height it was used at if the player is too far from a valid destination.

The chorus fruit, unlike an [[Ender Pearl|ender pearl]], can teleport the player through [[solid block]]s. The algorithm tries to avoid [[fluid]]s; the player cannot teleport into a space occupied by [[water]] or [[lava]]. However, the player can be teleported onto dangerous blocks such as fire, cacti and magma blocks.<ref>{{bug|MC-102836||Enderman and chorus fruit can teleport to some dangerous places}}</ref>

If a teleport succeeds, a sound similar to an enderman teleporting plays originating from the teleportation origin location. Chorus fruit has a cooldown of 1 second before being able to be used again. The cooldown is represented by a white overlay on the chorus fruit in the hotbar. The cooldown is applied to all chorus fruits items, including those in the player's inventory and containers.<ref>{{bug|MC-88236|||WAI}}</ref>

Eating chorus fruit may teleport the player into areas protected by [[bedrock]], [[barrier|barrier blocks]], or other blocks that are otherwise unbreakable in [[Survival]] mode. However, it cannot teleport the player onto [[the Nether]] roof.<ref>{{bug|MC-84198|||Fixed}}</ref>

Chorus fruit is completely non-functional above the nether roof.

[[Fox]]es can also eat chorus fruit and the teleportation effect works the same as with players.

=== Smelting ingredient ===

{{smelting
|Chorus Fruit
|Popped Chorus Fruit
|0.1}}

== Sounds ==
===Generic===
{{Sound table/Entity/Food}}
===Unique===
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Teleport1.ogg
|sound2=Teleport2.ogg
|subtitle=Player teleports
|source=player
|description=When a player teleports by eating a chorus fruit
|id=item.chorus_fruit.teleport
|translationkey=subtitles.item.chorus_fruit.teleport
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Fox teleports
|source=Players & Friendly Creatures<wbr><ref group=sound>{{Bug|MC-257516||"Fox teleports" sound plays for both Players and Friendly Creatures sound categories}}</ref>|overridesource=1
|description=When a fox teleports by eating a chorus fruit
|id=entity.fox.teleport
|translationkey=subtitles.entity.fox.teleport
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Teleport1.ogg
|sound2=Teleport2.ogg
|source=hostile
|description=When something teleports by eating a chorus fruit
|id=mob.shulker.teleport
|volume=1.0
|pitch=1.0
|foot=1}}

==Data values ==

===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Chorus Fruit
|spritetype=item
|nameid=chorus_fruit
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Chorus Fruit
|spritetype=item
|nameid=chorus_fruit
|id=558
|form=item
|foot=1}}

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

==History==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Chorus Fruit JE1 BE1.png|32px]] Added chorus fruit.}}
{{History|||snap=15w34c|A cooldown for using chorus fruit has now been added.}}
{{History|||snap=15w37a|The chorus fruit's teleportation range has now been reduced from ±32 to ±8.}}
{{History|||snap=15w50a|Added a [[sound]] for chorus fruit: <code>item.chorus_fruit.teleport</code>.}}
{{History||1.10|snap=16w21a|Chorus fruit can now teleport riders off their mounts.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 432.}}
{{History||1.14|snap=18w43a|[[File:Chorus Fruit JE2 BE2.png|32px]] The texture of chorus fruit has now been changed.}}
{{History||1.20.2|snap=23w33a|Eating chorus fruit now resets fall distance.<ref>{{bug|MC-112133||Eating chorus fruit does not reset fall distance|Fixed}}</ref>}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Chorus Fruit JE1 BE1.png|32px]] Added chorus fruit.}}
{{History|||snap=alpha 1.0.0.1|The cooldown of chorus fruit now has an animation.}}
{{History|bedrock}}
{{History||1.7.0|snap=beta 1.7.0.2|The category that chorus fruit are apart of in the [[Creative inventory]] has been changed from "Nature" to "Items".}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Chorus Fruit JE2 BE2.png|32px]] The texture of chorus fruit has now been changed.}}
{{History||1.13.0|snap=beta 1.13.0.15|Chorus fruit has been moved back to the "Nature" section in the Creative inventory.}}

{{History|console}}
{{History||xbox=TU46|xbone=CU36|switch=1.0.1|ps=1.38|wiiu=Patch 15|[[File:Chorus Fruit JE1 BE1.png|32px]] Added chorus fruit.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Chorus Fruit JE2 BE2.png|32px]] The texture of chorus fruit has now been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:Chorus Fruit JE1 BE1.png|32px]] Added chorus fruit.}}
{{History|foot}}

==Issues==
{{issue list}}

==References==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--chorus-fruit Taking Inventory: Chorus Fruit] – Minecraft.net on November 5, 2020

{{Items}}

[[Category:Plants]]
[[Category:Food]]
[[Category:Renewable resources]]

[[de:Chorusfrucht]]
[[es:Fruta chorus]]
[[fr:Chorus]]
[[ja:コーラスフルーツ]]
[[ko:후렴과]]
[[nl:Chorusfruit]]
[[pl:Owoc refrenusu]]
[[pt:Fruta do coro]]
[[ru:Плод коруса]]
[[uk:Фрукт хорусу]]
[[zh:紫颂果]]</li></ul>
?Multiplayer servers no longer send the seed to clients.
1.3.1
{{Extension DPL}}<ul><li>[[:Category:Tools|Category:Tools]]<br/>[[Category:Items]]

[[fr:Catégorie:Outil]]
[[it:Categoria:Attrezzi]]</li><li>[[Minecart with Chest|Minecart with Chest]]<br/>{{ItemEntity
|image=Minecart with Chest.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops=1 {{ItemLink|Minecart with Chest}}<br> plus contents
|health={{hp|6}}
}}

A '''minecart with chest''' is a single [[chest]] inside a [[minecart]], and functions as such.

== Natural generation ==
Minecarts with chests containing loot naturally generate in [[mineshaft]]s, each on top of a piece of [[rail]].

== Obtaining ==
=== Crafting ===
{{Crafting|Chest|Minecart|Output=Minecart with Chest|type=Transportation}}

Minecarts with chests can be retrieved by attacking them. By doing so it drops as an [[item]] and any other contents of the chest are dropped as well.

==Usage==
[[File:Minecart with Chest GUI.png|thumb|176px|The GUI of a minecart with chest.]]
Minecarts with chests can be placed by {{control|use item|text=using its item}} on any type of [[rail]].

Chest minecarts' contents can be accessed by pressing {{control|use item}} button on them. The interaction makes no sounds and the chest does not show the opening or closing animation, unlike regular chests.

The boost that minecarts with chests gain from [[powered rail]]s is dependent on their load. For example, from a 1 powered rail starter track, an empty minecart with chest travels 64 blocks, but a full minecart with chest travels only 16 blocks (opposed to 80 blocks for an occupied normal minecart and 8 blocks for an empty normal minecart).

Another physical property of chest minecarts is their ability to be stacked. While three chests can fit in an area three blocks tall, up to four chest minecarts can fit in the same area. Like other minecarts, an unlimited number of minecarts with chests can exist in the same block space.

Minecarts with chests are also able to interact with [[hopper]]s. Hoppers can take items out from the minecart chest if they are below the track as the minecart rolls over it or put them in if the minecart rolls under a downward facing hopper. Hoppers can also input items if they are facing into the side of the minecart.

Opening or destroying a minecart with chest angers [[piglin]]s.

{{See also|Tutorials/Storage minecarts}}

When on top of [[detector rail]]s, nearby [[redstone comparators]] will give out redstone signals based on how full the minecarts with chests are.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts with chests use the Friendly Creatures sound category for entity-dependent sound events.<ref group=sound name=rollsource>{{bug|MC-42132}}</ref>
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls
|source=Friendly Creatures <ref group=sound name=rollsource/>
|overridesource=1
|description=While a minecart with chest is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref>
|pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref>
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart with chest is moving
|id=minecart.base
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=item
|nameid=chest_minecart
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=entity
|nameid=chest_minecart
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=item
|nameid=chest_minecart
|id=389
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=entity
|nameid=chest_minecart
|id=98
|foot=1}}

===Entity data===
Minecarts with chests have entity data associated with them that contain various properties of the entity.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

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

==Achievements==
{{load achievements|Freight Station}}

== Video==

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

==History ==
[[File:Minecart with Chest BE3.png|thumb|The Minecart models in the Bedrock Edition were north or south on the sides. In the latest version, the front and rear sides are north or south. But the absolute orientation of the chest was not changed.]]
{{info needed section|In bedrock edition 1.16.100 it seems that chests in minecarts face sideways instead of forward - when was this changed?}}
{{History|java alpha}}
{{History||v1.0.14|[[File:Minecart with Chest JE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Minecarts with chests have been added.
|At this point, they are either called "chest minecarts" or "storage minecarts" because no in-game name was indicated.}}
{{History|java beta}}
{{History||1.0|"Minecart with Chest" has been first indicated as its name, via the new item tooltips.}}
{{History||1.8|snap=Pre-release|[[File:Minecart with Chest JE2.png|32px]] The [[model]] of the minecart with chest has been changed to match the new [[chest]] model. However, the [[chest]] is incorrectly offset.<ref>[[mcw:Issues/Beta 1.8pre2#Graphical]]</ref>}}
{{History|||snap=release|[[File:Minecart with Chest JE3 BE1.png|32px]] The model of minecarts with chests has been fixed.}}
{{History|java}}
{{History||1.5|snap=13w02a|Minecarts with chests now generate in [[mineshaft]]s in place of normal chests.}}
{{History||1.9|snap=15w43a|[[Loot table]]s have been added; minecarts with chests now use loot tables, and those in generated in [[mineshaft]]s now use loot tables.}}
{{History||1.9.1|snap=pre2|The title of the [[inventory]] has been changed from 'Chest minecart' to 'Minecart with Chest'.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartChest</code> to <code>chest_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 342.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}
{{History||1.16.2|snap=Pre-release 1|[[Piglin]]s now become angry with players who open or destroy a chest minecart.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with chest is now shapeless.
|Breaking a minecart with chest will now drop the item instead of the minecart and chest separately, though the contents of the chest are still dropped.<ref>{{bug|MC-249493|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Minecart with Chest JE3 BE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Added minecarts with chests.}}
{{History|||snap=build 3|Minecarts with chests now drop [[item]]s when destroyed in [[Creative]] mode.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|The [[entity]] ID has been changed from <code>minecartchest</code> to <code>chest_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}
{{History||1.19.0|snap=beta 1.19.0.30|Breaking a minecart with chest will now drop the item instead of the minecart and chest separately, though the contents of the chest are still dropped.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Chest JE3 BE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Added minecarts with chests.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Minecart_with_Chest_JE3_BE1.png|32px]] [[File:Minecart_with_Chest_(item)_JE1_BE1.png|32px]] Added minecarts with chests.
|Minecarts with chests emit smoke [[particles]] when destroyed.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery ==
<gallery>
Compact Minecart Storage.png|A compact storage using chest minecarts (left) compared to chest storage in the same volume. Notice how chests cannot be placed next to each other, which is no longer the case after Java Edition 1.13.
GlitchedMinecartChest.png|This minecart with chest is trapped inside a block, due to a [[stronghold]] and a [[mineshaft]] that generated partially overlapping.
Minecartportal.png|A minecart with chest generated on top of an [[end portal frame]], because there is a mineshaft behind the wall.
Chest Minecart Stack.png|A large stack of chest minecarts.
</gallery>

==References==
{{Reflist}}

{{items}}
{{entities}}

[[Category:Mechanics]]
[[Category:Storage]]

[[cs:Nákladní vozík]]
[[de:Güterlore]]
[[es:Vagoneta con cofre]]
[[fr:Wagonnet de stockage]]
[[hu:Tárolócsille]]
[[it:Carrello da miniera]]
[[ja:チェスト付きのトロッコ]]
[[ko:상자가 실린 광산 수레]]
[[nl:Mijnkar met kist]]
[[pl:Wagonik ze skrzynią]]
[[pt:Carrinho de mina com baú]]
[[ru:Вагонетка с сундуком]]
[[uk:Вагонетка зі скринею]]
[[zh:运输矿车]]</li></ul>
12w18aDue to singleplayer becoming multiplayer, the world's seed is no longer displayed on the debug screen.
12w21aAdded /seed, which displays the current world seed.
1.7.2
{{Extension DPL}}<ul><li>[[Camera|Camera]]<br/>{{about|the entity|the command|commands/camera}}
{{exclusive|edu}} 
{{unobtainable|edition=be}}
{{ItemEntity
|imagesize=80px
|renewable=No
|stackable=Yes (64)
|health={{hp|4}}
|image=Camera.png}}
{{Block
| title = Camera Block
| image = Camera (block).png
| invimage = none
| transparent = No
| light = 0
| tool = any
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| renewable = No
}}

The '''camera''' is an [[entity]] that is capable of capturing and storing images. {{IN|edu}}, it works together with the [[portfolio]] item to create collections of [[photo]]s.<ref>https://education.minecraft.net/support/knowledge-base/using-cameras-portfolios/</ref>

== Obtaining ==
The camera can be obtained in the [[Creative inventory]] in ''Minecraft Education''. It can be obtained either by NBT editors, inventory editors, or glitches in Bedrock Edition.

To get the block form of the camera in Bedrock Edition using an NBT editor, you need to set the item name of the block in the inventory slot (<code>name:</code> ) to <code>item.camera</code>, then you need to add a compound tag called <code>Block</code> and inside of that put the int tag <code>version: 18040335</code> and the text tag <code>name: minecraft:camera</code> into the block compound tag. For the usable "[[spawn egg]]" form of the camera, you only need to set the item name of the block in the inventory slot (<code>name:</code> ) to <code>camera</code>; you do not need to add the block compound for this form of the camera. 

== Usage ==
Using a camera from the [[inventory]] captures a first-person screenshot. It can also be placed, creating a camera [[entity]] that can track the user, and take pictures from the camera's perspective. Photos that are taken using the camera appear in the [[portfolio]].

Close-up snapshots of an [[item]] on the ground can be taken by holding the Shift key while right-clicking.

Photos that are taken with the camera block are stored in <code>%localappdata%\Packages\MinecraftUWP_8wekyb3d8bbwe\LocalState\screenshots</code>.

== Sounds ==
=== Generic ===
{{Sound table/Block/Normal/BE}}
=== Unique ===
{{Sound table
|sound=Camera1.ogg
|sound2=Camera2.ogg
|sound3=Camera3.ogg
|type=bedrock
|description=When a picture is taken with a camera
|source=Players
|id=camera.take_picture
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|firstcolumnname=Camera
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=camera
|spritetype=block
|nameid=camera
|id=242
|form=block
|itemform=item.camera}}
{{ID table
|displayname=Item
|spritename=camera
|spritetype=item
|translationtype=item
|nameid=camera
|id=593
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Camera
|shownumericids=y
|generatetranslationkeys=y
|displayname=Entity
|spritename=camera
|spritetype=entity
|nameid=tripod_camera
|id=62
|foot=1}}

=== Entity data ===

See [[Bedrock Edition level format/Entity format]].

== Video ==
{{yt|1XLRGFibFNQ}}

== History ==
{{History|pocket alpha}}
{{History||v0.1.0|[[File:Camera BE1.png|50px]] [[File:Camera (item texture) BE1.png|32px]] The textures and model of the camera can be found in the game apk file.<ref name="found">[{{Reddit|jkkmr/found_image_file_for_camera_in_minecraft_portable}} Reddit - Found image file for camera in Minecraft Portable Edition Demo APK file.]</ref><ref>https://web.archive.org/web/20160604161800/https://twitter.com/Kappische/status/103548954368679936</ref>}}
{{History||v0.2.0|[[File:Camera BE2.png|50px]] [[File:Music Disc Blocks JE1 BE1.png|32px]] Added cameras
|Changed item and tripod textures.
|To use a camera, equip it in the [[player]]'s hand, then look in the direction the player wants the picture to be taken. Long-press the screen, and a camera [[drops]] to the ground where the player are standing. Step back, then press on the camera until it starts emitting smoke [[particles]]. The smoke means a picture has been taken, and the camera may disappear immediately afterward.
|Cameras have infinite uses.
|Entity id 62 and item id 456.<ref>https://www.minecraftforum.net/topic/1233138-i-found-the-camera-id/</ref>}}
{{History||v0.5.0|The camera is now invisible and makes the standard player [[damage]] [[sound]].}}
{{History||v0.7.0|Added the "F1" feature (Hide GUI), which has now made the camera obsolete.}}
{{History||v0.8.0|snap=build 2|[[File:Egg JE1 BE1.png|32px]] Item form now uses [[egg]] texture.}}
{{History||v0.9.0|snap=build 1|The camera [[entity]] has been removed. [[Tommaso]] also stated: ''"It doesn't mean that it's dead forever, in fact I have a lot of ideas for it! I think it will be back when have [[shader]]s, sharing and [[redstone]]."''<ref>{{Reddit|sub=MCPE|281sep/camera|ci6znr8}}</ref>}}
{{History||v0.14.0|snap=build 1|[[File:Camera BE3.png|32px]] [[File:Camera (item) BE2.png|32px]] Re-added the camera. It is accessible only with [[inventory]] editors.
|In this version, if the player spawns a camera, leaves the [[world]] and joins back, it summons [[lightning]].}}
{{History||v0.14.2|The camera [[item]] ID has been changed to 498, but it cannot be used at the moment. The [[entity]] can now be spawned with a [[spawn egg]] with a [[damage]] value of 62.
|According to the language files of the game, the empty label that shows up whenever hovering a finger to a camera would now say "Take Picture". However, the button doesn't do anything.}}
{{History||v0.15.0|snap=build 1|The previous empty label on the camera mentioned above now displays the words "Take Picture".
|The [[health]] of the camera [[entity]] is now {{hp|2}} instead {{hp|4}}.
|The camera no longer summons [[lightning]].}}
{{History||v0.16.0|snap=build 1|The camera now has a [[block]] form in [[inventory]], but still spawns the entity. However, the block can be placed only with [[commands]] and editing.
|"Take picture" button on the camera works now, but no image files are created.
|The oldest ID for camera (456) now refers to [[portfolio]].}}
{{History|||snap=build 2|[[File:Camera Block.png|32px]] The camera now has an [[item]] form and the [[block]] has been removed. However, it is still obtainable in servers.
|[[Portfolio]], which works together with the camera to create collections of pictures, has been removed.}}
{{History|||snap=build 4|Camera item form has been removed, and the camera can no longer be obtained or placed using any [[commands|command]].}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|[[File:Camera BE3.png|32px]] [[File:Camera Block.png|32px]] The camera has been reimplemented.
|The camera [[entity]] can now be spawned with a [[spawn egg]] with [[damage]] value 258.}}
{{History||1.12.0|snap=beta 1.12.0.2|The camera can now be obtained with the {{cmd|give}} [[commands|command]].}}
{{History||1.13.0|snap=beta 1.13.0.1|The camera can no longer be obtained with the {{cmd|give}} command.
|Functionality has been added to the camera. Screenshots that are taken by the camera can now be saved into the {{cd|screenshots}} folder.
|Cameras are now a part of the {{el|ee}} toggle as a hidden feature.
|Cameras no longer have a [[death]] animation when killed by the [[player]] and instead, instantly emit smoke [[particles]].}}
{{History||1.16.100|snap=beta 1.16.100.50|The camera can now be obtained with the {{cmd|give}} [[commands|command]] once again.}}
{{History|||snap=beta 1.16.100.55|The camera can no longer be obtained with the {{cmd|give}} command.}}
{{History|education}}
{{History||1.0|[[File:Camera BE3.png|32px]] [[File:Camera Block.png|32px]] Added cameras.}}
{{History||1.4.0|Cameras no longer have a [[death]] animation when killed by the [[player]] and instead instantly emit smoke [[particles]].}}
{{History|foot}}

=== Future ===
At the Minecraft [[Pocket Edition]] panel at [[MineCon 2012]], as well as one of [[Johan Bernhardsson|Jbernhardsson]]'s livestreams, it was stated that future plans include trying to have a proper use for cameras, perhaps an easier way to take screenshots and share them with others.<ref>{{ytl|YMhyX_lKWV4}}</ref> In the BlockTalk Q&A, the camera was briefly mentioned as part of a broader "sharing" theme planned for {{el|be}} in the future.<ref>{{ytl|Ruf6tvqsD84}}</ref>
It later got implemented into {{el|ee}}, using the camera to make screenshots and share them in a special book.

== Issues ==
{{Issue list}}

== Trivia ==
* A camera prevents a [[Book and Quill]] from working. Attempting to craft it or obtain it by commands gives a regular book instead, due to non-implementation of photo attaching to written books.
* The camera can take a screenshot, which appears a bit smaller with a thick paper outline having cuts on its edges, making it look like an old photograph.
* This feature is hidden from the Creative inventory and from the /give command item menu.

== Gallery ==
<gallery>
PEcameras030.jpg|A row of cameras, as seen in [[Pocket Edition v0.3.0 alpha|v0.3.0]].
PEcameraphoto.jpg|Example image taken by the camera [[entity]].
CameraUse-1.png|The first method of using cameras.
CameraUse-2.png|The second method of using cameras.
Dinnerbone Camera.png|A camera spawned using a [[spawn egg]] named "[[Dinnerbone]]" in the v0.15.0 beta.
Cam2.png|A camera falling from a [[tree]]. This shows that cameras are entities.
Education Edition Exclusive Features.png|The camera and camera block placed in a world along with other Education Edition features.
Screenshot by camera.jpg|An example of the screenshot taken by a camera in [[Bedrock Edition beta 1.13.0.1|beta 1.13.0.1]].
File:Say Cheese.jpeg|[[Steve]], [[Alex]], [[Jesse]], and an [[Agent]] getting their picture taken.
</gallery>

== See also ==
* [[Portfolio]]
* [[Screenshot]]

== References ==
{{Reflist}}

{{Items}}
{{Entities}}
{{Education Edition}}

[[Category:Education Edition entities]]
[[Category:Education Edition items]]
[[Category:Tools]]

[[cs:Kamera]]
[[de:Kamera]]
[[el:Camera]]
[[es:Cámara]]
[[fr:Appareil photo]]
[[hu:Kamera]]
[[ja:カメラ]]
[[ko:카메라]]
[[nl:Camera]]
[[pl:Kamera]]
[[pt:Câmera]]
[[ru:Камера]]
[[uk:Камера]]
[[zh:相机]]</li><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></ul>
13w36aTerrain-breaking change to world gen. Seed types were changed.
1.13
{{Extension DPL}}<ul><li>[[Rabbit Hide|Rabbit Hide]]<br/>{{Item
| title = Rabbit Hide
| image = Rabbit Hide.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Rabbit hide''' is an [[item]] dropped by [[rabbit]]s.

== Obtaining ==

===Mob loot===
[[Rabbit]]s drop 0–1 rabbit hide upon death. The maximum number of drops can be increased by 1 per level of [[Looting]] used, for a maximum of 0–4 rabbit hides with Looting III.

Some [[foxes]] spawn holding rabbit hides, which always drop upon death. Alternatively, the player can drop a food item, which causes the fox to drop the rabbit hide.

=== Cat gifts ===
{{main|Cat#Gifts}}

Tamed [[cat]]s have a 70% chance of giving the [[player]] a gift when they wake up from a [[bed]], and the gift has a 16.13% chance to be a rabbit hide.

== Usage ==

Rabbit hide can be crafted into leather, or into bundles to store stacks of items.

=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===

Journeyman-level leatherworker [[villager]]s buy 9 rabbit hide for an [[emerald]] as part of their trades.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Rabbit Hide
|spritetype=item
|nameid=rabbit_hide
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Rabbit Hide
|spritetype=item
|nameid=rabbit_hide
|id=529
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.8|snap=June 30, 2014|slink={{tweet|TheMogMiner|483636993780232192}}|[[Ryan Holtz]] tweeted images of rabbit hide and some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Rabbit Hide JE1.png|32px]]  Added rabbit hide.}}
{{History|||snap=14w33b|[[File:Rabbit Hide JE2 BE1.png|32px]] The texture of rabbit hide has been changed.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 415.}}
{{History||1.14|snap=18w43a|[[File:Rabbit Hide JE3 BE2.png|32px]] The texture of rabbit hide has been changed.}}
{{History|||snap=18w44a|Cats now offer rabbit hides as [[Cat#Gifts|gifts]].}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with rabbit hides in their mouths.}}
{{History|||snap=19w11a|Leatherworker [[villager]]s now [[trading|buy]] rabbit hides.}}
{{History||1.17|snap=20w45a|Rabbit hide can now be used to craft [[bundle]]s.}}
{{History|||snap=21w18a|Rabbit hide can no longer be used to craft bundles.}}
{{History||1.18|snap=Experimental Snapshot 1|Rabbit hide can now once again be used to craft bundles.}}
{{History|||snap=21w37a|Rabbit hide once again can no longer be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Rabbit hide can now once again be used to craft bundles.}}

{{History|pocket alpha}}
{{History||v0.13.0|snap=build 1|[[File:Rabbit Hide JE2 BE1.png|32px]] Added rabbit hide.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give [[player]]s rabbit hide as a gift.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Rabbit Hide JE3 BE2.png|32px]] The texture of rabbit hide has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Rabbit hide can be [[trading|sold]] to leatherworker [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] rabbit hide.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Rabbit Hide JE2 BE1.png|32px]] Added rabbit hide.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Rabbit Hide JE3 BE2.png|32px]] The texture of rabbit hide has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Rabbit Hide JE2 BE1.png|32px]] Added rabbit hide.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
File:Rabbit Items 1 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
</gallery>



{{items}}

[[de:Kaninchenfell]]
[[es:Piel de conejo]]
[[fr:Peau de lapin]]
[[hu:Nyúlbőr]]
[[it:Pelle di coniglio]]
[[ja:ウサギの皮]]
[[ko:토끼 가죽]]
[[nl:Konijnenhuid]]
[[pl:Królicza skóra]]
[[pt:Pele de coelho]]
[[ru:Кроличья шкурка]]
[[zh:兔子皮]]
[[Category:Renewable resources]]</li><li>[[Lava|Lava]]<br/>{{About|the fluid|the [[bucket]]|Lava Bucket}}
{{Fluid
| image = Lava.gif
| image2 = Lava BE.gif
| invimage = Lava Bucket
| invimage2 = Lava
| renewable = Yes
| transparent = Yes
| light = Yes (15)
| tool = Bucket
| infinite = No
| flowrate = 30 [[tick]]s/block (Overworld, End)<br> 10 [[tick]]s/block (Nether)
| flowdistance = 4 blocks (Overworld, End)<br>8 blocks (Nether)
}}
'''Lava''' is a light-emitting [[fluid]] that causes fire [[damage]], mostly found in the [[altitude|lower reaches]] of the [[Overworld]] and [[the Nether]].

== Obtaining ==
Lava blocks do not exist as items (at least {{in|java}}), but can be retrieved with a [[Lava Bucket|bucket]]. {{IN|bedrock}}, they may be obtained as an item via glitches (in old versions), add-ons or inventory editing.

Lava may be obtained [[renewable resource|renewably]] from [[cauldron]]s, as [[pointed dripstone]] with a lava source above it can slowly fill a cauldron with lava.

=== Natural generation ===
During world generation, lava replaces [[air]] blocks generated in [[cave]]s and [[canyon]]s between Y=-55 and Y=-63. [[Aquifer]]s are sometimes filled with lava below Y=0. Lava does not replace air blocks inside [[mineshaft]]s, [[monster room]]s, [[amethyst geode]]s, or [[stronghold]]s.

Lava can also occur as lava flows from a single [[spring]] block, pouring down walls into pools. The spring block can be on the side of a cave, ravine, mineshaft, or stone cliff above ground.

Lava also generates as small [[lava lake]]s, which can be found above Y=0 within any [[biome]].

Two blocks of lava can also be found in plains, snowy plains, and desert [[village]] weaponsmith buildings, or one source in savanna village weaponsmith buildings.

Fifteen blocks of lava can be found in the [[end portal]] room of a [[stronghold]]: 3 along each side wall, and 9 below the portal frame.

Lava also generates in [[woodland mansion]]s: two blocks of lava generate in the "blacksmith room", and 25 blocks of lava generate in a secret "lava room".

In [[the Nether]], lava is more common than [[water]] in the [[Overworld]]. [[Terrain features#Lava sea|Seas of lava]] occur, with sea level at y-level 32, about a quarter of the total height of the Nether (as the usable space in the Nether is 128 blocks tall). They can extend down to about y-level 19-22. Lava also randomly appears [[Spring#Hidden lava|in single blocks]] inside [[netherrack]] formations. Lava is also generated as a single source in well rooms in [[nether fortress]]es. There are also large pockets of lava generated under y-19 and can reach all the way down to bedrock level. These pockets are generally over 12 blocks in height and often connect to a large lava lake on y-32; the size of these pockets in 1.18 can range from the size of a singular pre-1.18 ravine to multiple ravines combined.

Lava generates as [[delta]] shapes, which can be found commonly in the [[basalt deltas]] biome. Lava also generates in [[ruined portal]]s and [[bastion remnant]]s.

=== Post-generation ===
Unlike [[Water#Source blocks|water source blocks]], new lava source blocks cannot be created in a space by two or more adjacent source blocks. However {{in|Java}}, if the [[game rule]] {{cd|lavaSourceConversion}} is set to {{cd|true}}, new lava source blocks can form in a similar way to water source blocks.

== Usage ==
=== Fuel ===
When used in a [[furnace]], a bucket of lava lasts 1000 seconds (100 items).

=== Burning ===
[[File:Inside Lava.png|thumb|What it looks like inside lava.]]
[[File:Under lava fire resistance.png|thumb|What it looks like inside lava using Fire Resistance {{in|java}}.]]

Most [[entity|entities]] take {{hp|4}} damage every half-second while in contact with lava, and are set on [[fire]]. An entity/player in lava will also have its {{code|remainingFireTicks}} set to 300, setting it on fire for 15 seconds. This timer is reset to 300 every tick that the victim spends in lava, so it will only start counting down once the victim leaves the lava. Once the victim does exit the lava source, it will burn for just under 15 seconds, taking fire damage 14 times. This is due to the fact that for the first tick outside of lava, its {{code|remainingFireTicks}} decrease to 299, and entities take fire damage when {{code|remainingFireTicks}} is a multiple of 20 and greater than 0. If the victim touches water or [[rain]] falls on it, the fire is extinguished, but the lava continues to damage them directly.

In addition, a dense [[fog]] effect will be applied for players under lava to obscure vision. This can be slightly mitigated via the [[Fire Resistance]] effect.

An entity/player moving in lava has their horizontal movement speed reduced by 50% and their vertical movement speed reduced by 20%.

{{IN|bedrock}}, a player with the Fire Resistance effect or a total [[Fire Protection]] of 7 or higher does not catch fire. 

[[Vex]]es, [[zoglin]]s, Nether [[mob]]s (excluding [[piglin]]s and [[hoglin]]s), [[Wither|withers]], [[Warden|wardens]], and players or mobs affected by the [[Fire Resistance]] effect are not damaged when touching lava. 

The embers or fireballs that fly out of lava are purely decorative and do not cause fires or damage to entities. When rain falls on lava, the black ember particles appear more frequently.

A player in lava lasts a few seconds before dying:

==== ''Java Edition'' ====
* 2.5 seconds with no armor
* 3.5 seconds with full leather armor, no enchantments
* 4 seconds with full gold armor, no enchantments
* 4.5 seconds with full chain armor, no enchantments
* 5.5 seconds with full iron armor, no enchantments
* 10.5 seconds with full diamond armor, no enchantments
* 11 seconds with full netherite armor, no enchantments

==== Bedrock Edition====
* 2.5 seconds with no armor
* 3.5 seconds with full leather armor, no enchantments
* 4.5 seconds with full gold armor, no enchantments
* 5 seconds with full chain armor, no enchantments
* 6.5 seconds with full iron armor, no enchantments
* 12.5 seconds with full diamond armor, no enchantments
* 12.5 seconds with full netherite armor, no enchantments
If the player is wearing armor enchanted with [[Fire Protection]], they can last even longer. With the maximum bonus, the damage is small enough that the natural healing from a full hunger bar can outpace it {{only|JE|short=1}}, so a player could survive indefinitely as long as they have food and their armor holds up (non-netherite armor is damaged by lava). This maximum bonus can be obtained by wearing 2 pieces of armor with [[Fire Protection|Fire Protection IV]] and 1 with [[Protection|Protection IV]], or 1 piece of armor with [[Fire Protection|Fire Protection IV]] and 3 with [[Protection|Protection IV]].

==== Fire spread ====
Lava can cause fires by turning air blocks to fire blocks.

In order for air above lava to turn to fire, a block adjacent to the air has to be [[Fire#Burning blocks|flammable]], or one of the wood-constructed [[Fire#Non-flammable blocks|non-flammable]] blocks. Since catching fire depends on air blocks, even torches or lava itself can prevent a flammable block from catching fire.  Additionally, not all flammable or wood-constructed blocks can be ignited by lava.

The lava of any depth can start fires this way, whether or not it appears to have a current.

Additional conditions must be met, depending on the edition of Minecraft.

===== Java Edition =====
{{FakeImage|align=right|{{BlockGrid|scale=2|L=lava|w=Oak Planks|p=Orange Stained Glass|s=Light Gray Stained Glass|wwwwwwwww|wwsssssww|wspppppsw|wwspppsww|wwwsLswww|wwwwwwwww}}|Example for JE. The orange area represents areas<br>where air could catch flame if the<br>gray and orange areas contain<br>flammable blocks. The wood<br>is all at a safe distance.
}}

Air block must be in a 3×1×3 area right above the lava or in a 5×1×5 2 blocks above the lava.

Note that an air block in the 5x1x5 area will not catch on fire if the 3x1x3 area is completely filled, even if the latter is filled with flammable blocks.

===== Bedrock Edition =====
The block to be set on fire must be in a 3×3×3 cube centered on a lava block, above which there must be either air or an ignitable block.

=== Flow ===
{{See also|Fluid}}

Lava flows from "source blocks". Most streams or "lava-falls" come from a single source block, but lava lakes (including the "flood lava" in the bottom 10 layers) are composed entirely of source blocks. A source block can be captured only with a [[lava bucket|bucket]].

In the [[Overworld]] and [[the End]], lava travels 3 blocks in any horizontal direction from a source block. Lava flows far more slowly than water (1 block every 30 game ticks, or 1.5 seconds), and sourceless lava flows linger for a short time more. In [[the Nether]], lava travels 7 blocks horizontally and spreads 1 block every 10 game ticks, or 2 blocks per second, which is half the speed as water in the Overworld. In all dimensions, lava spreading uses the same mechanic as water: for every adjacent block it can flow into it tries to find a way down that is reachable in four or fewer blocks from the block it wants to flow to. When found, the flow weight for that direction is set to the shortest path distance to the way down. (This can result in lava flows turning toward dropoffs that they cannot reach in the Overworld and the End.)

Flowing lava destroys the following in its path: [[sapling]]s, [[cobweb]], [[tall grass]], [[dead bush]], [[wheat]], [[flower]]s, [[mushroom]]s, [[snow]] on ground (but snow blocks are immune), [[lily pad]]s, [[vines]], [[lever]]s, [[button]]s, all three types of [[torch]]es, [[redstone]], [[redstone repeater|repeaters]], [[end rod]]s, and [[rail]]s. [[Sugar cane]]s hold back lava, but disappear if the sugar cane's water source is destroyed by the lava. Lava also slows down entities, including those that are normally immune to lava damage.

Using redstone wire, a one-block lava flow can be redirected by supplying power to the source block, which causes it to reset the flow toward the now-nearest terrain depression. It cannot, however, be reversed. This re-calculation is made because of the redstone wire when toggled changes the block from redstone (on) to redstone (off). Whenever a block updates on any side of the lava, the lava re-calculates where to flow, but does not cut off its current direction of flow. In Bedrock Edition using the /setblock command can be used to create stationary lava without the use of barriers. 

Flowing lava can push entities.

==== Flow arrangement tables ====

===== Overworld and the End =====
{| class="wikitable"
|+
|
|
|
!4
|
|
|
|-
|
|
!4
!3
!4
|
|
|-
|
!4
!3
!2
!3
!4
|
|-
!4
!3
!2
!1
!2
!3
!4
|-
|
!4
!3
!2
!3
!4
|
|-
|
|
!4
!3
!4
|
|
|-
|
|
|
!4
|
|
|
|}
{| class="wikitable"
|+
! colspan="2" |Range
!Height in blocks
|-
!1
|block
|1
|-
!2
|blocks
|0.75-1
|-
!3
|blocks
|0.5-0.75
|-
!4
|blocks
|0.25-0.5
|}

===== The Nether =====
{| class="wikitable"
|+
|
|
|
|
|
|
!7
|
|
|
|
|
|
|-
|
|
|
|
|
!7
!6
!7
|
|
|
|
|
|-
|
|
|
|
!7
!6
!5
!6
!7
|
|
|
|
|-
|
|
|
!7
!6
!5
!4
!5
!6
!7
|
|
|
|-
|
|
!7
!6
!5
!4
!3
!4
!5
!6
!7
|
|
|-
|
!7
!6
!5
!4
!3
!2
!3
!4
!5
!6
!7
|
|-
!7
!6
!5
!4
!3
!2
!1
!2
!3
!4
!5
!6
!7
|-
|
!7
!6
!5
!4
!3
!2
!3
!4
!5
!6
!7
|
|-
|
|
!7
!6
!5
!4
!3
!4
!5
!6
!7
|
|
|-
|
|
|
!7
!6
!5
!4
!5
!6
!7
|
|
|
|-
|
|
|
|
!7
!6
!5
!6
!7
|
|
|
|
|-
|
|
|
|
|
!7
!6
!7
|
|
|
|
|
|-
|
|
|
|
|
|
!7
|
|
|
|
|
|
|}

{| class="wikitable"
! colspan="2" |Range
!Height in blocks
|-
!1
|block
|1
|-
!2
|blocks
|0.75-1
|-
!3
|blocks
|0.625-0.75
|-
!4
|blocks
|0.5-0.625
|-
!5
|blocks
|0.375-0.5
|-
!6
|blocks
|0.25-0.375
|-
!7
|blocks
|0.125-0.25
|}

=== Lava and water ===
{{Main|Fluid#Mixing}}

Water and lava can produce [[stone]], [[cobblestone]], or [[obsidian]] based on how they interact. Lava can also generate basalt when above soul soil and touching blue ice.

=== Light source ===

Lava blocks emit a [[light]] level of 15.

=== Other ===
[[File:LavaDropletsExample.png|thumb|If there is lava flowing above a [[block]], the lava seeps through.]]

Lava above a non-transparent block (does ''not'' include stairs, fences, and slabs) produces dripping particles on the underside of that block. These droplets do not do anything other than warn the player that a deluge of lava lies above that block. The particles function identically to their water counterparts, except that they drip slower.

Flowing lava can set off tripwires because it breaks placed string. Lava triggers a tripwire only once.

Any [[item (entity)|item]] dropped into lava is immediately destroyed, except for [[netherite]]-related items. [[Lodestone|Lodestones]], however, can be destroyed by lava despite containing netherite.<ref>{{bug|MC-176618|||WAI}}</ref>

Lava can be placed in an empty [[cauldron]].

If lava is above a non-transparent block supporting [[pointed dripstone]], dripping particles are created on the end. These can fill cauldrons with lava.

== Farming ==
{{main|Tutorials/Lava farming}}
Lava farms can be created by placing a lava source block on top of a solid block and a [[pointed dripstone]] and a [[cauldron]] underneath.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Lava.ogg
|subtitle=Lava pops
|source=block
|description=Randomly
|id=block.lava.ambient
|translationkey=subtitles.block.lava.ambient
|volume=0.2-0.4
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Fizz.ogg
|subtitle=Lava hisses
|source=block
|description=When lava mixes with water, making a block
|id=block.lava.extinguish
|translationkey=subtitles.block.lava.extinguish
|volume=0.5
|pitch=1.8-3.4
|distance=16}}
{{Sound table
|sound=Lava pop.ogg
|subtitle=Lava pops
|source=block
|description=When a lava bubble particle spawns
|id=block.lava.pop
|translationkey=subtitles.block.lava.ambient
|volume=0.2-0.4
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Empty lava bucket1.ogg
|sound2=Empty lava bucket2.ogg
|sound3=Empty lava bucket3.ogg
|subtitle=Bucket empties
|source=block
|description=When lava is placed with a bucket
|id=item.bucket.empty_lava
|translationkey=subtitles.item.bucket.empty
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Fill lava bucket1.ogg
|sound2=Fill lava bucket2.ogg
|sound3=Fill lava bucket3.ogg
|subtitle=Bucket fills
|source=player
|description=When lava is collected with a bucket
|id=item.bucket.fill_lava
|translationkey=subtitles.item.bucket.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Fizz.ogg
|subtitle=Fire extinguishes
|description=When something [[freezing]] is dunked into lava
|source=block
|id=entity.generic.extinguish_fire
|translationkey=subtitles.entity.generic.extinguish_fire
|volume=0.7
|pitch=1.2-2.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Lava.ogg
|source=block
|description=Randomly
|id=liquid.lava
|volume=0.4-0.6
|pitch=0.9-1.05}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=When lava mixes with water, making a block
|id=random.fizz
|volume=0.5
|pitch=1.8-2.4}}
{{Sound table
|sound=Lava pop.ogg
|source=block
|description=When a lava bubble particle spawns
|id=liquid.lavapop
|volume=0.4-0.6
|pitch=0.9-1.05}}
{{Sound table
|sound=Empty lava bucket1.ogg
|sound2=Empty lava bucket2.ogg
|sound3=Empty lava bucket3.ogg
|source=block
|description=When lava is placed with a bucket
|id=bucket.empty_lava
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fill lava bucket1.ogg
|sound2=Fill lava bucket2.ogg
|sound3=Fill lava bucket3.ogg
|source=block
|description=When lava is collected with a bucket
|id=bucket.fill_lava
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=When something freezing is dunked into lava
|id=random.fizz
|foot=1}}

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Lava
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=lava
|spritetype=block
|nameid=lava
|blocktags=strider_warm_blocks
|form=block
|foot=1}}
{{ID table
|firstcolumnname=Lava
|showfluidtags=y
|displayname=Fluid
|spritename=lava
|spritetype=block
|nameid=lava
|fluidtags=lava}}
{{ID table
|displayname=Flowing Fluid
|spritetype=block
|spritename=lava
|nameid=flowing_lava
|fluidtags=lava
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Lava
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Flowing
|spritename=lava
|spritetype=block
|nameid=flowing_lava
|id=10
|form=block}}
{{ID table
|displayname=Stationary
|spritename=lava
|spritetype=block
|nameid=lava
|id=11
|form=block
|foot=1}}

Lava spends most of its time as stationary, rather than 'flowing' – regardless of its level, or whether it contains a current downward or to the side.  When specifically triggered by a block update, lava changes to 'flowing', update its level, then change back to stationary.  Lava springs are generated as flowing, and lava lakes are generated as stationary.

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

=== Fluid states ===
{{see also|Block states}}
{{/FS}}

== Achievements ==
{{load achievements|Stayin' Frosty;Super Fuel;Feels Like Home}}

== Advancements ==
{{Load advancements|Hot Stuff;Feels Like Home}}

== History ==
{{main|/History}}
{{History|java classic}}
{{History||0.0.12a|snap=May 19, 2009|slink=Java Edition Classic 0.0.12a/Development#Lava test (May 19, 2009)|Lava is shown.}}
{{History|||snap=release|slink=Java Edition Classic 0.0.12a|[[File:Lava JE1.png|32px]] Added lava.
|The texture is transparent.
|Lava spreads by duplicating itself to open horizontal and downward squares.
|Lava is slower than [[water]] and can be easily outrun.
|Model has z-fighting with blocks below lava.}}
{{History||0.0.13a|[[File:Lava JE2.png|32px]] The texture has changed to be opaque.}}
{{History||0.0.13a_03|Lava lakes no longer generate.}}
{{History||0.0.15a|link=Java Edition Classic 0.0.15a (Multiplayer Test 1)|[[File:Lava JE3.png|32px]] The model is no longer shaded.}}
{{History||0.0.19a|[[File:Lava JE4.png|32px]] Added a [[Procedural animated texture generation|procedural animated texture]] to lava. Old texture is still retained for use as a [[animation placeholder texture|placeholder]].|Upscaled model 2% to fix z-fighting with blocks below lava. It's created lava or water models overlapping and z-fighting with each other.|Added lava layer to the bottom of the map.<!--as it traps the [[player]] and prevents the player from leaving unless [[water]] is let in and collides with it or if the player places a [[sand]] or [[gravel]] block, letting it [[drops|drop]] into the lava. If water is let into the area where the lava is, the lava becomes [[stone]], allowing the stone block to be removed to expose bedrock underneath.-->}}
{{History||0.0.20a_02|[[File:Lava JE5.png|32px]] Changed model scale back to normal with 1% offset on all coordinates.}}
{{History||0.0.22a|[[File:Lava JE6.png|32px]] Lava's generated texture has changed - it now appears brighter overall.}}
{{History||August 25, 2009|link=https://notch.tumblr.com/post/170887079/survival-mode-status-update-video-with-plenty-of|Lava has been shown to deal [[damage]].}}
{{History||0.24_SURVIVAL_TEST|Lava now deals damage.}}
{{History||0.26  SURVIVAL TEST|[[File:Lava JE7.png|32px]] UV mapping on side faces now has 11% v offset up.}}
{{History||0.28|[[File:Lava JE6.png|32px]] Fixed UV mapping.}}
{{History|java indev}}
{{History||0.31|snap=20091223-2|Lava is now luminous.}}
{{History|||snap=20100110|Lava now sets [[fire]] to flammable materials.}}
{{History|||snap=20100122|Added [[lava spawner]]s that spawn lava on sides and bottom.|It appears in the player's inventory in a stack of 5.
|Lava now flows, but more slowly than water.<ref>[[wordofnotch:347976621]]</ref>
|Dropped [[item]]s now burn in lava.
|Shot [[arrow]]s catch [[fire]] and not burn in lava.}}
{{History|||snap=20100124|Lava spawner can no longer be found in the player's inventory. Instead, a full stack (99) can be found inside the [[Indev house]] chests.}}
{{History|||snap=20100125-1|Lava now has [[particles|particle]] effects.}}
{{History|||snap=20100130|Re-added the infinite lava sea to the bottom of the map.}}
{{History||20100219|[[File:Lava JE8.png|32px]] The model is shaded again.}}
{{History|java infdev}}
{{History||20100227-1|Lava no longer flows due to changes in chunk handling for infinite worlds.}}
{{History||20100607|[[File:Lava JE9.png|32px]] UV mapping now has 1% uv offset on top and bottom faces and 1% u, 11% v offset on side faces.}}
{{History||20100608|[[File:Lava JE8.png|32px]] Fixed UV mapping, once again.}}
{{History||20100615|[[File:Lava JE10.png|32px]] The model has been changed.
|Added flowing lava.
|Lava now creates flowing lava for a total distance of 7 blocks "away" from the source block.
|Flowing lava flows in a single line toward the nearest terrain depression within four blocks.}}
{{History||20100616-1|[[File:Lava JE11.png|32px]] Added flowing lava texture for sides and vertex offset.
|Lava and flowing lava now have visual connection to blocks.|A large lava flow is now visible in the dark from a long distance.}}
{{History||20100617-2|[[File:Lava JE12.png|32px]] Removed vertex offset.
|Lava now flows 3 blocks horizontally instead of 7.
|Lava and flowing lava touching water, flowing water, water spawner, or lava spawner now replaces with [[obsidian]].
|Removed the infinite lava sea at the bottom of the map.}}
{{History|java alpha}}
{{History||v1.0.2_02|Flowing of lava has been tweaked.}}
{{History||v1.0.4|Added [[ice]] and [[snow]], which lava can melt.}}
{{History||v1.0.15|Lava now sets nearby [[block]]s on [[fire]].}}
{{History||v1.2.0|snap=preview|Added [[the Nether]], which contains lava.}}
{{History||v1.2.2|Lava now flows further in the Nether.}}
{{History||v1.2.6|Added [[lava lake]]s, which can generate at any [[altitude]].}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Lava JE13.png|32px]] Changed [[lighting]].
|When lava is touched by [[rain]], it emits smoke [[particles]].
|Lava now generates in the blacksmiths of the newly added [[village]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Added lava dripping.
|Lava blocks now form [[stone]] when falling directly onto [[water]] source blocks.}}
{{History|||snap=Beta 1.9 Prerelease 3|Lava now generates in the newly added [[end portal]] rooms of [[stronghold]]s.}}
{{History|||snap=Beta 1.9 Prerelease 5|Only in this version, it is possible to create an infinite lava source using a plus-sign shaped arrangement of [[block]]s with four lava source blocks flowing into a central empty block.}}
{{History|||snap=RC1|[[File:Lava JE14.png|32px]] Faces on model now 0.1% moved to center to fix z-fighting on inner faces.}}
{{History||1.2.1|snap=12w05a|Lava (as well as the embers that pop out of it) now makes [[sound]]s. These sounds were in the game files for a long time, but they had not played in-game.}}
{{History||1.3.1|snap=12w21a|Lava can now be collected and dispensed by [[dispenser]]s containing buckets.}}
{{History||1.4.2|snap=12w38a|Flowing lava now has a constant [[sound]].}}
{{History||1.5|snap=13w02a|[[File:Lava JE15.png|32px]] The model of lava now uses animated texture files.
|There is now "hidden lava" in [[the Nether]].
|Lava now flows much more quickly in the Nether.}}
{{History||1.6.1|snap=13w18a|Lava no longer lingers after the source is removed.}}
{{History||1.7.2|snap=13w37a|Flowing lava, which previously could be destroyed by a few [[block]]s of [[TNT]], can no longer be destroyed by [[explosion]]s.}}
{{History||1.10|snap=16w21a|[[File:Lava JE16.png|32px]] [[File:Lava (bottom view) 16w21a.png|32px]] Lava is now [[color]]ed red ({{color|#ff0000}}) except for the bottom face.<ref>{{bug|MC-102511}}</ref>}}
{{History|||snap=16w21b|[[File:Lava JE15.png|32px]] Lava is no longer colored.
|Added 2 [[splash]]es referencing colored lava: "Rule #1: it's never my fault", "Replaced molten cheese with blood?".}}
{{History||1.11|snap=16w39a|Lava can now generate in [[woodland mansion]]s.}}
{{History||1.13|snap=18w15a|[[File:Lava JE17.png|32px]] [[File:Swamp Lava 18w15a.png|32px]] [[File:Swamp Hills Lava 18w15a.png|32px]] [[File:Warm Ocean Lava 18w15a.png|32px]] [[File:Lukewarm Ocean Lava 18w15a.png|32px]] [[File:Cold Ocean Lava 18w15a.png|32px]] [[File:Frozen Ocean Lava 18w15a.png|32px]] Lava is now biome colored except for the bottom face. This is linked to new biome coloring for water.<ref>{{bug|MC-128233}}</ref>}}
{{History|||snap=18w16a|[[File:Lava JE15.png|32px]] Lava is no longer biome colored.}}
{{History||1.16|snap=20w09a|Lava now pushes [[Entity|entities]].}}
{{History|||snap=20w13a|Added [[strider]]s, which can be [[saddle]]d and ridden across lava.
|When lava flows over [[soul soil]] next to [[blue ice]], it now turns into [[basalt]].}}
{{History|||snap=20w16a|Lava now generates as part of [[bastion remnants]] and [[ruined portal]]s.}}
{{History|||snap=Pre-release 3|Visibility under lava is now slightly better when under the effect of [[Fire Resistance]].}}
{{History||1.17|snap=20w45a|[[Cauldron]]s can now be filled with lava.}}
{{History|||snap=20w48a|Added a [[renewable]] way of obtaining lava through cauldrons and [[pointed dripstone]].}}
{{History|||snap=21w06a|Lava no longer replaces air below Y{{=}}11.}}
{{History|||snap=21w08a|Lava now replaces air below Y{{=}}-53.
|Lava [[spring]]s are able to generate below Y{{=}}0.}}
{{History|||snap=21w11a|[[Spectator]] mode players can now see through lava.<ref>{{bug|MC-71530|||Fixed}}</ref>}}
{{History|||snap=21w13a|Lava is now fully renewable, as pointed dripstone can be obtained in Survival without custom generation.}}
{{History|||snap=21w15a|The changes to lava generation in 21w06a and 21w08a have been reverted.}}
{{History||1.18|snap=Experimental Snapshot 1|The changes to lava generation in the 1.17 snapshots have been reintroduced.
|[[Aquifer]]s below Y{{=}}0 sometimes generate with lava instead of water.}}
{{History||1.19.3|snap=22w44a|Added [[game rule]] {{cd|lavaSourceConversion}}, which allows the formation of new lava source blocks when set to {{cd|true}}.}}

{{History|pocket alpha}}
{{History||v0.1.0|[[File:Lava BE1.png|32px]] Added lava.}}
{{History||v0.3.3|Lava no longer creates [[fire]], due to a game breaking spreading bug.}}
{{History||v0.7.0|Lava now lights flammable [[block]]s around it on fire.
|[[File:Lava BE2.png|32px]] [[File:Lava BE2.gif|32px]] Lava now has a flowing animation.}}
{{History||v0.8.0|snap=build 5|Lava flowing directly into [[water]] now actually spreads out over it.}}
{{History||v0.9.0|snap=build 1|Underground ponds of lava can now be found, making lava much more easy to obtain.
|Lava dripping [[particles]] have been added.
|Lava now generates in [[village]] blacksmiths and [[stronghold]] end portal rooms.}}
{{History||v0.12.1|snap=build 1|[[Player]]s are now able to [[swimming|swim]] in lava.
|Lava now generates in [[the Nether]].}}
{{History|||snap=build 6|[[File:Lava BE3.png|32px]] [[File:Lava BE3.gif|32px]] Lava is now brighter shaded.}}
{{History|||snap=build 8|Lava now cancels all fall [[damage]].}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Lava now generates in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.11.0|snap=beta 1.11.0.5|[[File:Lava BE4.png|32px]] The texture for lava has been changed to match ''Java Edition''.}}
{{History||1.16.0|snap=beta 1.16.0.51|Lava can now push entities.}}
{{History|||snap=beta 1.16.0.57|Lava now generates as a [[delta]] that can be found in [[basalt deltas]].
|Lava now generates as part of [[bastion remnants]] and [[ruined portal]]s.
|When lava flows over [[soul soil]] next to [[blue ice]], it now turns into [[basalt]].}}
{{History|||snap=beta 1.16.0.59|Lava can no longer push entities.}}
{{History||1.17.30|snap=beta 1.17.20.22|Lava can now push entities, once again.<ref>{{bug|MCPE-75124}}</ref>}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Lava JE12.png|32px]] Added lava.}}
{{History||xbox=TU12|[[File:Lava JE15.png|32px]] The texture for lava has been changed.
|Lava (as well as the embers that pop out of it) now makes [[sound]]s.}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|Lava can be used in custom superflats. It appears as a 3D block in the block selection screen of the custom superflat interface.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Lava BE3.png|32px]] Added lava.}}
{{History|foot}}

=== Data history ===
{{History|java}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 10 and 11.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
* A player with [[Fire Resistance]] can swim in lava without taking damage, although the swimming speed does not become faster.
* A player cannot sprint-swim in lava.
* An arrow catches fire when shot into flowing lava, but not still lava.
* [[Water]] flows into lava-occupied blocks as though it were empty space, and vice versa.
* Although lava is a fluid, it is not possible to drown in lava. This applies to all mobs. However, it is still possible to suffocate in lava. This applies to almost every mob.{{only|bedrock}}<ref>{{bug|MCPE-17073}}</ref>
* A player sleeping in a bed cannot be damaged by lava.
* If the lava is changed to be transparent via a [[resource pack]], it does not become transparent.
* {{IN|bedrock}}, lava does not deactivate [[elytra]] like [[water]] does.
* Despite flowing identically to water while in [[the Nether]], it was not possible to create an infinite spring of lava before [[Java Edition 1.19.3|1.19.3]].
** Before Lava source conversion was implemented, the ''Minecraft: Combat Handbook'' (2014) stated the possibility to create infinite sources of lava by simply creating a cross shape with 4 nether bricks and placing lava in the middle. As expected, this turned out to be false, as confirmed by [[Nathan Adams|Dinnerbone]].<ref>[[bugtracker:MC-71088|MC-71088]]</ref>
* Geologically, lava in the Overworld is consistent with [[wikipedia:Felsic lava|felsic lava]], and lava in the Nether is consistent with [[wikipedia:mafic lava|mafic lava]]. Felsic lava is slow, sticky, and does not run as far as mafic lava, which is relatively thin and runny.
* When lava source conversion was implemented, any text where lava was supposed to be said "lave" instead.
** A splash text now says "Made with 'lave'".

== Gallery ==
<gallery>
Lavameltpattern1.png|Lava's melting pattern for snow and ice.
Water and lava springs.png|A natural lava spring near a waterfall.
Cave Lava.png|The lava "ocean" layer of [[cave]]s.
Lavastreamwithores.png|A naturally-occurring stream of lava next to diamond and iron ore.
Spawn Point Lava Warning.png|The warning in [[Legacy Console Edition]] when trying to place lava near the spawn point.
Lave found close under the dessert.png|A running lava source (origin not seen) uncovered six blocks below the surface of desert terrain.
Lava with Night vision potion.png|The inside view of lava with the night vision effect.
Ladders Blocking Lava.png|Ladders can stop lava from flowing.
Lava flowing off cliff.png|A lava [[spring]].
Minecraft Surface LavaFall.png|Lava spreading into dirt.
Exposed Cavern Lava.png|Lava in a ravine.
Lava in Ravine.png|Lava found in a snowy [[ravine]].
BedrockLava.png|Lava generates on bedrock. 
BedrockPostLavaRemoval.png| Lava being extinguished near bedrock. 
LavaRiver.png| Lava pool and water pool meeting each other naturally. 
Lavafall.png| Two lava springs meeting water in a savannah plateau.
Lava spring.png| Lava spreading in the Overworld. 
Minecraft lavalake.png| A lava spring spreading into a lava lake. 
Lava cane.png|Sugar cane growing with lava flowing around it.
TallLavafall.png|Tall lavafall flowing into ravine.
RavineandStornghold.png|Ravine with multiple ores, water and lava falls, and stronghold bridge over it.
Underground Lava Lake.png|Another example of underground lava lake.
Lwava.png|Lava pouring from a cliff.
Extreme Hills Falls.png|Lava and water pouring from a cliff.
Lavalake.png|Lava and ores in a cave underground.
Cavern2.png|Lava texture in Classic [[0.0.21a_01]].
Lavaspring.png|Lava setting fire to [[grass]].
File:Mobbo Destroyed Village.jpeg|A [[village]] ravaged by lava.
File:Lava Moodlight.jpg|An officially licensed lava block moodlight.
</gallery>

== References ==
{{Reflist}}

== External links ==
*[https://www.minecraft.net/en-us/article/block-week-lava Block of the Week: Lava] – Minecraft.net on September 29, 2017
*[[wikipedia:Lava|Real-life lava on Wikipedia]]
*[[wikipedia:Magma|Real-life magma on Wikipedia]]

{{Blocks|natural}}
{{Items}}

[[Category:Fluids]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]
[[Category:Light sources]]

[[cs:Láva]]
[[de:Lava]]
[[es:Lava]]
[[fr:Lave]]
[[hu:Láva]]
[[it:Lava]]
[[ja:溶岩]]
[[ko:용암]]
[[nl:Lava]]
[[pl:Lawa]]
[[pt:Lava]]
[[ru:Лава]]
[[th:ลาวา]]
[[tr:Lav]]
[[uk:Лава]]
[[zh:熔岩]]</li></ul>
18w06aWorld generator rewritten in a non-breaking way. Customized removed.
Pocket Edition Alpha
0.1.0
{{Extension DPL}}<ul><li>[[Lime Dye|Lime Dye]]<br/>{{Item
| image = Lime_Dye_JE2_BE2.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Lime dye''' is a [[Dye#Quasi-Primary|quasi-primary dye]] obtained by combining one [[green dye]] and one [[white dye]] in a crafting square, or by smelting a [[sea pickle]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |Green Dye
  |White Dye
  |Output=Lime Dye,2
  |type=Material
}}
{{Crafting
  |foot=1
  |Green Dye
  |Bone Meal
  |Output=Lime Dye,2
  |description={{only|bedrock|education}}
  |type=Material
}}

=== Smelting ===

{{Smelting
|head=1
|foot=1
|Sea Pickle
|Lime Dye
|0,2
}}

=== Trading ===

[[Wandering trader]]s sell 3 lime [[dye]] for 1 [[emerald]].

== Usage  ==

{{dye usage}}

=== Crafting ingredient ===

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

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

=== Trading ===

Journeyman-level shepherd villagers have a 20% chance to buy 12 lime dye for an emerald as part of their trades.‌

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Lime Dye
|spritetype=item
|nameid=lime_dye
|aliasid=dye / 10
|id=405
|form=item
|translationkey=item.dye.lime.name
|foot=1}}

== Video ==

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

== History ==

{{History|java beta}}
{{History||1.2|[[File:Lime Dye JE1 BE1.png|32px]] Added lime dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Lime dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be 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=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|||snap=18w14b|Lime dye can now be smelted from [[sea pickle]]s.}}
{{History||1.14|snap=18w43a|Lime dye is now crafted using [[white dye]], instead of [[bone meal]].
|[[File:Lime_Dye_JE2_BE2.png|32px]] The texture of lime dye has now been changed.}}
{{History|||snap=18w44a|Lime dye can now change the text color on [[sign]]s to lime.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells lime dye.}}
{{History|||snap=19w11a|Lime dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Lime dye can now be used to craft [[lime candle]]s.}}
{{History|||snap=21w19a|Lime dye can no longer be used to craft lime candles.}}
{{History|||snap=Pre-release 1|Lime dye can now once again be used to craft lime candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Lime dye can now change the text color on [[hanging sign]]s to lime.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Lime Dye JE1 BE1.png|32px]] Added lime dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Lime dye is now craftable with [[cactus green]] and [[bone meal]].
|Lime dye can now be used to craft lime wool.}}
{{History||v0.6.0|Lime dye can now be used to dye [[sheep]].}}
{{History||v0.9.0|snap=build 11|Lime dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Lime dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Lime dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Lime dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Lime dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Lime dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Lime dye can now be used to craft [[balloon]]s and [[glow stick]]s.
|Lime dye can now be obtained from smelting [[sea pickle]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Lime dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Lime dye is now [[trading|sold]] by [[wandering trader]]s.
|Lime dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Lime_Dye_JE2_BE2.png|32px]] The texture of lime dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Lime dye can now be [[trading|sold]] to shepherd [[villager]]s.‌}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of lime dye has been changed from <code>dye/10</code> to <code>lime_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Lime Dye JE1 BE1.png|32px]] Added lime dye.}}
{{History|PS4}}
{{History||1.90|[[File:Lime_Dye_JE2_BE2.png|32px]] The texture of lime dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Lime Dye JE1 BE1.png|32px]] Added lime dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==
{{Reflist}}

{{Items}}

[[Category:Dyes]]
[[Category:Renewable resources]]

[[cs:Světle zelené barvivo]]
[[de:Hellgrüner Farbstoff]]
[[es:Tinte verde lima]]
[[fr:Teinture vert clair]]
[[hu:Neonzöld festék]]
[[ja:黄緑色の染料]]
[[ko:연두색 염료]]
[[nl:Lichtgroene kleurstof]]
[[pl:Jasnozielony barwnik]]
[[pt:Corante verde-limão]]
[[ru:Лаймовый краситель]]
[[zh:黄绿色染料]]</li><li>[[Dye|Dye]]<br/>{{Item
| title = Dyes
| image = White Dye.png
| extratext = View [[#Gallery|all renders]]
| renewable = Yes
| stackable = Yes (64)
}}
'''Dyes''' are a set of sixteen items used to change the color of [[wool]], [[carpet]]s, [[terracotta]], [[concrete powder]], [[glass]], [[shulker box]]es, [[bed]]s, [[candle]]s, the patterns on [[banner]]s, [[firework star]]s, certain mobs, and text on [[sign]]s and [[hanging sign]]s. {{IN|bedrock}} they can also be used to dye water in a [[cauldron]] (which is thereafter used to dye leather [[armor]]); {{in|java}} leather armor can be dyed directly. {{IN|education}} dyes can also be used to dye [[balloon]]s and [[glow stick]]s.

{{IN|bedrock|education}}, [[bone meal]], [[ink sac]]s, [[lapis lazuli]], and [[cocoa bean]]s can generally substitute for [[white dye]], [[black dye]], [[blue dye]], and [[brown dye]], respectively, in crafting recipes and for use in dyeing items or mobs. However, they have other important uses that aren't related to color, and are therefore not considered true dyes. They are mentioned in this article only in regard to their use as dyeing agents; see their individual articles for complete information about them.

[[File:Dye Recipes.png|400px|thumb|A guide for creating all the dyes]]

== Obtaining ==
<!--[[File:Dye Chart.png|350px|thumb|A guide to crafting all the dyes.{{until|java 1.14}}]]-->

Dyes can be produced by crafting them from plants (mainly flowers), by crafting dyes of different colors together, by smelting plants, or by trading with a [[wandering trader]].

{{loadPage|Crafting/Dye|Crafting|h3}}

=== Smelting ===
{{smelting|head=1|Sea Pickle|Lime Dye|0,2}}
{{smelting|foot=1|Cactus|Green Dye|1||b=Lapis Lazuli|c=Any fuel|d=1}}

=== Trading ===

[[Wandering trader]]s can sell 3 dyes for an [[emerald]]. {{IN|bedrock}}, they can also sell 3 lapis lazuli, bone meal, cocoa beans, or ink sacs for one emerald.

Apprentice-level cleric [[villager]]s sell one lapis lazuli per emerald.

=== Chest loot ===

{{#invoke:LootChest|base3|blue-dye,green-dye,orange-dye,light-blue-dye,yellow-dye,white-dye}}

=== Other ===

Ink sacs can also be created using 1 iron, 1 sulfur, and 4 oxygen in the [[compound creator]]. {{only|bedrock|education}}

== Usage ==

Similar to their use in crafting, [[bone meal]], [[ink sac]]s, [[lapis lazuli]], and [[cocoa beans]] can be substituted for the corresponding dye in any of the following usages unless otherwise specified.{{only|bedrock}} <!--- sections are ordered by craftable dyeable blocks, dyeable items, version exclusive sections, and non-crafting miscellaneous uses--->

=== Dyeing wool and mobs ===

Players can dye wool by placing [[wool]] and any dye in a crafting grid.

{{Crafting
|nocat=1
|Any Wool
|Matching Dye
|Output=Any Wool
}}

Dyes can be {{control|use|text=used}} on sheep to change the color of the wool. Shearing a colored sheep drops the corresponding color of the wool, and the sheep retains the color when the wool regenerates. [[Breeding]] colored sheep produces a lamb colored as one of the parent sheep, or a color resulting from the combination of both parents' color. The color combining follows the same rules that dyes use – red and yellow sheep produce an orange lamb, but a blue and yellow sheep cannot create a green lamb. The unlimited reproduction of colored sheep makes dyeing and shearing sheep infinitely more efficient than just dyeing wool directly.
 
Dye can also be used on a tamed [[wolf]] or [[cat]] to change the color of its collar from the default red to the color of the dye.

=== Dyeing carpets ===

Carpets can be dyed.

{{Crafting
 |Any Carpet
 |Matching Dye
 |Output= Matching Carpet
 |type= Building block
}}

=== Dyeing terracotta ===

[[Terracotta]] can be dyed by placing 8 blocks around a dye on a crafting table.

{{Crafting
|nocat=1
|A1=Terracotta |B1=Terracotta |C1=Terracotta
|A2=Terracotta |B2=Matching Dye  |C2=Terracotta
|A3=Terracotta |B3=Terracotta |C3=Terracotta
|Output=Matching Dyed Terracotta,8
}}

=== Creating concrete powder ===

Dyes can also be used to craft [[concrete powder]], which can then be set into their respective [[concrete]] blocks (they cannot be dyed directly).

{{Crafting
|nocat=1
|Sand |Gravel |Sand
|Gravel |Matching Dye |Gravel
|Sand |Gravel |Sand
|Output=Matching Concrete Powder,8
}}

=== Staining glass ===

[[Stained glass]] can be stained by placing 8 blocks of glass around a dye on a [[crafting table]]. Just like regular glass, stained glass can be crafted into stained glass panes. The recipe for this is the same as with regular glass.

{{Crafting
|nocat=1
|A1=Glass |B1=Glass        |C1=Glass
|A2=Glass |B2=Matching Dye |C2=Glass
|A3=Glass |B3=Glass        |C3=Glass
|Output=Matching Stained Glass,8
|head=1
}}
{{Crafting
|nocat=1
|A1= Glass Pane
|B1= Glass Pane
|C1= Glass Pane
|A2= Glass Pane
|B2= Matching Dye
|C2= Glass Pane
|A3= Glass Pane
|B3= Glass Pane
|C3= Glass Pane
|Output= Matching Stained Glass Pane,8
|type= Decoration block
|foot=1
}}

=== Dyeing shulker boxes ===

[[Shulker box]]es are generated in a light shade of purple (like the [[purpur block]]), but can be dyed any color. They can also be re-dyed as often as desired.

{{Crafting
  |ignoreusage=1
  |showname=1
  |Any Shulker Box
  |Matching Dye
  |Output=Matching Shulker Box
}}

=== Dyeing beds ===

Players can dye beds by placing a [[bed]] and any color dye in a crafting grid.

{{Crafting
|nocat=1
|Any Bed
|Matching Dye
|Output=Matching Bed
}}

=== Dyeing candles ===

Players can dye [[candles]] by placing an undyed candle and any color dye in a crafting grid.

{{Crafting
|ignoreusage=1
|Candle
|Matching Dye
|Output=Matching Dyed Candle
}}

=== Banner patterns ===
{{main|Banner#Patterns}}

Dyes are used in most banner patterns to determine the pattern and color displayed.

=== Dyeing armor ===

[[File:DyeGraph2.png|200px|thumb|A graph showing all combinations of two dyes on a [[tunic]].]]

Leather [[armor]] can be dyed by:
* Crafting dyes with a piece of leather armor or leather [[horse armor]].{{Only|java}}
* Dousing the leather armor or leather [[horse armor]] in a [[cauldron]] to which dyes have been added.{{Only|bedrock}}

There are 5,713,438<ref>https://anrar4.github.io/DyeLeatherArmor/</ref> (34.1% of sRGB) colors leather armor can be, as it is possible to put more than one dye on the crafting bench alongside the leather armor. Armor can be dyed multiple times with previous colors affecting the final outcome. Colored armor can be reverted to their original color using a [[cauldron]] with undyed water.

The game has a specific formula for calculating the color of dyed armor: each color, in the RGB color model, has a red value, green value, and blue value. For each dye in the crafting grid, and the armor itself (if it is already dyed), the red, green, and blue values are added to running totals. In addition, a running total of the highest value (be it red, green, or blue) is also kept. After this, each total is divided by the number of colors used. This effectively produces the average red, green, blue, and maximum values. The maximum value of the average RGB values is also calculated. Finally, each average RGB value is multiplied by the average maximum value and divided by the maximum of the average RGB values. The modified average RGB values are then used as the final color. This procedure can be summed up with the following equations:
 for each color (all "total" variables start at 0 before counting):
  totalRed = totalRed + redValue
  totalGreen = totalGreen + greenValue
  totalBlue = totalBlue + blueValue
  totalMaximum = totalMaximum + max(redValue, greenValue, blueValue)
  numberOfColors = numberOfColors + 1
 
 averageRed = totalRed / numberOfColors
 averageGreen = totalGreen / numberOfColors
 averageBlue = totalBlue / numberOfColors
 averageMaximum = totalMaximum / numberOfColors
 
 maximumOfAverage = max(averageRed, averageGreen, averageBlue)
 gainFactor = averageMaximum / maximumOfAverage
 
 resultRed = averageRed * gainFactor
 resultGreen = averageGreen * gainFactor
 resultBlue = averageBlue * gainFactor

Due to the way this formula works, the resulting color can never be darker than the average of the input colors and is often lighter and more saturated. Of course, the resulting color can never be lighter or more saturated than the lightest or most saturated input color. In addition, this formula never creates an RGB value higher than 255 (which would be invalid in the 8-bit RGB color model).

If leather armor is renamed on an [[anvil]], it retains its name when dyed or undyed.

;Mixing Samples
: {{ItemSprite|Yellow Dye}} + {{ItemSprite|Yellow Dye}} = {{Tint|leather-chestplate| #{{CalcDye| yellow=2 }} | code=1}}
: {{ItemSprite|Red Dye}} + {{ItemSprite|Blue Dye}} + {{ItemSprite|White Dye}} = {{Tint|leather-chestplate| #{{CalcDye| red=1 | blue=1 | white=1}} | code=1}}
: {{ItemSprite|Green Dye}} + {{ItemSprite|Red Dye}} + {{ItemSprite|Pink Dye}} = {{Tint|leather-chestplate| #{{CalcDye| green=1 | red=1 | pink=1}} | code=1}}

=== Dyeing firework stars ===

A [[firework star]] can have a single color or a combination of up to eight colors when crafted with dyes. Adding one or more dyes to a crafted firework star adds a "fade to color" effect to it, overwriting any existing fade colors.

{{Crafting
  |head=1
  |ignoreusage=1
  |ingredients=[[Gunpowder]] +<br>Any Dye (1–8) +<br>Extra ingredient (optional)
  |Gunpowder
  |Matching Dye
  |Diamond;Glowstone Dust;Head;Gold Nugget;Feather;Fire Charge;
  |Output=Matching Firework Star
}}
{{Crafting
  |ignoreusage=1
  |Matching Firework Star
  |Any Dye
  |Output=Matching Firework Star
  |foot=1
}}

=== Creating balloons ===

Dye can be used to craft balloons.{{only|education}}

{{Crafting
|nocat=1
|A1= Latex
|B1= Matching Dye
|C1= Latex
|A2= Latex
|B2= Helium
|C2= Latex
|A3= Latex
|B3= Lead
|C3= Latex
|Output= Matching Balloon
}}

=== Creating glow sticks ===

Dye can also be used to craft glow sticks.{{only|education}}

{{Crafting
|nocat=1
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= Matching Dye
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= Matching Glow Stick
}}

=== Dyeing water inside cauldrons ===
Water can be dyed in a cauldron by holding any dye in the hand and pressing {{Ctrl|use}} on a cauldron filled with water.{{only|bedrock}}

=== Signs ===
Dye can be {{control|used}} on a [[sign]] or a [[hanging sign]] to change the text color. {{IN|bedrock}}, [[ink sac]]s cannot be used for this purpose; black dye must be used to change the text to black.

=== Trading ===
Apprentice, journeyman and expert-level shepherd [[villager]]s buy any of the 12 dyes for an [[emerald]].

== Color values ==
The "color codes" are used to determine the color imparted on sheep, wolf and cat collars, firework stars, [[beacon]] beams, and dyed leather armor. The hex value is shown in the extended tooltips of dyed leather armor; however, to set the color using an NBT data tag in a [[command]], the decimal value must be used instead. The color values for firework stars are slightly different from the ones listed below, and use [[Item colors#Firework stars|these values]] instead.

{| class="wikitable" style="margin:2px; border: 1px solid silver; text-align: left;" data-description="Data values"
! rowspan=2 | Description
! colspan=2 style="text-align:center" | Color Code
|-
! Dec
! <abbr title="Hexadecimal color code">Hex</abbr>
|-
| style="text-align:center" | White || 16383998 || {{color|#F9FFFE}}
|-
| style="text-align:center" | Light gray || 10329495 || {{color|#9D9D97}}
|-
| style="text-align:center" | Gray || 4673362 || {{color|#474F52}}
|-
| style="text-align:center" | Black || 1908001|| {{color|#1D1D21}}
|-
| style="text-align:center" | Brown || 8606770 || {{color|#835432}}
|-
| style="text-align:center" | Red || 11546150 || {{color|#B02E26}}
|-
| style="text-align:center" | Orange || 16351261 || {{color|#F9801D}}
|-
| style="text-align:center" | Yellow || 16701501 || {{color|#FED83D}}
|-
| style="text-align:center" | Lime || 8439583 || {{color|#80C71F}}
|-
| style="text-align:center" | Green || 6192150 || {{color|#5E7C16}}
|-
| style="text-align:center" | Cyan || 1481884|| {{color|#169C9C}}
|-
| style="text-align:center" | Light blue || 3847130 || {{color|#3AB3DA}}
|-
| style="text-align:center" | Blue || 3949738 || {{color|#3C44AA}}
|-
| style="text-align:center" | Purple || 8991416 || {{color|#8932B8}}
|-
| style="text-align:center" | Magenta || 13061821 || {{color|#C74EBD}}
|-
| style="text-align:center" | Pink || 15961002 || {{color|#F38BAA}}
|}

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Dye.ogg
|subtitle=Dye stains
|source=block
|description=When dye is used on a [[sign]]
|id=item.dye.use
|translationkey=subtitles.item.dye.use
|volume=1.0
|pitch=1.0/0.9/0.95/1.1
|distance=16}}
{{Sound table
|subtitle=Dye stains
|source=player
|description=When dye is used on a [[sheep]]
|id=item.dye.use
|translationkey=subtitles.item.dye.use
|volume=1.0
|pitch=1.0/0.9/0.95/1.1
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Dye.ogg
|source=sound
|description=When dye is used on a sign
|id=sign.dye.use
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=3
|sound=Water Splash Old.ogg
|source=block
|description=When dye is added to a cauldron
|id=cauldron.adddye
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When armor is dyed using a cauldron
|id=cauldron.dyearmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When dye is removed from armor using a cauldron
|id=cauldron.cleanarmor
|volume=0.1
|pitch=1.0
|foot=1}}

== Achievements ==
{{load achievements|Rainbow Collection;Tie dye outfit}}

== Video ==

{{Video note|These videos are outdated, as it does not include details of the [[Java Edition 1.7.2|1.7.2]] update's changes to the dyeing system/production chain.}}

<div style="text-align:center">
<span style="display:inline-block">{{yt|8YD7oauNZHE}}</span>
<span style="display:inline-block">{{yt|7tETaRt7STM}}</span>
</div>

== History ==
{{History|java beta}}
{{History||January 3, 2011|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/2582321901/2011-here-we-go|Notch mentions adding a "paint" feature if he can figure out how.}}
{{History||January 10, 2011<ref group="n">Supposed time when fragment was filmed. Based on modified date of client.jar/gui/trap.png in [[Beta 1.2]].</ref>|link=https://www.youtube.com/watch?v=cBF2ugTzXqQ&t=181s|[[File:Red Dye (pre-release).png|32px]] Shown rose red in development as part of [[Minecraft: The Story of Mojang]].}}
{{History||1.2|[[File:Ink Sac JE1 BE1.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cocoa Beans JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Bone Meal JE1 BE1.png|32px]] Added dyes.
|[[File:Black Dye (Recreated).png|32px]] [[File:Red Dye (pre-release).png|32px]] [[File:Green Dye (Recreated).png|32px]] [[File:Brown Dye (Recreated).png|32px]] [[File:Blue Dye (Recreated).png|32px]] [[File:Purple Dye (Recreated).png|32px]] [[File:Cyan Dye (Recreated).png|32px]] [[File:Light Gray Dye (Recreated).png|32px]] [[File:Gray Dye (Recreated).png|32px]] [[File:Pink Dye (Recreated).png|32px]] [[File:Lime Dye (Recreated).png|32px]] [[File:Yellow Dye (Recreated).png|32px]] [[File:Light Blue Dye (Recreated).png|32px]] [[File:Magenta Dye (Recreated).png|32px]] [[File:Orange Dye (Recreated).png|32px]] [[File:White Dye (Recreated).png|32px]] Leftovers of old textures can be seen in [[items.png]] with 100% opacity. The white dye texture was reused for [[Sugar]].
| The colors were as follows:{{verify|Did the color codes remain the same between Beta 1.2 and Java 1.11.2?}}
{{:Color/Java Edition dye colors before 17w06a}}
}}
{{History|java}}
{{History||1.1|snap=11w49a|[[Sheep]] can now regrow their [[wool]] by eating [[grass block|grass]]. Dyed sheep regrow wool in their new color.}}
{{History||1.3.1|snap=12w19a|[[File:Cocoa Beans JE2.png|32px]] The texture of [[cocoa beans]] has been changed.}}
{{History|||snap=1.3|[[File:bone meal changes.gif|32px]] The textures of [[bone meal]], [[cactus green]], cocoa beans and [[rose red]] have been changed. The textures have been lowered one pixel.}}
{{History||1.4.2|snap=12w34a|Added the ability to dye leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.4|snap=1.4.3|Color codes have been changed. The colors of red, brown, blue, purple, cyan, pink, light blue, magenta and orange were adjusted a little vividly.}}
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted using dyes.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary dyes.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted using dyes.}}
{{History||1.8|snap=14w02a|As cleric [[villager]]s now sell lapis lazuli, all dyes have become fully renewable.}}
{{History|||snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.9|snap=15w34a|Added [[shield]]s, which can be dyed indirectly by applying a matching [[banner]].}}
{{History||1.11|snap=16w39b|Dyes are now used to change the color of [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Dyes are now used to craft [[concrete powder]].
|Color codes have been changed. All colors are adjusted more vividly. The changes were as follows:
{{:Color/Java Edition dye color changes in 17w06a}}
|Light blue dye, stained glass, and stained glass panes, did not change colors in this update. This means that they still use old colors.<ref name="unchanged dyes">{{Bug|MC-214643}}<br>{{Bug|MC-214641}}</ref>
}}
{{History|||snap=17w15a|Dyes can now apply color to white [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have been split up into their own IDs.}}
{{History||1.14|snap=18w43a|[[Bone meal]], [[ink sac]]s, [[cocoa beans]] and [[lapis lazuli]] are no longer considered dyes.
|[[File:White Dye JE1 BE1.png|32px]] [[File:Black Dye JE1 BE1.png|32px]] [[File:Brown Dye JE1 BE1.png|32px]] [[File:Blue Dye JE1 BE1.png|32px]] Added [[white dye|white]], [[black dye|black]], [[brown dye|brown]] and [[blue dye]]s.
|"Rose Red", "Dandelion Yellow" and "Cactus Green" have been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively. 
|[[Glass pane]]s and [[carpet]]s can now be dyed.
|[[File:Light Gray Dye JE2 BE2.png|32px]] [[File:Gray Dye JE2 BE2.png|32px]] [[File:Red Dye JE2 BE2.png|32px]] [[File:Orange Dye JE2 BE2.png|32px]] [[File:Yellow Dye JE2 BE2.png|32px]] [[File:Lime Dye JE2 BE2.png|32px]] [[File:Green Dye JE2 BE2.png|32px]] [[File:Cyan Dye.png|32px]] [[File:Light Blue Dye JE2 BE2.png|32px]] [[File:Purple Dye JE2 BE2.png|32px]] [[File:Magenta Dye JE2 BE2.png|32px]] [[File:Pink Dye JE2 BE2.png|32px]] The textures of light gray, gray, red, orange, yellow, lime, green, cyan, light blue, purple, magenta, and pink dyes, have been changed. The color texture for light blue dye was not changed to reflect the updated colors from 1.12.<ref name="unchanged dyes"></ref>}}
{{History|||snap=18w44a|The color of the text on [[sign]]s can now be changed with dye.}}
{{History|||snap=18w49a|Yellow dyes can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=18w50a|Green dyes can now be found in [[chest]]s in [[desert]] [[village]] houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which can sell any type of dye.}}
{{History|||snap=19w11a|All 16 types of dyes can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.16.2|snap=Pre-release 2|Reversed the order of dyes to match other colored items in the [[Creative inventory]].<ref name="reverse dye">{{Bug|MC-136553}}</ref>
|Regrouped dyes in the Creative inventory such that white, blue, brown, and black dyes are within and not [[cocoa beans]], [[ink sacs]], [[lapis lazuli]], and [[bone meal]].<ref name="regroup dye">{{Bug|MC-177684}}</ref>}}
{{History||1.17|snap=20w45a|Added [[candle]]s, which can be dyed.}}
{{History|||snap=21w03a|Added a sound for applying dyes.}}
{{History|||snap=21w19a|Candles can no longer be dyed.}}
{{History|||snap=Pre-release 1|Candles can now once again be dyed.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|The color of the text on [[hanging sign]]s can now be changed with dye.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[Torchflower]]s can now be crafted into orange dye.|[[Pink petals]] can now be crafted into pink dye.}}
{{History||1.20|snap=23w12a|[[Pitcher plant]]s can now be crafted into cyan dye.|Blue, light blue, orange, white, and yellow dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w14a|Pitcher plants can now craft two [[cyan dye]] instead of one.}}
{{History|||snap=23w16a|Blue, light blue, orange, white, and yellow dye no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; blue, light blue, orange, white, and yellow dye now are in the common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Bone Meal JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Cocoa Beans JE1 BE1.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] Added dyes. Only [[dandelion yellow]] and [[lapis lazuli]] are currently obtainable and have functionality.}}
{{History||v0.3.2|[[Cactus green]] is now obtainable by smelting [[cacti]].}}
{{History||v0.3.3|[[Bone meal]] is now obtainable via [[crafting]].}}
{{History||v0.4.0|[[Cyan dye]], [[light blue dye]], [[lime dye]], [[magenta dye]], [[orange dye]], [[pink dye]], and [[purple dye]] are now obtainable via crafting.
|[[Rose red]] is now obtainable by smelting red [[mushroom]]s.
|All available dyes, excluding bone meal, can now be used to craft their respective [[wool]] color.}}
{{History||v0.8.0|snap=build 1|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History|||snap=build 3|[[Ink sac]]s, [[cocoa bean]]s, [[gray dye]], and [[light gray dye]] are now available in the [[creative]] [[inventory]].
|Rose red can now be obtained from [[beetroot]]s.}}
{{History||v0.9.0|snap=build 1|Cocoa beans can now be obtained from [[cocoa pod]]s.
|The [[rose]] has been removed and replaced with a new poppy [[flower]] that can be crafted into rose red.}}
{{History|||snap=build 3|All new [[flower]]s can now be [[crafting|crafted]] into dyes. Because of this, many secondary and tertiary dyes are now primary dyes.
|[[Gray dye]] and [[light gray dye]] can now be obtained in [[survival]].}}
{{History|||snap=build 11|[[Terracotta|Stained clay]] can now be crafted using dyes.}}
{{History||v0.11.0|snap=build 1|[[Ink sac]]s can now be obtained from [[squid]].
|Added the ability to dye [[wolf]] collars.}}
{{History||v0.12.1|snap=build 1|Red [[mushroom]]s can no longer be smelted to obtain [[rose red]].}}
{{History||v0.14.0|snap=build 1|[[Cauldron]]s now used for leather dyeing, by applying a dye to a [[water]]-filled cauldron.}}
{{History||v0.16.0|snap=build 1|[[Cocoa bean]]s can no longer be crafted.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added a ''Dye'' button for [[sheep]].
|Added [[shulker]]s, which can be dyed.
|Added [[stained glass]]. Stain glass cannot be [[crafting|crafted]], but purple glass generates in [[end city|end cities]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Dyes can now apply color to a white [[bed]]s.
|Dyes are now used to craft [[concrete powder]].
|The color palette has been changed.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Dyes can now be used for [[banner]] crafting.
|Dyes can now be used to craft [[firework star]]s.
|[[Stained glass]] is now [[crafting|craftable]], using dyes.}}
{{History||1.4.0|snap=beta 1.2.20.1|[[Lime dye]] can now be obtained from smelting [[sea pickle]]s.
|Dyes can now used to craft [[glow stick]]s and [[balloon]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Dyes can now be used to dye [[cat]] collars.}}
{{History|||snap=beta 1.8.0.10|[[File:White Dye JE1 BE1.png|32px]] [[File:Black Dye JE1 BE1.png|32px]] [[File:Brown Dye JE1 BE1.png|32px]] [[File:Blue Dye JE1 BE1.png|32px]] Added [[white dye|white]], [[brown dye|brown]], [[black dye|black]] and [[blue dye]]s, which can be crafted from [[lapis lazuli]], [[bone meal]], [[cocoa beans]] and [[ink sac]]s. This, however, the later four still use as dyes.<ref>{{Bug|MCPE-42473}}</ref>
|"Rose Red", "Dandelion Yellow" and "Cactus Green" have been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively.}}
{{History||1.9.0|snap=beta 1.9.0.0|Blue and white dye can now be obtained from [[cornflower]]s and [[lily of the valley]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[Glass pane]]s and [[carpet]]s can now be dyed.
|Only a single dye is now required to apply a banner pattern in a [[loom]].
|Various dyes except black dye, white dye, brown dye and blue dye are now [[trading|sold]] by [[wandering trader]]s.
|[[File:Bone Meal JE2 BE2.png|32px]] [[File:Light Gray Dye JE2 BE2.png|32px]] [[File:Gray Dye JE2 BE2.png|32px]] [[File:Ink Sac JE2 BE2.png|32px]] [[File:Cocoa Beans JE4 BE3.png|32px]] [[File:Red Dye JE3 BE3.png|32px]] [[File:Orange Dye JE2 BE2.png|32px]] [[File:Yellow Dye JE2 BE2.png|32px]] [[File:Lime Dye JE2 BE2.png|32px]] [[File:Green Dye JE2 BE2.png|32px]] [[File:Cyan Dye.png|32px]] [[File:Light Blue Dye JE2 BE2.png|32px]] [[File:Lapis Lazuli JE2 BE2.png|32px]] [[File:Purple Dye JE2 BE2.png|32px]] [[File:Magenta Dye JE2 BE2.png|32px]] [[File:Pink Dye JE2 BE2.png|32px]] The textures of bone meal, light gray, gray, ink sac, cocoa beans, red, orange, yellow, lime, green, cyan, light blue, lapis lazuli, purple, magenta, and pink dyes have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.210|snap=beta 1.16.210.59|The color of the text on [[sign]]s can now be changed with dye.}}
{{History|||snap=beta 1.16.210.60|The ability to dye the color of the text on [[sign]]s was temporarily removed.}}
{{History||1.16.220|snap=beta 1.16.220.50|The color of the text on [[sign]]s can now be changed with dye again.}}
{{History||1.17.10|snap=beta 1.17.10.22|Added [[candles]], which can be dyed.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Bone Meal JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Cocoa Beans JE1 BE1.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] Added dyes.}}
{{History||xbox=TU9|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||xbox=none|xbone=none|ps=1.83|wiiu=none|switch=none|[[File:White Dye JE1 BE1.png|32px]] [[File:Black Dye JE1 BE1.png|32px]] [[File:Brown Dye JE1 BE1.png|32px]] [[File:Blue Dye JE1 BE1.png|32px]] Added [[white dye|white]], [[black dye|black]], [[brown dye|brown]], and [[blue dye|blue]] dyes, which can crafted from [[bone meal]], [[ink sac]], [[cocoa beans]], and [[lapis lazuli]].
|"Rose Red", "Dandelion Yellow" and "Cactus Green" have been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively.}}
{{History||ps=1.90|[[File:Bone Meal JE2 BE2.png|32px]] [[File:Light Gray Dye JE2 BE2.png|32px]] [[File:Gray Dye JE2 BE2.png|32px]] [[File:Ink Sac JE2 BE2.png|32px]] [[File:Cocoa Beans JE4 BE3.png|32px]] [[File:Red Dye JE2 BE2.png|32px]] [[File:Orange Dye JE2 BE2.png|32px]] [[File:Yellow Dye JE2 BE2.png|32px]] [[File:Lime Dye JE2 BE2.png|32px]] [[File:Green Dye JE2 BE2.png|32px]] [[File:Cyan Dye.png|32px]] [[File:Light Blue Dye JE2 BE2.png|32px]] [[File:Lapis Lazuli JE2 BE2.png|32px]] [[File:Purple Dye JE2 BE2.png|32px]] [[File:Magenta Dye JE2 BE2.png|32px]] [[File:Pink Dye JE2 BE2.png|32px]] The textures of bone meal, light gray, gray, ink sac, cocoa beans, red, orange, yellow, lime, green, cyan, light blue, lapis lazuli, purple, magenta, and pink dyes have been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Bone Meal JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Cocoa Beans JE3 BE2.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] Added dyes from [[Pocket Edition v0.15.4 alpha]].}}
{{History|foot}}
<gallery>
Pre-release dyes.png|Pre-release dye textures hidden within [[Items.png]].
</gallery>
;Notes
{{reflist|group=n}}

== Gallery ==
<gallery>
White Dye.png|White Dye
Light Gray Dye.png|Light Gray Dye
Gray Dye.png|Gray Dye
Black Dye.png|Black Dye
Brown Dye.png|Brown Dye
Red Dye.png|Red Dye
Orange Dye.png|Orange Dye
Yellow Dye.png|Yellow Dye
Lime Dye.png|Lime Dye
Green Dye.png|Green Dye
Cyan Dye.png|Cyan Dye
Light Blue Dye.png|Light Blue Dye
Blue Dye.png|Blue Dye
Purple Dye.png|Purple Dye
Magenta Dye.png|Magenta Dye
Pink Dye.png|Pink Dye
</gallery>

==Issues==
{{issue list}}

== Trivia ==
* Players can obtain each one of every color with 1 cocoa bean, 2 yellow dye, 2 ink sac, 3 green dye, 4 lapis lazuli, 4 red dye, and 6 bone meal (2 bones).
* The dyed sheep breeding behavior mirrors [[wikipedia:Lamarckism|Lamarck's theory]], in which the organisms evolve inheriting the external changes and adaptations of the previous generation, transmitting them to their offspring.
* In ''Bedrock Edition'', tertiary colors, along with their regular crafting recipes, can be crafted with primary colors. E.g.: Magenta can be crafted with one rose red and two bone meals.
* The colors of the dyes match the chat colors in [[color codes]] except for brown (dye only), light aqua, and gold (color codes only).
* The texture for light blue dye still uses the color from prior to the 1.12 World of Color update.<ref name="unchanged dyes"></ref>

== References ==
{{reflist}}

== External Links ==
* Tools for calculating leather dye combination: [https://minecraft.tools/en/armor.php minecraft.tools] (webapp); [https://github.com/pudquick/pyMCdyes/ pyMCDyes] (open-source Python script, outdated); [https://anrar4.github.io/DyeLeatherArmor/ DyeLeatherArmor]: a tool for calculating an exact crafting recipe for any sRGB color

{{Items}}

[[Category:Dyes]]
[[Category:Renewable resources]]

[[cs:Barvivo]]
[[de:Farbstoff]]
[[es:Tinte]]
[[fr:Teinture]]
[[hu:Színezés]]
[[it:Colorante]]
[[ja:染料]]
[[ko:염료]]
[[nl:Kleurstof]]
[[pl:Barwniki]]
[[pt:Corante]]
[[ru:Красители]]
[[th:สีย้อม]]
[[uk:Барвники]]
[[zh:染料]]</li></ul>
Added Seeds
0.9.0
{{Extension DPL}}<ul><li>[[Glow Ink Sac|Glow Ink Sac]]<br/>{{For|the regular sac dropped by squids|Ink Sac}}
{{Item
|Image=Glow Ink Sac.png
| renewable = Yes
| stackable = Yes (64)
|}}

A '''glow ink sac''' is an item dropped by a [[glow squid]] upon death. Unlike regular ink sacs, it can be added to [[sign]]s to make glowing text, and can be used to craft glow item frames.

== Obtaining ==
=== Mob loot ===
[[Glow squid]]s drop 1–3 glow ink sacs upon death. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1–6 with Looting III.

=== Compound creation ===
A glow ink sac can be created from its base [[element]]s, using the [[compound creator]].{{only|bedrock|education}}

{| class="wikitable"
!Name
!Elements
!Example recipe
|- <!-- Temporarily using crafting grid as substitute for compound creator (template not yet available), since the layout is the same, even if the appearance is different -->
!Glow Ink Sac
|1 Iron<br>1 Sulfur<br>4 Oxygen
|{{Crafting Table
|shapeless= 1
|A2=Iron |B2=Sulfur |C2=Oxygen,4
|Output=Glow Ink Sac}}
|}

== Usage ==	
=== Crafting ingredient ===
{{Crafting usage}}

=== Signs ===
[[File:Glow Ink Sign with Orange Dye JE2.png|thumb|150px|An oak sign with a glow ink sac used on it.]]
Glow ink sacs can be used on [[sign]]s or [[hanging sign]]s to make their text brighter in low light levels. This also adds an outline around the text on the sign, the color of which is based on the color of the sign's text. The text does not emit any light, it is only more visible in darkness, similarly to the eyes of spiders and endermen. Normal [[ink sacs]] can be applied to revert glowing text back to default.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|subtitle=Glow Ink Sac splotches
|source=block
|description=When a glow ink sac is used on a [[sign]]
|id=item.glow_ink_sac.use
|translationkey=subtitles.item.glow_ink_sac.use
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.95, or 1.05</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|source=sound
|description=When a glow ink sac is used on a sign
|id=sign.ink_sac.use
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Glow Ink Sac
|spritetype=item
|nameid=glow_ink_sac
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glow Ink Sac
|spritetype=item
|nameid=glow_ink_sac
|form=item
|id=503
|foot=1}}

== Advancements ==
{{load advancements|Glow and Behold}}

== History ==
{{History|java}}
{{History||1.17|snap=21w03a|[[File:Glow Ink Sac JE1 BE1.png|32px]] Added glow ink sacs.}}
{{History||1.17.1|snap=Pre-release 1|[[Zombie]]s, [[husk]]s, [[zombie villager]]s, and [[drowned]] no longer pick up [[glow ink sac]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Glow ink sacs can now be used to make the text glow on a [[hanging sign]].}}

{{History|bedrock}}
{{History||Caves & Cliffs (experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.59|[[File:Glow Ink Sac JE1 BE1.png|32px]] Added glow ink sacs.}}
{{History|||snap=beta 1.16.210.60|Glow ink sacs have been removed temporarily.}}
{{History|||snap=beta 1.16.220.50|[[File:Glow Ink Sac JE1 BE1.png|32px]] Re-added glow ink sacs.}}
{{History||1.17.0|snap=beta 1.17.0.52|Glow ink sacs are now available without enabling [[experimental gameplay]].}}
{{History||1.17.30|snap=beta 1.17.30.20|[[Zombie]]s, [[husk]]s, [[zombie villager]]s, and [[drowned]] no longer pick up [[glow ink sac]]s.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--glow-ink-sac Taking Inventory: Glow Ink Sac] – Minecraft.net on October 14, 2021

{{Items}}

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]

[[de:Leuchttintenbeutel]]
[[es:Saco de tinta luminosa]]
[[it:Sacca d'inchiostro luminescente]]
[[ja:輝くイカスミ]]
[[pl:Torbiel ze świecącym atramentem]]
[[pt:Bolsa de tinta brilhante]]
[[ru:Светящийся чернильный мешок]]
[[uk:Сяйний чорнильний мішок]]
[[zh:荧光墨囊]]</li><li>[[Shovel|Shovel]]<br/>{{Item
| image = <gallery>
Wooden Shovel.png | Wooden
Stone Shovel.png | Stone
Iron Shovel.png | Iron
Golden Shovel.png | Golden
Diamond Shovel.png | Diamond
Netherite Shovel.png | Netherite
</gallery>
| rarity = Common
| renewable = '''Netherite''': No<br>'''All others''': Yes
| durability = 
* Wood: 59
* Stone: 131
* Iron: 250
* Golden: 32
* Diamond: 1561
* Netherite: 2031
| stackable = No
}}

'''Shovels''' are [[tool]]s used to hasten the process of breaking [[dirt]], [[sand]], [[gravel]] and other soil blocks, as well as to convert [[Dirt (disambiguation)|dirt]] blocks into [[Dirt Path|dirt paths]].

== Obtaining ==

=== Crafting ===
{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |name=[[Shovel]]s
  |B1= {Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B2= Stick
  |B3= Stick
|Output= Wooden Shovel; Iron Shovel; Golden Shovel; Diamond Shovel
|type= Tool
}}
{{Crafting
  |name=[[Stone Shovel]]
  |B1=Any stone-tier block
  |B2=Stick
  |B3=Stick
  |Output=Stone Shovel
  |description=Can use any variant of cobblestone
  |type=Tool
}}
{{Crafting
  |foot=1
  |ignoreusage=1
  |name=[[Shovel]]
  |ingredients=Damaged Matching [[Shovel]]
  |Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
  |Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
  |Output=Wooden Shovel; Stone Shovel; Iron Shovel; Golden Shovel; Diamond Shovel; Netherite Shovel
  |description= The durability of the two shovels is added together, plus an extra 5% durability.
  |type= Tool
}}

=== Upgrading ===
Like other diamond tools, a diamond shovel can be upgraded to a netherite shovel, although increased durability and resistance to fire/lava in item form are the only benefits. The shovel's performance as a digging tool or a weapon is unchanged by the upgrade.

{{Smithing
|Netherite Upgrade
|Diamond Shovel
|Netherite Ingot
|Netherite Shovel
|description=
|tail=1
}}

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Wooden Shovel]] or<br>2x Damaged [[Stone Shovel]] or<br>2x Damaged [[Iron Shovel]] or<br>2x Damaged [[Golden Shovel]] or<br>2x Damaged [[Diamond Shovel]] or<br>2x Damaged [[Netherite Shovel]]
|Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
|Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
|Wooden Shovel; Stone Shovel; Iron Shovel; Golden Shovel; Diamond Shovel; Netherite Shovel
|description=The durability of the two shovels is added together, plus an extra 5% durability.
}}

==== [[Anvil mechanics#Unit repair|Unit repair]] ====
{{/Repairing with Anvils}} 
A shovel can be repaired in an [[anvil]] by adding units of the [[tiers]]' repair material, with each repair material restoring 25% the shovel's maximum durability, rounded down. It also keeps the shovel's [[Enchanting|enchantments]].

=== Chest loot ===
On <code>ancient_city/city_center/city_center_2</code>, they generate a furnace with a wooden shovel inside of it.
{{LootChestItem|iron-shovel,level-enchanted-iron-shovel,random-enchanted-golden-shovel,diamond-shovel,level-enchanted-diamond-shovel,damaged-random-enchanted-diamond-shovel,damaged-random-enchanted-diamond-shovel-2}}

=== Mob loot ===

==== Equipment ====
{{Main|Drops#Equipped items}}

[[Zombie]]s and [[husk]]s have a 0.67% (3.33% in Hard [[difficulty]]) chance of spawning with an iron shovel. They have an 8.5% (9.5% with [[Looting]] I, 10.5% with Looting II and 11.5% with Looting III) chance of dropping that shovel if they are killed by the player. The dropped shovel is usually badly damaged, and may be enchanted: 0%–25% on Normal difficulty and 3.125%–25% on Hard difficulty, varying with [[regional difficulty]], and enchanted as if on an enchanting table at level 5–22.

==== Raids ====

Vindicators and pillagers that spawn from raids have a 4.1% chance(5.12% on hard) to drop a badly-damaged iron shovel that is sometimes enchanted with a random enchantment.{{only|bedrock}}

=== Trading ===

Novice-level toolsmith villagers have a 25% chance to sell stone shovels for one emerald, journeyman-level toolsmith villagers have a 25% chance to sell enchanted iron shovels for 2 emeralds, and expert-level toolsmith villagers have a 50% chance to sell enchanted diamond shovels for 5 emeralds as part of their trades.{{only|bedrock}}

Novice-level toolsmith villagers have a 40% chance to sell stone shovels for one emerald, journeyman-level tool smiths have a 40% chance to sell an enchanted iron shovel for 7-22 emeralds, and expert-level tool smiths have a {{frac|2|3}} chance to sell an enchanted diamond shovel for 11-27 emeralds.{{only|java}}

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

=== Villager gifts ===

{{in|java}}, toolsmith [[villager]]s occasionally throw stone shovels at players with the [[Hero of the Village]] effect.

== Usage ==

=== Digging ===

A shovel can be used to break some materials faster. When breaking a block, it uses 1 durability. For blocks that break instantly, it uses 0 durability.

==== Durability ====

Each different tier of shovel has a different durability:

{| class="wikitable sortable"
! Material
! [[Durability]]
|-
| {{itemLink|Wooden Shovel|Wood|link=Shovel}}
| 59
|-
| {{itemLink|Stone Shovel|Stone|link=Shovel}}
| 131
|-
| {{itemLink|Iron Shovel|Iron|link=Shovel}}
| 250
|-
| {{itemLink|Diamond Shovel|Diamond|link=Shovel}}
| 1561
|-
| {{itemLink|Golden Shovel|Golden|link=Shovel}}
| 32
|-
| {{itemLink|Netherite Shovel|Netherite|link=Shovel}}
| 2031
|}

==== Speed ====

The following table summarizes the speed at which different quality shovels perform on different block types. Values with a red background indicate that no resource is dropped when the block is destroyed without a shovel. 
{{breaking row|Clay|simple=1}}
{{breaking row|Coarse Dirt}}
{{Breaking row|Concrete Powder}}
{{breaking row|Dirt}}
{{breaking row|Dirt Path}}
{{breaking row|Farmland}}
{{breaking row|Grass Block}}
{{breaking row|Gravel}}
{{breaking row|Mud}}
{{breaking row|Muddy Mangrove Roots}}
{{breaking row|Mycelium}}
{{breaking row|Podzol}}
{{breaking row|Red Sand}}
{{breaking row|Rooted Dirt}}
{{breaking row|Sand}}
{{breaking row|Snow|Wooden}}
{{breaking row|Snow Block|Wooden}}
{{breaking row|Soul Sand}}
{{breaking row|Soul Soil}}
{{breaking row|Suspicious Gravel}}
{{breaking row|Suspicious Sand|foot=1}}

=== Dirt paths ===

A shovel can be used to create a [[dirt path]] by {{control|using}} (not digging) the shovel on any one of the following blocks, losing one durability point:
* {{BlockLink|Grass Block}}
* {{BlockLink|Dirt}}
* {{BlockLink|Coarse Dirt}}
* {{BlockLink|Rooted Dirt}}
* {{BlockLink|Podzol}}
* {{BlockLink|Mycelium}}

=== Campfire ===

A shovel can be used to extinguish a [[campfire]].

===Weapon===

Hitting a mob while holding a shovel is a stronger attack than barehanded. Shovels take 2 damage when used as a weapon.

====Java Edition====

[[Category:Java Edition specific information]]
Shovels have an attack speed modifier of -3, meaning they take 1 second to [[Damage#Attack cooldown|recover]]. Shovels deal different damage based on the type:

{| class="wikitable" style="text-align:center" data-description="Attack damage"
!Shovel type
! Attack damage
! Attack speed
!Damage per<br>second (DPS)
|-
|{{ItemLink|Wooden Shovel}}<br>{{ItemLink|Golden Shovel}}||{{hp|2.5}}|| rowspan="4" |1||2.5
|-
|{{ItemLink|Stone Shovel}}||{{hp|3.5}}||3.5
|-
|{{ItemLink|Iron Shovel}}||{{hp|4.5}}||4.5
|-
|{{ItemLink|Diamond Shovel}}||{{hp|5.5}}||5.5
|-
|{{ItemLink|Netherite Shovel}}||{{hp|6.5}}
|1.6||10.4
|}

====Bedrock Edition====

{{IN|bedrock}}, shovels always attack instantly and do the following damage:

{| class="wikitable" style="text-align:center" data-description="Attack damage"
! colspan="5" |Attack damage
|-
|{{ItemSprite|Wooden Shovel}}{{ItemSprite|Golden Shovel}} {{hp|2}}
|{{ItemSprite|Stone Shovel}} {{hp|3}}
|{{ItemSprite|Iron Shovel}} {{hp|4}}
|{{ItemSprite|Diamond Shovel}} {{hp|5}}
|{{ItemSprite|Netherite Shovel}} {{hp|6}}
|}

===Enchantments===

A shovel can receive, or be found in an [[End City]] with the following [[enchantment]]s:

{| class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Fortune]]<ref group="note" name="exc">Silk Touch and Fortune are mutually exclusive</ref>
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Silk Touch]]<ref group="note" name="exc" />
|I
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Efficiency]]
|V
|{{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 shovels can be used as a fuel in [[furnace]]s, smelting 1 item per shovel.

===Smelting ingredient===

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

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Shovel flatten1.ogg
|sound2=Shovel flatten2.ogg
|sound3=Shovel flatten3.ogg
|sound4=Shovel flatten4.ogg
|subtitle=Shovel flattens
|source=block
|description=When a shovel creates a [[dirt path]]
|id=item.shovel.flatten
|translationkey=subtitles.item.shovel.flatten
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a shovel'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=Grass hit1.ogg
|sound2=Grass hit2.ogg
|sound3=Grass hit3.ogg
|sound4=Grass hit4.ogg
|sound5=Grass hit5.ogg
|sound6=Grass hit6.ogg
|source=block
|description=When a shovel creates a dirt path <ref group=sound>{{Bug|MCPE-114390}}</ref>
|id=use.grass
|volume=1.0
|pitch=0.8}}
{{Sound table
|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 Shovel
|spritetype=item
|nameid=wooden_shovel
|form=item}}
{{ID table
|displayname=Stone Shovel
|spritetype=item
|nameid=stone_shovel
|form=item}}
{{ID table
|displayname=Iron Shovel
|spritetype=item
|nameid=iron_shovel
|form=item}}
{{ID table
|displayname=Diamond Shovel
|spritetype=item
|nameid=diamond_shovel
|form=item}}
{{ID table
|displayname=Golden Shovel
|spritetype=item
|nameid=golden_shovel
|form=item}}
{{ID table
|displayname=Netherite Shovel
|spritetype=item
|nameid=netherite_shovel
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Shovel
|spritetype=item
|nameid=wooden_shovel
|id=309
|form=item}}
{{ID table
|displayname=Stone Shovel
|spritetype=item
|nameid=stone_shovel
|id=313
|form=item}}
{{ID table
|displayname=Iron Shovel
|spritetype=item
|nameid=iron_shovel
|id=296
|form=item}}
{{ID table
|displayname=Diamond Shovel
|spritetype=item
|nameid=diamond_shovel
|id=317
|form=item}}
{{ID table
|displayname=Golden Shovel
|spritetype=item
|nameid=golden_shovel
|id=323
|form=item}}
{{ID table
|displayname=Netherite Shovel
|spritetype=item
|nameid=netherite_shovel
|id=605
|form=item
|foot=1}}

==Achievements==

{{load achievements|MOAR Tools ;Oooh, shiny!}}

==Advancements==
{{load advancements|Oh Shiny}}

== Video==

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

==History==
{{Missing information|there are so many missing blocks that need shovel to break}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Iron Shovel JE1.png|32px]] Added iron shovels which are located in the player's [[inventory]].
|Shovels cannot be crafted yet and are not functional in this version.}}
{{History|||snap=20100110|Shovels are now functional and can now be used to gather [[material]]s like [[dirt]], [[sand]] and [[gravel]] 400% faster than by hand.}}
{{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 Shovel JE1 BE1.png|32px]] [[File:Stone Shovel JE1 BE1.png|32px]] [[File:Diamond Shovel JE1 BE1.png|32px]] [[Tools]] now have tiers. Shovels made from wood, stone, and diamond have been added.
|[[File:Iron Shovel JE2 BE1.png|32px]] The texture of iron shovels has been changed.
|A shovel 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 shovels can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Shovel JE1.png|32px]] Shovels can now be made out of gold.}}
{{History|||snap=20100201-1|[[Tools]], including shovels, now take [[damage]] when being used.
|Better tools, including shovels, now last longer.}}
{{History||20100206|[[File:Golden Shovel JE2 BE1.png|32px]] The texture of golden shovels has been changed.}}
{{History|java alpha}}
{{History||1.0.5_01|Shovels are now used to get snowballs out of snow layers.}}
{{History|java beta}}
{{History||April 9, 2011|link=https://www.youtube.com/watch?v=qy882ILYJMM&t=154s|[[File:Iron Shovel (pre-release).png|32px]] Alternate iron shovel texture was shown in [[Mojang]] test video.}}
{{History|java}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden shovels.}}
{{History||1.3.1|snap=12w18a|Wooden shovels can now be used as [[fuel]] in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] diamond shovels for 7 [[emerald]]s, and iron shovels for 4–5 emeralds.}}
{{History||1.6.1|snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), shovels now add their damage onto the barehanded damage, which results in all shovels 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 shovels.}}
{{History||1.8|snap=14w02a|Tool smith villagers now [[trading|sell]] enchanted iron shovels for 5–7 emeralds. The previous trades are now unavailable, making diamond shovels [[non-renewable resource|non-renewable]].}}
{{History||1.9|snap=15w31a|A shovel can now be used on a [[grass block]] to create [[grass path]] blocks.
|[[Enchanting|Enchanted]] iron or diamond shovels can now be found in [[end city]] chests.}}
{{History|||snap=15w34a|Shovels now use the "attack strength" combat mechanic meter. The time it takes for the meter to fill up for a shovel is 0.8 seconds.}}
{{History|||snap=15w34c|Shovels now do more [[damage]] and take longer to recover.}}
{{History|||snap=15w35a|The damage of shovels has been reduced.}}
{{History|||snap=15w41a|Wooden shovels are now used to craft [[boat]]s.}}
{{History|||snap=15w50a|The [[sound]] <code>item.shovel.flatten</code> has been added to shovels.}}
{{History|||snap=16w04a|Wooden shovels are no longer used to [[crafting|craft]] boats.}}
{{History||1.11.1|snap=16w50a|Golden and iron shovels now [[smelting|smelt]] 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 269, 273, 256, 277 and 284.}}
{{History||1.14|snap=18w43a|[[File:Wooden Shovel JE2 BE2.png|32px]] [[File:Stone Shovel JE2 BE2.png|32px]] [[File:Iron Shovel JE3 BE2.png|32px]] [[File:Golden Shovel JE3 BE2.png|32px]] [[File:Diamond Shovel JE2 BE2.png|32px]] The textures of all shovels have been changed.}}
{{History|||snap=18w50a|Iron shovels can now be found in chests in [[village]] toolsmith houses.}}
{{History|||snap=19w11a|Toolsmith [[villager]]s now [[trading|sell]] stone shovels and enchanted diamond shovels, making diamond shovels [[renewable resource|renewable]] again.}}
{{History|||snap=19w13a|Toolsmith villagers now give stone shovels to players under the [[Hero of the Village]] effect.}}
{{History||1.15|snap=19w37a|Shovels can now be used to extinguish [[campfire]]s.}}
{{History||1.16|snap=20w06a|[[File:Netherite Shovel JE1.png|32px]] Added netherite shovels.
|Netherite shovels are obtained by combining one diamond shovel and one netherite ingot in a crafting table.
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden shovels.}}
{{History|||snap=20w09a|[[File:Diamond Shovel JE3 BE3.png|32px]] The texture of diamond shovels has been changed.
|Shovels can now break soul soil quickly.}}
{{History|||snap=20w10a|[[File:Netherite Shovel JE2 BE1.png|32px]] The texture of netherite shovels has been changed.
|Netherite shovels can no longer be crafted.
|Netherite shovels are now obtained by combining one diamond shovel and one netherite ingot in a smithing table.}}
{{History|||snap=20w15a|Stone shovels can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Netherite shovels now generate randomly enchanted in [[bastion remnants]] chests.
|Golden shovels now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds shovels now generate in place of netherite shovels in bastion remnant chests.}}
{{History||1.16.2|snap=20w30a|Increases the chance of finding randomly enchanted diamond shovels in bastion remnant chests.
|Unenchanted, undamaged diamond shovels can also be found in bastion remnant chests.}}
{{History||1.17|snap=21w08a|Stone shovels can now be crafted using [[cobbled deepslate]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden shovels.}}
{{History|||snap=22w13a|Wooden shovels may now be found in [[ancient city]] [[furnace]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond shovels to netherite shovels now requires the netherite upgrade [[smithing template]].}}
{{History||1.20|snap=23w14a|Shovel now breaks [[suspicious sand]] and [[suspicious gravel]] quickly.}}
{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all shovels has been increased to 2.|The [[damage]] for all shovels has been decreased by {{hp|1}}.}}


{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Shovel JE1 BE1.png|32px]] Added stone shovels.}}
{{History||v0.3.0|[[File:Wooden Shovel JE1 BE1.png|32px]] Added wooden shovels.
|Survival players no longer start out with an infinite durability stone shovel in the inventory.}}
{{History||v0.3.2|[[File:Iron Shovel JE2 BE1.png|32px]] [[File:Golden Shovel JE2 BE1.png|32px]] [[File:Diamond Shovel JE1 BE1.png|32px]] Added iron, gold, and diamond shovels.}}
{{History||v0.4.0|Removed stone shovels from the creative inventory.}}
{{History||v0.11.0|snap=build 1|Wooden shovels are now used to craft [[boat]]s.
|Iron shovels are now available in the [[creative]] [[inventory]].
|A shovel can now be used on a [[grass block]] to create [[grass path]] blocks.}}
{{History|||snap=build 11|Wooden, stone, golden, and diamond shovels are now available in the [[creative]] inventory.}}
{{History|||snap=build 12|All shovels have been removed from creative.}}
{{History|||snap=build 13|Shovel have been re-added to creative mode.}}
{{History||v0.12.1|snap=build 1|Shovels can now be [[enchanting|enchanted]].
|[[Zombie]]s now have a small chance to spawn holding an iron shovel.}}
{{History||v0.15.0|snap=build 1|Added [[husk]]s, which have a small chance to spawn holding an iron shovel.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[Enchanting|Enchanted]] iron and diamond shovels can now be found inside [[end city]] chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Enchanted iron shovels are now [[trading|sold]] by toolsmith [[villager]]s for 4-5 [[emerald]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden shovels are now [[smelting|smeltable]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Wooden Shovel JE2 BE2.png|32px]] [[File:Stone Shovel JE2 BE2.png|32px]] [[File:Iron Shovel JE3 BE2.png|32px]] [[File:Golden Shovel JE3 BE2.png|32px]] [[File:Diamond Shovel JE2 BE2.png|32px]] The textures of all shovels have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron shovels can now be found in [[village]] toolsmith houses.}}
{{History|||snap=beta 1.11.0.4|[[Vindicator]]s and [[pillager]]s that spawn in [[raid]]s can now drop iron shovels upon [[death]].
|[[Trading]] has been changed, toolsmith [[villager]]s now have a 25% chance to [[trading|sell]] enchanted iron shovels for 2 [[emerald]]s as part of their third tier trades.
|Stone shovels and [[enchanting|enchanted]] diamond shovels can now be [[trading|bought]] from toolsmith villagers.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Shovel JE2 BE1.png|32px]] Added netherite shovels.|Netherite shovels are obtained by combining one diamond shovel and one netherite ingot in a crafting table.
|[[File:Diamond Shovel JE3 BE3.png|32px]] The texture of diamond shovels has been changed.}}
{{History|||snap=beta 1.16.0.57|Netherite shovels can no longer be crafted.
|Netherite shovels are now obtained by combining one diamond shovel and one netherite ingot in a smithing table.
|Stone shovels can now be crafted using [[blackstone]].
|Netherite shovels now generate randomly enchanted in [[bastion remnants]] chests.
|Golden shovels now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds shovels now generate in place of netherite shovels in bastion remnant chests.}}
{{History||1.20.10|snap=beta 1.20.10.20|The [[wooden shovel]] in the crafting recipe has been removed for all boat types except the bamboo raft.}}
{{History|||snap=beta 1.20.10.21|The bamboo raft recipe no longer needs a wooden shovel.}}

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

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

==Issues==
{{issue list}}

==Gallery==
<gallery>
Shovel JINX.jpg|Official shovel T-shirt made by JINX.
Stone Shovel SDGP.png|Stone shovel in the [[Super Duper Graphics Pack]].
Adventure Shovel.png|An "adventure shovel" that can break blocks in [[adventure mode]].
</gallery>

===Enchanted shovels===
<gallery>
Enchanted_Wooden_Shovel.gif
Enchanted_Stone_Shovel.gif
Enchanted_Iron_Shovel.gif
Enchanted_Golden_Shovel.gif
Enchanted_Diamond_Shovel.gif
Enchanted_Netherite_Shovel.gif
</gallery>

==References==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-shovel Taking Inventory: Shovel] – Minecraft.net on November 16, 2018

{{items}}

[[Category:Combat]]

[[cs:Lopata]]
[[de:Schaufel]]
[[es:Pala]]
[[fr:Pelle]]
[[hu:Ásó]]
[[ja:シャベル]]
[[ko:삽]]
[[nl:Schep]]
[[pl:Łopata]]
[[pt:Pá]]
[[ru:Лопата]]
[[uk:Лопата]]
[[zh:锹]]</li></ul>
?Changed terrain generation, making old seeds outdated

Trivia

  • If a user modifies the Java Edition source code for any version between 1.7.2 and 1.12.2, and change a value[more information needed] from 2 to 0 for the 6th genlayer, a user can replicate biome generation from Legacy Console Edition on Java edition with the exception of mushroom biomes.

Notable seeds

The following map seeds have, at one point or another, been used for generating official Minecraft maps and resources.

  • In Java Edition, the demo world seed can be played in the full version by entering North Carolina in the seed input.
  • In Java Edition, the seed for the panorama between Beta 1.8 Pre-release and 18w22c is either 2151901553968352745 or 8091867987493326313.[9] The world must be generated between Alpha v1.2.0 and Beta 1.7.3.
  • In Java Edition, the seed for the original pack.png file is 3257840388504953787.[10] The world must be generated between Alpha v1.2.0 and Beta 1.7.3.
  • In Java Edition, the seed for the Skull on Fire painting is either -6984854390176336655 or -1044887956651363087.[11] It must be implemented into a world by manually editing the world file, as it uses the terrain generator of Alpha v1.1.2_01 and prior.

External links

References