Minecraft Wiki
Advertisement
Information icon
This feature is exclusive to Java Edition. 
This page describes content that exists only in outdated versions of Bedrock Edition. 
This feature used to be in the game but has since been removed due to a bug.
Zombie Siege

A siege in progress.

Zombie sieges are in-game events where many zombies spawn in and attack a village.

Mechanics[]

At midnight each night (tick 18000 in Minecraft time), there is a 10% chance for the game to attempt a zombie siege that night. If a siege is to occur, attempts are made each tick to start the siege until either a siege is successfully started or the sun rises. Specifically, the siege attempt is abandoned when the sky light level reaches 12. However, inclement weather can allow siege start attempts to continue well past dawn since it reduces the sky light level.

Siege start checks[]

A player is a candidate for a siege if they are in a village[note 1] and that player is not in spectator mode or in a biome with the without_zombie_sieges tag.

Ten attempts are made to choose a random siege starting point: first, a point 32 blocks away from the player in a random horizontal direction is chosen, and then a location is chosen (as described below) as if to spawn one zombie. If that succeeds in finding a valid zombie spawning point, the siege is started at the chosen starting point. If all ten attempts fail, the entire siege attempt fails, but another siege may be attempted on the next game tick.

Players are always checked in order, so as long as one player remains a valid candidate later players will not be checked.

Zombie spawning[]

During a siege, 20 attempts are made to spawn a zombie over the course of 3 seconds. For each zombie, 10 attempts are made to randomly choose a valid spawning point on the surface (i.e. highest non-air block at given horizontal coordinates) within a 16×16 horizontal distance around the chosen point. If a valid spawn point is found, a zombie is spawned.

Zombies spawned within a siege ignore player proximity and the presence of other mobs. Only the minimal spawning conditions are checked:

  • Light level must be appropriate for hostile mob spawning.
  • The surface block must not prevent spawning.
  • The block must be within a village.[note 1]

Zombie villagers, husks and drowned are never spawned as part of a siege, but all other variations (e.g. baby, jockey, and equipment) are determined as for normal random spawns.

The zombies that spawn as part of a siege behave in the same manner as normally-spawned zombies; they attack all villagers within sight, and villagers and iron golems react accordingly. The zombies despawn as usual if the player is far enough away.

Defense tactics[]

Main article: Zombie siege defense

Recovery[]

If at least two villagers survive the siege, the villagers can breed and repopulate the village. Without player intervention, however, it is likely for villages to be wiped out by sieges and randomly-spawned zombies, and all the villagers would be either dead or zombified.

Even if no villagers survive, a village may be repopulated by curing zombie villagers, or by luring in villagers from another village.

Video[]

History[]

Java Edition Classic
June 10, 2009Notch promised to have an expansion pack adding zombie sieges, but never made it.
Java Edition
1.2.1
{{Extension DPL}}<ul><li>[[:Category:Planned items|Category:Planned items]]<br/>All pages relating to items that have been officially announced, but are not yet in the game.

__EXPECTUNUSEDCATEGORY__
[[Category:Items]]
[[Category:Planned]]

[[pt:Itens planejados]]</li><li>[[Food|Food]]<br/>{{For|food in ''Minecraft Dungeons''|MCD:Food}}
[[File:Eating Steve.png|thumb|right|150px]]
[[File:Eating Alex.png|thumb|right|150px]]
'''Food''' refers to any consumable [[item]]s that, when eaten, restore [[hunger]] points and hunger saturation points, and sometimes cause [[status effect]]s. They are essential to survival, as going without them eventually causes the player to starve, causing damage until reaching {{hp|10}} in Easy [[difficulty]], and {{hp|1}} on Normal. [[Hunger#Effects of hunger|Starvation]] damage kills the player in Hard and [[Hardcore]] Mode.

Food is eaten by holding {{control|use}} while having the food item selected in the hot bar or in the off-hand.

[[Cake]] cannot be eaten this way, and must instead be placed on a surface before being eaten.

With the exception of [[chorus fruit]], [[golden apple]]s, [[honey bottle]]s, [[milk]], and [[suspicious stew]]{{only|Java}}, food cannot be eaten when the hunger bar is completely full. In [[Creative]] Mode, any food can be consumed at any time.

All food items and ingredients can be stacked in the inventory slots, except for [[milk]], [[rabbit stew]], [[mushroom stew]], [[beetroot soup]], [[suspicious stew]], and [[cake]].{{only|Java}}

This page covers food items for players; blocks and items that can be eaten by other [[mob]]s are not included here.

== Hunger and saturation ==
{{main|Hunger#Mechanics}}
{{seealso|Tutorials/Hunger_management}}

[[File:Raw_and_Cooked_Chicken_Comparison.png|thumb|Raw (left) and cooked (right) [[chicken]]. Eating raw chicken can give the [[player]] [[food poisoning]].]]

[[Player]]s have two different food statistics, one of which is visible: The hunger level is visible, and the saturation level is not.

[[Saturation]] is the first statistic to decrease when a player performs energy-intensive actions, and it must be completely depleted before the visible hunger meter begins decreasing. Although the current saturation level is generally hidden, the player can tell that their saturation level is completely depleted if the visible hunger meter begins displaying a jittering effect.

Eating a food item replenishes a fixed number of hunger points and saturation points, based on the item. Some foods have a better ratio of saturation to hunger points replenished than others. Overeating the hunger bar does not overflow to saturation.

A player's current saturation level can never exceed their current hunger level. A player at a hunger level of 5, for example, can be at a maximum of 5 saturation. Food always restores hunger (raising the saturation limit) ''before'' supplying saturation. The most efficient use of food is to eat low-saturation food to fill the hunger bar, followed by high-saturation food to fill saturation.  While a few hunger points may be wasted when eating nourishing food when nearly full, eating nourishing foods on a low hunger bar wastes even more points of saturation.  Maximizing saturation increases the length of time (and/or the amount of damage healed) before the player needs to eat again.

=== Usage ===

Most foods can be eaten by holding down the right-click button with a food item in hand. It takes 1.61 seconds to eat most foods; dried kelp takes 0.865 seconds to eat. Additionally, a player can hold food in their [[offhand]] {{in|Java}}.

While eating, food [[particles]] form from the player's mouth correlated with their respective food item, and produces a munching noise. Eating also slows the user significantly.

Unlike other foods, [[cake]] has to be eaten by placing it, then right-clicking on its block form. Eating cake is instant and it has 7 edible slices, each giving {{hunger|2}} hunger and 0.4 hunger [[saturation]].

=== Nourishment value ===

Nourishment is defined as the ratio of saturation to hunger points restored. Foods with higher nourishment values should be eaten when the hunger bar is more full.

The "nourishment" table below can help by categorizing foods by their saturation-to-hunger restoration ratios. See the more detailed [[#Foods|Foods]] table for the exact hunger and saturation statistics of each food.

<!-- do not change the locations of the food in this table without providing an explanation in the edit summary -->
{| class="wikitable" data-description="Nourishment value"
 |-
!Nourishment
! Value
 !Food
 |- style="text-align: left;"
!Great
| 2.4
 | {{Slot|Enchanted Golden Apple}}{{Slot|Golden Apple}}{{Slot|Golden Carrot}}
 |- style="text-align: left;"
!Good
| 1.6
 | {{Slot|Cooked Mutton}}{{Slot|Cooked Porkchop}}{{Slot|Cooked Salmon}}{{Slot|Steak}}
 |- style="text-align: left;"
!Normal
| 1.2
 | {{Slot|Baked Potato}}{{Slot|Beetroot}}{{Slot|Beetroot Soup}}{{Slot|Bread}}{{Slot|Carrot}}{{Slot|Cooked Chicken}}{{Slot|Cooked Cod}}{{Slot|Cooked Rabbit}}{{Slot|Mushroom Stew}}{{Slot|Rabbit Stew}}{{Slot|Suspicious Stew}}
 |- style="text-align: left;"
! Low
| 0.6
 | {{Slot|Apple}}{{Slot|Chorus Fruit}}{{Slot|Dried Kelp}}<ref group="note" name="Java">{{only|java}}</ref>{{Slot|Melon Slice}}{{Slot|Poisonous Potato}}{{Slot|Potato}}{{Slot|Pumpkin Pie}}{{Slot|Raw Beef}}{{Slot|Raw Chicken}}{{Slot|Raw Mutton}}{{Slot|Raw Porkchop}}{{Slot|Raw Rabbit}}{{Slot|Sweet Berries}}<ref group="note" name="Bedrock">{{only|bedrock}}</ref>
 |- style="text-align: left;"
!Poor 
| 0.2
 | {{Slot|Cake}}{{Slot|Cookie}}{{Slot|Dried Kelp}}<ref group="note" name="Bedrock"/>{{Slot|Glow Berries}}{{Slot|Honey Bottle}}{{Slot|Pufferfish|link=Pufferfish (item)}}{{Slot|Raw Cod}}{{Slot|Raw Salmon}}{{Slot|Rotten Flesh}}{{Slot|Spider Eye}}{{Slot|Sweet Berries}}<ref group="note" name="Java"/>{{Slot|Tropical Fish|link=Tropical Fish (item)}}
 |}

== Foods ==
{{/table}}

=== Ingredients ===

The following items cannot be eaten on their own. Instead, they are used to craft consumable food items.
<!-- 
Please leave spaces between each row in the table - this has no effect on the appearance of the table, but it makes it a lot easier on future wiki editors!
-->

{| class="sortable wikitable list-style-none" data-description="Ingredients"
|-
! Name
! Icon
! Used to make
! Source(s)
! Notes

|- id="Bowl"
! scope="row" | [[Bowl]]
| {{Slot|Bowl}}
| {{itemLink|Mushroom Stew}}
* {{itemLink|Beetroot Soup}}
* {{itemLink|Rabbit Stew}}
* {{itemLink|Suspicious Stew}}
|
* [[Crafting]] from [[planks]]
* [[Fishing Rod#Usage|Fishing]]
* [[Turtle]] killed by [[lightning]]
* Eating food made with them
|

|- id="Cocoa Bean"
! scope="row" | [[Cocoa Beans]]
| {{Slot|Cocoa Beans}}
| {{itemLink|Cookie}}s
|
* Breaking [[cocoa plant]]s
* Bought from [[wandering trader]]
|

|- id="Egg"
! scope="row" | [[Egg]]
| {{Slot|Egg}}
|
* {{itemLink|Cake}}
* {{itemLink|Pumpkin Pie}}
|
* Laid by [[chicken]]s
* Found in village fletcher chests
|

|- id="Milk"
! scope="row" | [[Milk Bucket]]
| {{Slot|Milk Bucket}}
| {{itemLink|Cake}}
|
* Milking a [[cow]], [[mooshroom]]s, or [[goat]]s
* Killing a [[Wandering trader]] drinking it
| Can also be consumed to clear [[status effect]]s

|- id="Mushroom"
! scope="row" | [[Brown Mushroom]] and [[Red Mushroom]]
| {{Slot|Brown Mushroom;Red Mushroom}}
| {{itemLink|Mushroom Stew}}
* {{itemLink|Rabbit Stew}}
* {{itemLink|Suspicious Stew}}
| {{anchor|Brown Mushroom|Red Mushroom}}
* Dark/shady areas
* Swamp [[biome]]s
* [[Mushroom fields]]
* Breaking [[Huge Mushroom|huge brown or red mushrooms]]
* [[The Nether]]
* Using [[shears]] on a [[mooshroom|brown mooshroom or red mushroom]]
* Bought from [[wandering trader]] 
|
|- id="Flower"
! scope="row" | [[Flower]]
| {{Slot|Any Flower}}
|{{itemLink|Suspicious Stew}}
|
* Breaking [[Flower]]
* Using [[Bone Meal]] on a [[Grass Block]]
* Bought from [[wandering trader]]
* Killing [[Iron Golem]] (poppy)
|

|- id="Pumpkin"
! scope="row" | [[Pumpkin]]
| {{Slot|Pumpkin}}
| {{itemLink|Pumpkin Pie}}
|
* Harvesting mature [[pumpkin]]s grown from [[pumpkin seeds]]
* Naturally occurring [[pumpkin]]s
* Taiga and Snowy Taiga [[Village]]s
* Bought from [[wandering trader]]  
|

|- id="Sugar"
! scope="row" | [[Sugar]]
| {{Slot|Sugar}}
|
* {{itemLink|Cake}}
* {{itemLink|Pumpkin Pie}}
|
* Crafting [[sugar cane]]
* Dropped by [[witch]]es
* Creating from its base [[element]]s {{only|bedrock|education}}
* Redeemed from [[honey bottle]] on a crafting table 
|

|- id="Wheat"
! scope="row" | [[Wheat]]
| {{Slot|Wheat}}
|
* {{itemLink|Bread}}
* {{itemLink|Cake}}
* {{itemLink|Cookie}}s
|
* Harvesting mature [[wheat]]
* Found in [[Dungeon#Loot|dungeon]], [[Woodland Mansion#Loot|woodland mansion]], [[Shipwreck#Loot|shipwreck]], [[Igloo#Loot|igloo]], [[Village#Loot|village]], [[Ocean Ruins#Loot|ocean ruins]], and [[Pillager Outpost#Loot|pillager outpost]] chest
* Crafting [[hay bale]]s
|

|- id="Gold Nugget"
! scope="row" | [[Gold Nugget]]
| {{Slot|Gold Nugget}}
| {{itemLink|Golden Carrot}}
|
* Crafting [[gold ingot]]s
* Dropped by [[zombified piglin]]s
* Found in [[Shipwreck#Loot|shipwreck]], [[Igloo#Loot|igloo]], [[Village#Loot|village]], and [[Ocean Ruins#Loot|ocean ruins]] chest
* Smelting golden armor or tools
* Mining [[nether gold ore]] without [[Silk Touch]]
|

|- id="Gold Ingot"
! scope="row" | [[Gold Ingot]]
| {{Slot|Gold Ingot}}
| {{itemLink|Golden Apple}}
|
* Crafting [[gold block]]s or [[gold nugget]]s
* Rarely dropped by [[zombified piglin]]s and by [[Drowned]]
* Smelting [[gold ore]] or [[nether gold ore]]
* Found in [[Shipwreck#Loot|shipwreck]], [[Jungle Pyramid#Structure:Loot|jungle pyramid]], [[Dungeon#Loot|dungeon]], [[Woodland Mansion#Loot|woodland mansion]], [[Nether Fortress#Loot|nether fortress]], [[End city#Loot|end city]], [[Mineshaft#Loot|mineshaft]], [[Village#Structure:Loot|village]], [[Stronghold#Loot|stronghold]], [[Buried Treasure#Loot|buried treasure]] and [[Desert pyramid#Structure:Loot|desert pyramid]] chest
|
|- id="Honey Block"
! scope="row" | [[Honey Block]]
| {{Slot|Honey Block}}
| {{itemLink|Honey Bottle}}
|
* Crafting [[honey bottle]]s
|
|}

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

== Achievements ==
{{load achievements|Pork Chop;Iron Belly;Rabbit Season;Overpowered;Castaway;Delicious Fish;The Lie;Bake Bread;Time For Stew}}

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

== History ==

{{History|java classic}}
{{History||June 14, 2009|link=https://notch.tumblr.com/post/123343045/my-vision-for-survival|[[Notch]] discussed how food would work in [[survival]] mode: "Monsters will hurt you and take away from your health. The only way to regain health is to eat food. You get food from either hunting or from farming."}}
{{History||0.24_SURVIVAL_TEST|[[Mushroom]]s are now edible, making them the first food to be added in the game. At this point, food restores [[health]] instead of [[hunger]], and are eaten instantly without sound or animation. Pigs drop them upon death.}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|Added [[apple]]s, which are currently non-functional.}}
{{History|||snap=20100110|Apples are now edible, and restore {{hp|4}} each.}}
{{History|||snap=?|Mushrooms are no longer edible.}}
{{History|||snap=20100130|Added [[mushroom stew]], which restores {{hp|8}} health.}}
{{History||20100206|Added [[wheat]] and [[bread]].
|Mushroom stew now restores {{hp|10}} health.}}
{{History||20100219|[[Pig]]s now drop [[raw porkchop]]s, which can be [[smelt]]ed to become [[cooked porkchop]]s.}}
{{History|java infdev}}
{{History||20100227-1|Added [[golden apple]]s. At this point, they were crafted with [[block of gold]], and restored {{hp|20}}.}}
{{History|java alpha}}
{{History||v1.0.8|Added [[milk]], which was at this point unobtainable and the player could not use it in any way.}}
{{History||v1.0.11|Milk can now be obtained in the game, by milking a [[cow]] with an empty [[bucket]].}}
{{History||v1.0.14|With the addition of [[chicken]]s, [[egg]]s are now in the game, but have no use. Chickens do not drop raw chicken at this point in time.}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|Added [[pumpkin]]s, but not pumpkin seeds.
|Added [[raw fish]] and [[cooked fish]], obtainable through [[fishing]].}}
{{History||v1.2.3|Eating food now functions correctly in multiplayer.}}
{{History|java beta}}
{{History||1.2|Added [[sugar]] and [[cake]].}}
{{History||1.4|[[Cocoa beans]] now appear naturally in the game; since Beta 1.2, they were available only through inventory editors.
|Added [[cookie]]s.}}
{{History||1.5|Pigs now drop cooked porkchops if killed while on fire.}}
{{History||1.8|snap=Pre-release|Added [[melon]]s, [[melon seeds]], and [[pumpkin seeds]].
|Added [[raw chicken]] as a drop from chickens, which can be smelted into [[cooked chicken]].
|Added [[raw beef]] as a drop from cows, which can be smelted into [[steak]].
|Added [[rotten flesh]] as a new drop from [[zombie]]s.
|Added an eating animation, instead of food simply disappearing from the player's hand as if a block had been placed.
|Added [[hunger bar]]; now food restores hunger instead of health.
|Food now stacks in the inventory, with the exception of cake, mushroom stew, and milk.
|[[Huge mushroom]]s were added as a new source for [[mushroom]]s.
|With the addition of the hunger bar, golden apples now restore {{Hunger|10}} and give 30 seconds of [[regeneration]], but do not heal health directly anymore.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Mushrooms can now be obtained from the mushroom island [[biome]], via the huge mushrooms, random scattered mushrooms, or the new [[mooshroom]]s.
|[[Milk]] can be used to nullify the effects of [[potion]]s.
|[[Spider]]s now drop [[Spider Eye|eyes]].}}
{{History||1.1|snap=release|Golden apples are now made with [[gold nugget]]s instead of blocks of gold, restore {{Hunger|4}} and give 4 seconds of regeneration.}}
{{History||1.3.1|snap=12w21a|Added enchanted golden apples, which functioned like golden apples prior to 1.1 and had the same crafting recipe, but also gave resistance and fire resistance for 5 minutes each.
|[[Cocoa Beans]] are now a crop, making all food items a renewable resource.}}
{{History||1.4.2|snap=12w34a|[[Potato]]es and [[carrot]]s can be obtainable from zombies (rare drop) or harvested.
|Potatoes can be cooked to make [[baked potato]]es
|Harvesting potatoes may give 0–2 [[poisonous potato]]es.
|Carrots can be crafted into [[golden carrot]]s.
|Added [[pumpkin pie]], making [[pumpkin]]s a food ingredient.}}
{{History||1.7.2|snap=13w36a|Added [[tropical fish (item)|clownfish]], [[Raw Salmon|raw]] and [[cooked salmon]], and [[pufferfish (item)|pufferfish]].}}
{{History||1.8|snap=14w02a|Baked potatoes now restore {{Hunger|5}} hunger points instead of 6, with a corresponding reduction in saturation restored.
|Carrots now restore {{Hunger|3}} hunger points instead of 4, with a corresponding reduction in saturation restored.}}
{{History|||snap=14w27a|Added [[Raw Mutton|raw]] and [[cooked mutton]], [[Raw Rabbit|raw]] and [[cooked rabbit]], and [[rabbit stew]].}}
{{History||1.9|snap=15w31a|Added [[chorus fruit]], [[beetroot]] and [[beetroot soup]].
|Enchanted golden apples are no longer craftable, making them no longer renewable.}}
{{History||1.13|snap=18w07a|Added [[dried kelp]], which is edible.}}
{{History||1.14|snap=18w43a|Added [[suspicious stew]].}}
{{History|||snap=18w49a|Added [[sweet berries]].}}
{{History||1.15|snap=19w34a|Added [[honey bottle]]s.}}
{{History|||snap=19w35a|[[Honey bottle]]s now remove [[poison]] effects when consumed.}}
{{History|||snap=19w46a|All foods can now be consumed in Creative mode, including cake.}}
{{History||1.17|snap=21w05a|Added [[glow berries]].}}


{{History|pocket alpha}}
{{History||v0.4.0|Added the first food items: [[apple]]s, [[bread]], [[mushroom stew]], [[raw beef]], [[steak]], [[raw chicken]], [[cooked chicken]], [[raw porkchop]]s, and [[cooked porkchop]].}}
{{History||v0.5.0|Added [[melon]]s, [[melon slice]]s, and [[melon seeds]].}}
{{History||v0.7.0|Added [[milk]] and [[cake]].}}
{{History||v0.8.0|snap=build 1|Added [[pumpkin pie]], [[carrot]]s, [[potato]]es, and [[baked potato]]es.}}
{{History|||snap=build 2|Added [[beetroot]]s and [[beetroot soup]].}}
{{History||v0.9.0|snap=build 1|[[Potato]]es and [[carrot]]s can be obtainable from zombies (rare drop) or harvested.
|Added [[cookie]]s.}} 
{{History||v0.11.0|snap=build 1|Added [[rotten flesh]] as a new drop from [[zombie]]s, at this time, it inflicts poison.
|Added [[Raw Fish|raw]] and [[cooked fish]], [[clownfish]], [[Raw Salmon|raw]] and [[cooked salmon]], and [[pufferfish]].}}
{{History|||snap=build 4|[[Milk]] can be used to nullify the effects of [[potion]]s.}}
{{History||v0.12.1|snap=build 1|Eating food now restores hunger.
|[[Spider]]s now drop [[Spider Eye|eyes]].
|Added poisonous potatoes, golden apples, enchanted golden apples and golden carrots.}}
{{History||v0.13.0|snap=build 1|Hunger restored by food now matches Minecraft PC.
|Added raw rabbit, cooked rabbit, and [[rabbit stew]].}}
{{History||v0.15.0|snap=build 1|Added raw mutton and cooked mutton.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added chorus fruit.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Added [[dried kelp]], which is edible.}} 
{{History||1.7.0|snap=beta 1.7.0.2|Food can now be eaten in creative mode and on peaceful difficulty.}}
{{History||1.10.0|snap=beta 1.10.0.3|Added [[sweet berries]].}}
{{History||1.13.0|snap=beta 1.13.0.9|Added [[suspicious stew]].}}
{{History||1.14.0|snap=beta 1.14.0.1|Added [[honey bottle]].}}
{{History||1.17.0|snap=beta 1.16.220.52|Added [[glow berries]].}}
{{History|foot}}

{{items}}

[[Category:Food]]

[[cs:Potraviny]]
[[de:Hunger]]
[[es:Comida]]
[[fr:Nourriture]]
[[hu:Étel]]
[[it:Cibo]]
[[ja:食料]]
[[ko:식료품]]
[[nl:Voedsel]]
[[pl:Jedzenie]]
[[pt:Alimento]]
[[ru:Еда]]
[[th:อาหาร]]
[[uk:Їжа]]
[[zh:食物]]</li></ul></nowiki>
12w07aZombie sieges added by Jon Kågström.
Villagers repopulate villages based on how many houses are available.
12w08aAdded iron golems, which protect villagers against attacks such as zombie sieges.
1.4.7
{{Extension DPL}}<ul><li>[[Debug fourj item|Debug fourj item]]<br/>{{DISPLAYTITLE:<samp>debug_fourj_item</samp>}}
{{exclusive|Legacy Console}}{{Unobtainable||edition=console|section=}}{{Item
| image = Barrier (held) JE1 BE1.png
| renewable = No
| stackable = Yes (64)
| rarity = Common
| title = <samp>debug_fourj_item</samp>
}}
<samp>'''debug_fourj_item'''</samp> is an unobtainable item exclusive to the [[Legacy Console Edition]] and can only be obtained through modding the game. It has the texture of a [[barrier]], no "What's this?" hint and no display name.

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

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

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

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

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

==See also==

*[[Debug Stick]]

==References==
<references />

{{Items}}
{{Unused features}}
[[Category:Articles missing historical information]]</li><li>[[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></ul>
Zombie sieges no longer occur due to a bug.[1]
1.8
{{Extension DPL}}<ul><li>[[Melon Slice|Melon Slice]]<br/>{{Dungeons hatnote|type=consumable|Melon}}
{{Item
| title = Melon Slice
|typeimage=Melon Slice.png
| renewable = Yes
| heals = {{hunger|2}}
| stackable = Yes (64)
}}
A '''melon slice'''{{efn|Known as '''Melon Slice''' {{in|java}} and '''Melon''' {{in|bedrock}}.}} is a [[food]] item that can be eaten by the [[player]].

== Obtaining ==

=== Block loot ===

{{see also|Tutorials/Pumpkin and melon farming|title1 = Pumpkin and melon farming}}

Melon slices can be obtained by breaking (harvesting) [[melon]]s using any [[tool]] or by hand. [[Axe]]s, followed by [[sword]]s, are the fastest tools for harvesting melons.  A melon drops 3–7 melon slices, when broken; by hand, using a [[tool]], or after being broken by the movement of a [[piston]], with an average of 4.64 slices per melon.

Breaking a melon with a tool enchanted with [[Fortune]] increases the potential number of drops by 1 slice per level, up to a maximum of 9 slices.

== Usage ==

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

To eat a melon slice, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|2}} [[hunger]] and 1.2 hunger 
[[Hunger#Mechanics|saturation]].

=== Crafting ingredient ===

{{crafting usage}}

=== Composting ===
Placing a melon slice into a [[composter]] has a 50% chance of raising the compost level by 1.

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

== Data values ==

=== ID ===

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|spritename=melon-slice
|displayname=Melon
|spritetype=item
|nameid=melon_slice
|aliasid=melon
|id=272
|form=item
|translationkey=item.melon.name
|foot=1}}

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

== History ==
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Melon Slice JE1 BE1.png|32px]] Added melons.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 4|Melons are now used in the [[crafting]] recipe of [[glistering melon]]s.}}
{{History|||snap=Beta 1.9 Prerelease 5|Melons once again drop the correct number of slices.}}
{{History||1.3.1|snap=12w21a|Melons can now be [[trading|bought]] from farmer [[villager]]s, at 5–8 melon slices for 1 [[emerald]].}}
{{History||1.7.2|snap=13w37a|Block ID 105, [[melon stem]], has been removed from the {{cmd|give}} [[commands|command]].}}
{{History||1.8|snap=14w02a|[[Villager]]s no longer [[trading|sell]] melons. They now buy [[melon]]s instead.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 360.}}
{{History|||snap=18w20b|"Melon" has been renamed to "Melon Slice."
|The ID of melon slices has been changed from <code>melon</code> to <code>melon_slice</code>.}}
{{History||1.14|snap=18w43a|[[File:Melon Slice JE2 BE2.png|32px]] The texture of melon slices has been changed.}}
{{History|||snap=19w03a|Placing a melon slice into the new [[composter]] has a 20% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Melon slices now have a 50% chance of increasing the compost level in a composter by 1.}}

{{History|pocket alpha}}
{{History||v0.5.0|[[File:Melon Slice JE1 BE1.png|32px]] Added melons. 
|Melons restore {{health|2}} each, rather than {{hunger|2}}.}}
{{History||v0.12.1|snap=?|Added Melon slice to the Creative inventory.}}
{{History|||snap=build 1|Melons now restores [[hunger]] instead of [[health]].
|Melons can no longer be obtained from [[nether reactor]]s.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.3|[[Breaking]] a [[melon]] with [[shears]] now always yields 9 melons.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Melon Slice JE2 BE2.png|32px]] The texture of melons has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Melons can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Melons can now be [[trading|sold]] to farmer [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Trading]] has been changed, melon slices can no longer be sold to farmer villagers.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of melon slices has been changed from <code>melon</code> to <code>melon_slice</code>.}}

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

{{History|new 3ds}}
{{History||0.1.0|[[File:Melon Slice JE1 BE1.png|32px]] Added melons.}}
{{History|foot}}

== Issues ==
{{issue list}}

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

== Notes ==
{{fnlist}}

{{Items}}

[[Category:Plants]]

[[cs:Meloun]]
[[de:Melone]]
[[es:Rodaja de sandía]]
[[fr:Tranche de pastèque]]
[[hu:Dinnye Szelet]]
[[ko:수박]]
[[nl:Meloenschijf]]
[[pl:Arbuz]]
[[pt:Fatia de melancia]]
[[ru:Ломтик арбуза]]
[[zh:西瓜片]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Sword|Sword]]<br/>{{For|the item in ''Minecraft Dungeons''|MCD:Sword|MCD:Diamond Sword}}
{{Item
| image = <gallery>
Wooden Sword.png | Wooden
Stone Sword.png | Stone
Iron Sword.png | Iron
Golden Sword.png | Golden
Diamond Sword.png | Diamond
Netherite Sword.png | Netherite
</gallery>
| rarity = Common
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| durability = 
'''Java Edition'''<br>
Golden: 32<br>
Wood: 59<br>
Stone: 131<br>
Iron: 250<br>
Diamond: 1561<br>
Netherite: 2031<br>
'''Bedrock Edition'''<br>
Golden: 33<br>
Wood: 60<br> 
Stone: 132<br>
Iron: 251<br>
Diamond: 1562<br>
Netherite: 2032
| stackable = No
}}
The '''sword''' is a melee [[weapon]] that is mainly used to deal [[damage]] to [[entity|entities]] or for breaking certain blocks faster than by hand. A sword is made from one of six materials, in order of increasing quality and expense: wood, gold, stone, iron, diamond and netherite.

== Obtaining ==
=== Crafting ===
{{Crafting
  |showname=0
  |showdescription=1
  |head=1
  |name=[[Swords]]
  |B1={Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B2={Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B3=Stick
  |Output=Wooden Sword; Iron Sword; Golden Sword; Diamond Sword
  |type=Combat
}}
{{Crafting
  |name=Stone Sword
  |B1=Any stone-tier block
  |B2=Any stone-tier block
  |B3=Stick
  |Output=Stone Sword
  |description=Can use cobblestone and its other variants interchangeably.
  |type=Combat
}}
{{Crafting
  |foot=1
  |ignoreusage=1
  |name=[[Swords]]
  |ingredients=Damaged Matching [[Swords]]
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
  |description= The durability of the two swords is added together, plus an extra 5% of the tool type's total durability. Enchantments are removed unless combined on an [[anvil]].<br>'''Example:''' Two wooden swords, each with remaining durability of 20, combine into a wooden sword having 43 durability (20 + 20 + 5% of 60).
  |Output=Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
  |type=Combat
}}

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

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x Damaged Wooden Sword or<br>2x Damaged Stone Sword or<br>2x Damaged Iron Sword or<br>2x Damaged Golden Sword or<br>2x Damaged Diamond Sword or <br>2x Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
|description=The durability of the two swords is added together, plus an extra 5% durability. Any enchantments, besides curses, would be removed.
}}

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

=== Mob loot ===
{{Main|Drops#Equipped items}}

Some [[mobs]] can spawn with a sword and have an 8.5% chance of dropping them upon death caused by player. This chance is increased by 1% per level of [[Looting]], up to a maximum of 11.5% with Looting III. [[Zombie]]s and [[husk]]s can drop iron swords, [[zombified piglin]]s and [[piglin]]s can drop golden swords, and [[wither skeleton]]s can drop stone swords. The dropped sword is usually badly damaged and may be enchanted. Stone swords dropped by wither skeletons are never enchanted.

A [[vex]] wields an iron sword that normally has a 0% chance of dropping, because their main hand's <code>HandDropChances</code> is 0. However, this chance increases by 1 percentage point per level of Looting. It is never damaged{{only|java}} and may be enchanted.

{{IN|be}}, [[pillager]]s and [[vindicator]]s that spawn from raids have a 4.1% chance (5.12% chance on hard mode) of dropping a damaged iron sword. This sword has a 50% chance of being enchanted.

=== Trading ===
[[File:Weaponsmith Diamond Sword Trade.png|thumb|right|The diamond sword trade of a weaponsmith.]]

{{IN|bedrock}}, an apprentice-level weaponsmith villagers sells enchanted iron swords for at least 7-21 emeralds, and a master-level weaponsmith sells enchanted diamond swords for at least 13-27 emeralds.

{{IN|java}}, a novice-level weaponsmith villager has a {{frac|2|3}} chance of selling an enchanted iron sword for at least 7-22 emeralds. A master-level weaponsmith offers to sell an enchanted diamond sword for at least 11–27 emeralds.

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

=== Chest loot ===
{{LootChestItem|iron-sword,level-enchanted-iron-sword,damaged-random-enchanted-iron-sword,golden-sword,random-enchanted-golden-sword,diamond-sword,damaged-diamond-sword,level-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword-2}}

== Usage ==
=== Attacking ===
Pressing {{control|attack}} while holding a sword inflicts damage on both mobs and other players. Upon damaging a mob or player, the sword's [[Item Durability|durability]] decreases by 1.

Attacking a [[boat]] or a [[minecart]] with a sword stone tier or higher instantly destroys it {{only|java}}, without decreasing the sword's durability. Otherwise, it requires 2 hits, with neither decreasing durability.

==== Sweeping ====
{{exclusive|Java|section=1}}
If the attack recharge meter is 84.8% or above and the player is on the ground standing or moving slower than the [[sprinting]] speed in a straight line, the sword performs a sweeping attack indicated by a gale [[particle]] that reaches nearby enemies for {{hp|1}} and knocks them back; the amount of knockback is 80% that of the basal knockback and does not benefit from the [[knockback]] enchantment. As result, the player can perform a sweep attack while they are sprinting diagonally but it is impossible to perform a sweep attack at the same time as a critical hit or while riding some [[entity]]. All enemies within an 1 by 0.25 by 1 block area of any part of the attacked mob and whose feet are 3 or less blocks away from player's feet are affected. The [[sweeping edge]] enchantment increases the damage dealt by 50% of the normal hit damage for level I, 67% for level II and 75% for level III.

=== Damage ===
{{Main|Damage}}

==== Java Edition ====
Swords have an attack speed of 1.6 and take 0.625 seconds to [[Damage#Attack cooldown|recover]]. 

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|4}}
| {{hp|4}}
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
|-
! Attack Speed
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
|-
! Damage/Second (DPS)
| 6.4
| 6.4
| 8
| 9.6
| 11.2
| 12.8
|-
! Durability
| 59
| 32
| 131
| 250
| 1561
| 2031
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Lifetime damage minimum = Durability × Damage per hit''. It ignores enchantments and [[Damage#Critical_hit|critical hits]], and assumes the sword is at maximum charge</ref>
| {{hp|236}}
| {{hp|128}}
| {{hp|655}}
| {{hp|1500}}
| {{hp|10927}}
| {{hp|16248}}
|}
{{notelist}}

==== Bedrock Edition ====
{{IN|bedrock}}, swords have no attack cooldown or sweep attack, and deal the following damage:

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|5}} <!-- DO NOT CHANGE THESE! The values are correct, '+4 Attack Damage' means 5 total attack damage. -->
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
| {{hp|9}}
|-
! Durability
| 60
| 33
| 132
| 251
| 1562
| 2032
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum''. It excludes enchantments and critical hits</ref>
| {{hp|300}}
| {{hp|165}}
| {{hp|792}}
| {{hp|1757}}
| {{hp|12496}}
| {{hp|18288}}
|}
{{notelist}}

The most amount of damage that a sword enchanted with [[Sharpness]] V can do is 11 {{in|java}} and 15.25 {{in|bedrock}}, without critical hits.

=== Sword breaking times ===
{{main|Breaking}}

A sword can also be used to destroy certain blocks 50% quicker, sometimes much quicker than with fists. Using a sword to destroy any block that doesn't break instantly by hand decreases its durability by 2; this includes bamboo, despite that the sword is the fastest tool for breaking it.<ref>{{bug|MC-195168||Swords consume double durability than they normally would when destroying bamboo saplings, bamboo, or cobwebs}}</ref>

If a sword is enchanted with [[Silk Touch]], either using [[Creative]] or [[commands]], cobwebs the sword destroys will drop the cobwebs themselves instead of the usual string. This is due to the sword being classified as the proper tool for cobwebs.

The following table shows the time it takes to break blocks on which swords have any effect. Colors indicate what gets dropped:
* White: an original block.
* Blue: block's normal drop (e.g. seeds, sapling, apple).
* Red: nothing.

{| class="wikitable" style="text-align:center" data-description="Blocks affected by swords"
! Block
! Fists
! Sword
! colspan="2" | Proper/fastest tool
|-
!style="text-align:left"| {{BlockLink|Bamboo}}
| {{tc|no|{{breaking time|Bamboo}} s }} || 0.05 s (instant) <!-- this doesn't work: {{tc|planned|{{breaking time|Bamboo|Sword}} s}} -->
| {{ItemSprite|sword|link=Sword}}
| 0.05 s (instant) <!-- this doesn't work: {{breaking time|Bamboo|Sword}} s -->
|-
!style="text-align:left"| {{BlockLink|Cobweb}}
| {{tc|no|{{breaking time|Cobweb|drop=None}} s}} || {{tc|planned|{{breaking time|Cobweb|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Cobweb|Shears}} s
|-
!style="text-align:left"| {{BlockLink|Cocoa}}
| {{tc|planned|{{breaking time|Cocoa}}s}} || {{tc|planned|{{breaking time|Cocoa|Sword}}s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Cocoa|Golden}} – {{breaking time|Cocoa|Wooden}} s}}
|-
! style="text-align:left"|{{BlockLink|Hay Bale}}
| 1s
| 0.8s{{only|bedrock}}
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{breaking time|Hay Bale|Golden}} – {{breaking time|Hay Bale|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Leaves}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves}} s}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Leaves|Shears}}s
|-
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{tc|planned|{{breaking time|Leaves|Golden}} – {{breaking time|Leaves|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Jack o'Lantern}}
| {{breaking time|Jack o'Lantern}} s || {{breaking time|Jack o'Lantern|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Jack o'Lantern|Golden}} – {{breaking time|Jack o'Lantern|Wooden}} s
|-
!style="text-align:left"| {{BlockLink|Melon}}
| {{tc|planned|{{breaking time|Melon}} s}} || {{tc|planned|{{breaking time|Melon|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Melon|Golden}} – {{breaking time|Melon|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Pumpkin}}
| {{breaking time|Pumpkin}}s || {{breaking time|Pumpkin|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Pumpkin|Golden}} – {{breaking time|Pumpkin|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Vines}} 
| rowspan="2" {{tc|no|{{breaking time|Vines}} s}} || rowspan="2" {{tc|no|{{breaking time|Vines|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|no|{{breaking time|Vines|Golden}} – {{breaking time|Vines|Wooden}} s}}
|-
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Vines|Shears}} s
|}

==== Safety around constructions ====
In Creative mode, swords are unable to break blocks. However, care must still be taken around [[minecart]]s, [[painting]]s, [[item frame]]s,{{only|java}} and [[armor stand]]s; these are entities, thus can be broken with swords in Creative.<ref>{{bug|MC-27140}}</ref><ref>{{bug|MC-18463}}</ref>

=== Enchantments ===
Swords can receive, gathered from mob drops/villager trades or be found in various loot chests (example: End City, Bastion Remnant)with the following [[enchantment]]s:

{| class="wikitable sortable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
!Weight
|-
|[[Fire Aspect]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Looting]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Sharpness]]<ref group=note name=note1>Sharpness, Smite, and Bane of Arthropods are mutually exclusive.</ref>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|10
|-
|[[Smite]]<ref group=note name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Bane of Arthropods]]<ref group="note" name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Knockback]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|2
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|1
|-
|[[Sweeping Edge]]{{Only|java|short=1}}
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|}
Golden swords have the highest enchantability, yet the least durability{{Notelist}}

=== Fuel ===
Wooden swords can be used as fuel in [[furnace]]s, smelting 1 item per sword.

=== Smelting ingredient ===
{{Smelting|showname=1|Iron Sword;Golden Sword|Iron Nugget;Gold Nugget|0,1}}

=== Piglins ===
[[Piglin]]s are attracted to golden swords, run toward any golden swords on the ground and inspect it for 6 to 8 seconds before putting it in their [[inventory]] slot.

== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|subtitle=Strong attack
|source=player
|description=When a player deals an attack that does not trigger any other attack sounds
|id=entity.player.attack.strong
|translationkey=subtitles.entity.player.attack.strong
|volume=''varies'' <ref group=sound>0.6 for <code>strong1</code> through <code>strong4</code>, and 0.7 for <code>strong5</code> and <code>strong6</code></ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Critical attack1.ogg
|sound2=Critical attack2.ogg
|sound3=Critical attack3.ogg
|subtitle=Critical attack
|source=player
|description=When a player deals a critical hit
|id=entity.player.attack.crit
|translationkey=subtitles.entity.player.attack.crit
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Knockback attack1.ogg
|sound2=Knockback attack2.ogg
|sound3=Knockback attack3.ogg
|sound4=Knockback attack4.ogg
|subtitle=Knockback attack
|source=player
|description=When a player deals a sprinting attack
|id=entity.player.attack.knockback
|translationkey=subtitles.entity.player.attack.knockback
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Sweep attack1.ogg
|sound2=Sweep attack2.ogg
|sound3=Sweep attack3.ogg
|sound4=Sweep attack4.ogg
|sound5=Sweep attack5.ogg
|sound6=Sweep attack6.ogg
|sound7=Sweep attack7.ogg
|subtitle=Sweeping attack
|source=player
|description=When a player deals a sweep attack
|id=entity.player.attack.sweep
|translationkey=subtitles.entity.player.attack.sweep
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|subtitle=Weak attack
|source=player
|description=When a player deals an attack with no damage
|id=entity.player.attack.nodamage
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Weak attack
|source=player
|description=When a player attempts to attack without sufficient cooldown
|id=entity.player.attack.weak
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a sword'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=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|source=player
|description=When a player deals an attack with damage
|id=game.player.attack.strong
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|source=player
|description=When a player deals an attack with no damage
|id=game.player.attack.nodamage
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When an sword'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 Sword
|spritetype=item
|nameid=wooden_sword
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|id=308
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|id=312
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|id=307
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|id=316
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|id=322
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|id=604
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Time to Strike!;Overkill;Oooh, shiny!}}

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

== History == 
=== Blocking ===
{{main|Blocking}}
[[File:Parrying.png|thumb|right|The blocking animation using a sword before and after [[Java Edition 14w30a]] (from the [[Adventure Update|Adventure]] to the [[Bountiful Update|Bountiful]] updates).]]
 
Previously, since the [[Adventure Update]], all types of swords could be used to parry to block some forms of damage. If the player is blocking with a sword when attacked, the sword deflects 50% of incoming damage from melee, non-magical projectiles like arrows, and explosions, along with minimizing airborne knockback. The sword is held in front of the player and its durability is not reduced by blocking. The player moves at a slower rate than [[sneaking]] if blocking with a sword. Sword blocks could be engaged and disengaged instantly, with no delay between the input and damage mitigation nor cooldown between lowering a block and raising a new one.
 
After the [[Combat Update]], the sword blocking functionality was replaced by blocking with [[shield]]s and to accommodate the [[dual wield]] system. Shields negate more damage and knockback than sword blocking from "blockable" attacks (they block 100% damage and knockback after [[Java Edition 1.11]]), but, unlike swords, they lose durability, have a 0.25 second startup period before damage can be mitigated and can be temporarily disabled by attacks with an [[axe]].

=== Knockback ===
The knockback dealt by swords used to be higher than while the players are using another melee [[item]]s, like an axe or with the hands. This feature was removed in [[Java Edition 1.9]] and is also no longer used in ''[[Bedrock Edition]]''.

=== Historical changes per version ===
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Iron Sword JE1 BE1.png|32px]] Added iron swords.
|Iron swords cannot be [[craft]]ed yet, but can be added to the [[player]]'s [[inventory]] during world creation.}}
{{History||0.31|snap=?|The iron sword is no longer added to the player's inventory during world creation.}}
{{History||0.31|snap=20100128|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Swords made from wood, stone, and diamond have been added.
|Swords cannot be crafted yet, but have been added to the [[item]] [[chest]] in the Indev house.|A sword held by the player is now rendered to appear more 3D.}}
{{History||0.31|snap=20100129|Wood, stone, iron, and diamond swords can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Sword JE1.png|32px]] Swords can now be made out of gold.}}
{{History|||snap=20100131|Swords now have [[durability]]. 
|Better swords now last longer.
|Swords now cost 1 durability per hit, and 2 points per block broken.}}
{{History||20100206|[[File:Golden Sword JE2 BE1.png|32px]] The texture of gold swords has been slightly changed.}}
{{History|java alpha}}
{{History||v1.2.0|snap=release|[[Zombie pigmen]] now hold golden swords.}}
{{History|java beta}}
{{History||1.2|Swords, like all [[tool]]s, now have more [[item durability|durability]].
|Prior, diamond swords had 1024 durability, iron swords had 128, stone swords 64 and wood and gold had 32 durability.}}
{{History||1.5|The damages of all swords have increased by 1, due to the player's barehand damage increasing from {{hp|1}} to {{hp|2}}.
|As a result, wooden and golden swords now dealt {{hp|5}}, stone swords {{hp|7}}, iron swords {{hp|9}}, and diamond swords {{hp|11}}.}}
{{History||1.8|snap=Pre-release|Added the ability to block with a sword, giving the [[player]] more options in combat.
|Swords deflect 50% of incoming melee damage, non-magical projectiles like arrows and explosion damage, and a bit of knockback.
|The sword is held in front of the player and its durability is not reduced by blocking.|The player moves at a slower rate than [[sneaking]] when blocking with a sword.
|As barehand damage has been reduced from {{hp|2}} to {{hp|1}}, the damages of all swords have been reduced to their pre Beta 1.5 values.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Sword [[damage]] has been reduced to make way for [[enchanting]]. A diamond sword's damage has been reduced from {{hp|10}} to {{hp|7}}, iron has been reduced from {{hp|8}} to {{hp|6}} and stone has been reduced from {{hp|6}} to {{hp|5}}. Wooden and golden swords still deal {{hp|4}} damage.|Iron swords are now found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Swords can now be enchanted in the [[enchantment table]].}}
{{History||1.1|snap=12w01a|Iron swords are now found in [[village]] blacksmith chests.}}
{{History||1.2.1|snap=12w06a|The [[player]] now has a rare chance of obtaining iron swords by killing [[zombie]]s and golden swords from [[zombie pigmen]] from the addition of [[rare drops]]. These swords have a 20% chance of being enchanted.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden swords.}}
{{History||1.3.1|snap=12w18a|Wooden swords can now be used as [[fuel]] in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] diamond swords for 12–13 [[emerald]]s, and iron swords for 7–10 emeralds.
|With the [[trading]] implementation, renewable [[item]]s such as [[wheat]] can now be [[trading|sold]] to buy a diamond sword. This has now made all swords [[Renewable Resource|renewable]].}}
{{History||1.4.2|snap=12w32a|[[Zombie]]s may sometimes wield iron swords, dealing extra [[damage]].}}
{{History|||snap=12w34a|If a [[player]] has dyed leather armor equipped and selected a sword of any kind, it appears in the color of the dye applied to the armor, when switching to second or third person view.}}
{{History|||snap=12w36a|Added [[wither skeleton]]s, which hold stone swords.}}
{{History||1.4.6|snap=12w49a|[[Unbreaking]] can now be applied to a sword with an [[enchanted book]].}}
{{History||1.6.1|snap=13w18a|Golden swords are now found in the new [[chest]]s in [[nether fortress]]es.}}
{{History|||snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.}}
{{History|||snap=13w25b|In [[Creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft wooden swords.}}
{{History||1.8|snap=14w02a|Weaponsmith [[villager]]s now [[trading|sell]] enchanted diamond swords for 12–15 [[emerald]]s, and iron swords for 9–10 emeralds. Unenchanted swords are no longer sold.}}
{{History|||snap=14w30a|Sword holding position have been tweaked, and the blocking animation has changed. Blocking while mining was made impossible. Blocking immediately after attacking no longer continues the swing animation.}}
{{History||1.9|snap=15w31a|[[Enchanting|Enchanted]] iron and diamond swords can now be found in [[end city]] ship [[chest]]s.}}
{{History|||snap=15w33c|Swords no longer block attacks. Instead, [[shield]]s are used.}}
{{History|||snap=15w34b|Swords now use the attack speed [[attribute]]. The attack speed of a sword is 1.25 or 0.8 seconds.}}
{{History|||snap=15w34c|Nerfed swords, they now do {{hp|1}} less [[damage]] and have an attack speed of 1.45, or 0.69 seconds.
|Swords can now do a sweep attack when moving at walking speed or slower, which knock back [[mob]]s near the one hit. The attack speed meter must be filled for it to work.}}
{{History|||snap=15w36a|Each [[Sharpness]] level now adds {{hp|1}} damage to the base damage at level I and an additional {{hp|0.5}} for each additional level, down from a flat {{hp|1.25}} per level.}}
{{History|||snap=15w37a|Swords now have an attack speed of 1.6, or 0.63 seconds.}}
{{History|||snap=15w43a|The average yield of golden swords in [[nether fortress]] chests has been decreased.}}
{{History|||snap=15w49a|Sweep attack now does {{hp|1}} damage to affected [[mob]]s and players.}}
{{History||1.11.1|snap=16w50a|Golden and iron swords now [[smelt]] down into one of their respective [[nugget]]s.
|Added [[Sweeping Edge]] enchantment.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 268, 272, 267, 276 and 283.}}
{{History|||snap=18w10a|Swords can now generate in [[buried treasure]] chests.}}
{{History||September 10, 2018|link={{tweet|JasperBoerstra|1039167196801458176}}|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] [[Jasper Boerstra]] tweets an image of updated sword textures.}}
{{History||1.14|snap=18w43a|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Swords now break [[bamboo]] instantly.}}
{{History||1.16|snap=20w06a|[[File:Netherite Sword JE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden swords.}}
{{History|||snap=20w09a|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.}}
{{History|||snap=20w10a|[[File:Netherite Sword JE2 BE2.png|32px]] The texture of netherite swords has been changed.
|Netherite swords can no longer be [[crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].}}
{{History|||snap=20w15a|Stone swords can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Golden and netherite swords now generate in [[bastion remnants]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.16.2|snap=20w30a|Damaged enchanted iron swords can now be found in [[bastion remnant]] chests.}}
{{History||1.17|snap=21w08a|Stone swords can now be crafted using [[cobbled deepslate]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden swords.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond swords to netherite swords now requires the netherite upgrade [[smithing template]].}}
{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all swords has been increased to 3.
|The base [[damage]] is now {{Hp|2}}, meaning that all swords now do {{Hp|1}} more damage than before}.
|The attack reach of swords has been increased to 3.5 [[block]]s.}}
{{History|||snap=Combat Test 2|The attack speed of all swords has been decreased to 2.5.}}
{{History|||snap=Combat Test 3|The attack speed of all swords has been changed from 2.5 back to 3.0.
|The attack key can now again be held down to automatically attack when the attack meter is full.
|Attacks now happen only when the sword is at 120% charge, slower than if attacks were timed.}}
{{History|||snap=Combat Test 4|Sword can now perform critical, knockback ([[sprint]]) hits on 100% charge.
|The attack reach of all weapons was decreased by 0.5 [[block]]. Sword now have a 3 [[block]]s reach.
|The 200% attack now gives a bonus reach of 1 [[block]].}}
{{History|||snap=Combat Test 5|Weapons have been nerfed. All material tiers have been nerfed by {{Hp|1}} except wood and gold, and the sword tier have been nerfed by {{Hp|1}}. This means that the wooden/stone/golden sword now does {{Hp|4}} damage, the iron sword now does {{Hp|5}} damage and the diamond sword now does {{Hp|6}} damage.}}
{{History|||snap=Combat Test 6|All weapons' attack reach have been buffed by 0.5 [[block]].
|200% attacks have been removed.
|Swords now always do sweep attack, even in the air.
|The cooldown for missed hit is a 4-tick cooldown instead of using the attack speed attribute.}}
{{History|||snap=Combat Test 7c|All weapons' attack reach have been nerfed by 0.5 [[block]]. The sword's attack reach is now 3 [[block]]s again.
|200% attacks have been re-added.
|Swords no longer sweep without [[Sweeping Edge]] and 200% charge again.
|Adjusted the netherite tier value to match the weapon nerf in Combat Test 5}}
{{History|||snap=Combat Test 8b|Enchantment bonus attack damage are now included in the base damage when calculating critical hits (they were excluded before). Due to this change, enchanted swords critical attacks are now way more powerful (especially with high enchantments)}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Sword JE1 BE1.png|32px]] Added stone swords.}}
{{History||v0.3.0|[[File:Wooden Sword JE1 BE1.png|32px]] Added wooden swords.
|Survival players no longer start out with an infinite durability stone sword in the inventory.}}
{{History||v0.3.2|[[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added iron, gold, and diamond swords.}}
{{History||v0.4.0|Iron swords have replaced stone swords in the creative inventory.}}
{{History||v0.9.0|snap=build 1|Iron swords can now be found in [[stronghold]] altar [[chest]]s and inside blacksmith chests.}}
{{History||v0.11.0|snap=build 11|Wooden, stone, golden and diamond swords are now available in the [[creative]] [[inventory]].}}
{{History||v0.11.0|snap=build 12|Wooden, stone, golden and diamond swords have been removed from creative.}}
{{History||v0.11.0|snap=build 13|All swords are available in creative mode again.}}
{{History||v0.12.1|snap=build 1|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.|In [[creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.|Golden swords can now be found in [[nether fortress]] chests.
|[[Zombie]]s now rarely spawn holding an iron sword that have a chance to [[drops|dropped]].
|Golden swords are now rarely dropped by [[zombie pigmen]].
|Stone swords are now rarely dropped by [[wither skeleton]]s.}}
{{History||v0.15.0|snap=build 1|Iron swords are now sometimes dropped by [[husk]]s that spawn holding an iron sword.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Enchanted iron and diamond swords can now be found in [[end city]] [[chest]]s.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Iron swords and enchanted diamond swords are now sold by weaponsmith [[villager]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden swords are now [[smelting|smeltable]].
|Added [[vex]]es, which rarely drop an iron sword if killed using [[Looting]] enchantment.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Iron swords are now found in [[plains]] [[village]] weaponsmiths.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron swords can now be found in [[savanna]], [[snowy taiga]], [[taiga]] and [[desert]] village weaponsmiths.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron swords upon [[death]].
|[[Trading]] has been changed. Iron swords [[trading|sold]] by weaponsmith [[villager]]s now cost 2 [[emerald]]s while diamond swords cost 8 emeralds as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Sword BE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.
|Golden swords are now sometimes [[drops|dropped]] by [[piglin]]s that spawn holding a golden sword.}}
{{History|||snap=beta 1.16.0.57|Netherite swords can no longer be [[crafting|crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].
|Stone swords can now be crafted using [[blackstone]].
|Golden and netherite swords now generate in [[bastion remnant]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.17.30|snap=beta 1.17.20.20|Swords now break [[bamboo]] instantly.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords (all five types).}}
{{History||xbox=TU5|The ability to block with swords has been added, giving the [[player]] more options in combat.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Iron and golden swords are now [[smelting|smeltable]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.}}
{{History||ps=1.92|The ability to block with swords has been removed.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords.
|Swords cannot block attacks.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
*The sword's traditional [[texture]] came from [[Notch]]'s abandoned RPG, ''[[Legend of the Chambered]]''. The iron sword's texture was created first, as it was from the game, and the other swords followed.
*In ''Java Edition'', with the introduction of netherite swords, it is possible to one-hit kill undead [[mob]]s in the game (except [[wither]]s and [[zombie]]s/[[skeleton]]s with random armor) using a sword with the [[Smite]] V enchantment, without the need to perform a critical hit (this was previously possible only with a [[Smite]] V stone, iron, or diamond axe).
*Plastic diamond and enchanted swords are official ''[[Minecraft]]'' merchandise.<ref>https://shop.minecraft.net/products/minecraft-sword?_pos=1&_psq=sword&_ss=e&_v=1.0</ref><ref>https://shop.minecraft.net/products/minecraft-enchanted-purple-sword?_pos=4&_psq=sword&_ss=e&_v=1.0</ref>
*In the game [[wikipedia:Transformice|''Transformice'']], a diamond sword can be found in the shop.

== Gallery ==
=== Enchanted swords ===
<gallery>
Enchanted Wooden Sword.gif|Enchanted wooden sword.
Enchanted Stone Sword.gif|Enchanted stone sword.
Enchanted Iron Sword.gif|Enchanted iron sword.
Enchanted Golden Sword.gif|Enchanted golden sword.
Enchanted Diamond Sword.gif|Enchanted diamond sword.
Enchanted Netherite Sword.gif|Enchanted netherite sword.
</gallery>

=== Texture packs ===
<gallery>
File:Wood sword TP.png|Wooden sword in the [[Texture Pack DLC|Plastic Pack]].
Stone Sword SDGP.png|Stone sword in the [[Super Duper Graphics Pack]].
File:Gold sword Natural.png|Gold sword in the [[Texture Pack DLC|Natural Pack]].
</gallery>

=== In other media ===
<gallery>
File:Alex Fighting in Nether.jpeg|Pixel art of [[Alex]] fighting with a diamond sword in the [[Nether]].
File:Alex Retrieving Diamond Sword.jpeg|Alex retrieving another diamond sword from a [[chest]].
File:Sinister Sword Sprite MCD.png|The [[MCD:Sinister Sword|Sinister Sword]], a unique sword featured in ''Minecraft Dungeons''.
File:Sword GUI.png|A nondescript [[MCD:Sword|sword]] as it appears in ''[[Minecraft Dungeons]]''.
File:Sword (item).png|A sword as it appears in ''[[Legend of the Chambered]]''.
File:Sword Shirt.png|Officially licensed T-Shirt of a diamond sword.
File:IronSword replica.jpg|Foam replica of an iron sword.
</gallery>

== References ==
{{reflist}}

{{Items}} 
[[Category:Tools]]
[[Category:Combat]]

[[de:Schwert]]
[[es:Espada]]
[[fr:Épée]]
[[hu:Kard]]
[[ja:剣]]
[[ko:검]]
[[nl:Zwaard]]
[[pl:Miecz]]
[[pt:Espada]]
[[ru:Меч]]
[[tr:Kılıç]]
[[uk:Меч]]
[[zh:剑]]</li></ul>
14w25aZombie sieges may again occur.
The start positioning of zombie sieges has been fixed: sieges now start near the village perimeter rather than anywhere within the village.
1.14
{{Extension DPL}}<ul><li>[[Boat with Chest|Boat with Chest]]<br/>{{ItemEntity
|image=Oak Boat with Chest.png
|extratext = View [[#Gallery|all renders]]
|stackable=No
|renewable=Yes
|flammable=Yes
|size='''{{IN|Java}}:'''<br>
Height: 0.5625 Blocks<br>Width: 1.375 Blocks<br>
'''{{IN|Bedrock}}:'''<br>
Height: 0.455 Blocks<br>Width: 1.4 Blocks

|networkid='''[[JE]]''': 1
}}
{{for|other kinds of boats|Boat (disambiguation)}}

A '''boat with chest''' is a single [[chest]] occupying the passenger seat of a [[boat]], and functions as such. As it can still be driven it can be used to transport [[item]]s over bodies of water.

== Obtaining ==
A boat with chest can be directly retrieved by attacking it, as it drops itself in item form, along with its contents.

[[Tool]]s and [[weapon]]s with damage above 4 can instantly destroy a boat with chest in one hit.{{only|Java}}

=== Crafting ===
{{Crafting
|head= 1
|Chest
|Matching Boat
|Output= Matching Boat with Chest
|type= Transportation
|foot= 1
}}

== Usage ==
A boat with chest can be used for the transportation of players, mobs and items, or as fuel when [[smelting]].

=== Fuel ===
A boat with chest can be used as fuel in a [[furnace]], it lasts 60 seconds, smelting up to 6 items.

=== Transportation ===
{{main|Boat#Transportation}}

Boats with chests can carry only one entity while regular boats can carry up to two.

== Behavior ==
[[File:All boats with chests.png|alt=This photo shows all the types of boats with chests.|thumb|240px|All types of boats with chests.]]
{{main|Boat#Behavior}}
Boats with chests share most behaviors with boats.

=== Item storage ===
[[File:Boat with Chest GUI.png|thumb|176px|The GUI of a boat with chest.]]
The inventory of the boat with chest has the same amount of slots as a single chest. Its inventory can be accessed by {{Control|Sneak|text=sneaking}} and {{Control|interact|text=interacting}} with the boat with chest, {{control|interact|text=interacting}} with the part of the boat with chest that actually contains the chest while another player or entity is inside the boat, or by opening the player's {{Control|inventory}} while inside the boat. This means that the player cannot access armor slots without exiting the boat.

When a boat with chest moves above, underneath, or beside a [[hopper]], its inventory is filled or drained accordingly. Due to the size of its hitbox, a boat with chest can be placed above up to 9 hoppers, allowing it to evenly split its items nine ways.

=== Naming ===
{{IN|java}}, unlike most other storage devices, a boat with chest renamed in an [[anvil]] does not display the custom name in its GUI.<ref>{{bug|MC-249408||Boats with Chests lose their name when placed}}</ref>

=== Piglin ===
As with other chests, opening or breaking a boat with chest causes nearby piglin(s) to attack the player.

== Sounds ==
{{Edition|Java}}:
Boats with chests use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Boat paddle land1.ogg
|sound2=Boat paddle land2.ogg
|sound3=Boat paddle land3.ogg
|sound4=Boat paddle land4.ogg
|sound5=Boat paddle land5.ogg
|sound6=Boat paddle land6.ogg
|subtitle=Rowing
|source=neutral
|description=While a boat with chest is rowed on land
|id=entity.boat.paddle_land
|translationkey=subtitles.entity.boat.paddle_land
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Boat paddle water1.ogg
|sound2=Boat paddle water2.ogg
|sound3=Boat paddle water3.ogg
|sound4=Boat paddle water4.ogg
|sound5=Boat paddle water5.ogg
|sound6=Boat paddle water6.ogg
|sound7=Boat paddle water7.ogg
|sound8=Boat paddle water8.ogg
|subtitle=Rowing
|source=neutral
|description=While a boat with chest is rowed in water
|id=entity.boat.paddle_water
|translationkey=subtitles.entity.boat.paddle_water
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Swim1.ogg
|sound2=Swim2.ogg
|sound3=Swim3.ogg
|sound4=Swim4.ogg
|source=player
|description=While a boat with chest is rowed in water
|id=random.swim
|pitch=0.6-1.4
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Oak Boat with Chest
|spritetype=item
|spritename=oak-boat with chest
|nameid=oak_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Spruce Boat with Chest
|spritetype=item
|spritename=spruce-boat with chest
|nameid=spruce_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Birch Boat with Chest
|spritetype=item
|spritename=birch-boat with chest
|nameid=birch_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Jungle Boat with Chest
|spritetype=item
|spritename=jungle-boat with chest
|nameid=jungle_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Acacia Boat with Chest
|spritetype=item
|spritename=acacia-boat with chest
|nameid=acacia_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Dark Oak Boat with Chest
|spritetype=item
|spritename=dark-oak-boat with chest
|nameid=dark_oak_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Mangrove Boat with Chest
|spritetype=item
|spritename=mangrove-boat with chest
|nameid=mangrove_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Cherry Boat with Chest
|spritetype=item
|spritename=cherry-boat with chest
|nameid=cherry_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Bamboo Raft with Chest
|spritetype=item
|spritename=bamboo-raft with chest
|nameid=bamboo_chest_raft
|itemtags=chest_boats
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Boat with Chest
|generatetranslationkeys=y
|displayname=Entity
|spritetype=entity
|spritename=boat-with-chest
|nameid=chest_boat
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Oak Boat with Chest
|spritetype=item
|nameid=oak_chest_boat
|aliasid=chest_boat / 0
|id=646
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.oak.name}}
{{ID table
|displayname=Spruce Boat with Chest
|spritetype=item
|nameid=spruce_chest_boat
|aliasid=chest_boat / 1
|id=649
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.spruce.name}}
{{ID table
|displayname=Birch Boat with Chest
|spritetype=item
|nameid=birch_chest_boat
|aliasid=chest_boat / 2
|id=647
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.birch.name}}
{{ID table
|displayname=Jungle Boat with Chest
|spritetype=item
|nameid=jungle_chest_boat
|aliasid=chest_boat / 3
|id=648
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.jungle.name}}
{{ID table
|displayname=Acacia Boat with Chest
|spritetype=item
|nameid=acacia_chest_boat
|aliasid=chest_boat / 4
|id=650
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.acacia.name}}
{{ID table
|displayname=Dark Oak Boat with Chest
|spritetype=item
|nameid=dark_oak_chest_boat
|aliasid=chest_boat / 5
|id=651
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.big_oak.name}}
{{ID table
|displayname=Mangrove Boat with Chest
|spritetype=item
|nameid=mangrove_chest_boat
|aliasid=chest_boat / 6
|id=652
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.mangrove.name}}
{{ID table
|displayname=Cherry Boat with Chest
|spritetype=item
|nameid=cherry_chest_boat
|aliasid=chest_boat / 8
|id=658
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.cherry.name}}
{{ID table
|displayname=Bamboo Raft with Chest
|spritetype=item
|nameid=bamboo_chest_raft
|aliasid=chest_boat / 7
|id=662
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.bamboo.name
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Form
|shownumericids=y
|generatetranslationkeys=y
|displayname=Entity
|spritetype=entity
|spritename=boat-with-chest
|nameid=chest_boat
|id=218
|foot=1}}

=== Entity data ===
Boat 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]].

== History ==
{{History||September 23, 2019|link={{ytl|Anv-lZc0pIM}}|The [[swamp]] was announced as a contender for the Biome Vote at [[MINECON Live 2019]]. Frogs, boats with chests, and mangrove trees were announced.}}
{{History||September 28, 2019|link={{ytl|UHoz0Q-LwUU}}|The swamp comes in second place in the Biome Vote, setting the release date of new swamp content further than new mountain content.}}
{{History||October 16, 2021|link={{ytl|w6zLprHHZOk|t=7085}}|[[File:Jungle Boat with Chest (pre-release).png|32px]] [[File:Dark Oak Boat with Chest (pre-release).png|32px]] Boats with chests were announced at [[Minecraft Live 2021]]. Only jungle and dark oak variants were shown.}}
{{History|java}}
{{History||1.19|snap=22w12a|[[File:Oak Boat with Chest JE1.png|32px]] [[File:Spruce Boat with Chest JE1.png|32px]] [[File:Birch Boat with Chest JE1.png|32px]] [[File:Jungle Boat with Chest JE1.png|32px]] [[File:Acacia Boat with Chest JE1.png|32px]] [[File:Dark Oak Boat with Chest JE1.png|32px]] [[File:Mangrove Boat with Chest JE1.png|32px]]<br>[[File:Oak Boat with Chest (item) JE1 BE1.png|32px]] [[File:Spruce Boat with Chest (item) JE1.png|32px]] [[File:Birch Boat with Chest (item) JE1 BE1.png|32px]] [[File:Jungle Boat with Chest (item) JE1 BE1.png|32px]] [[File:Acacia Boat with Chest (item) JE1 BE1.png|32px]] [[File:Dark Oak Boat with Chest (item) JE1 BE1.png|32px]] [[File:Mangrove Boat with Chest (item) JE1 BE1.png|32px]] Added boats with chests.
|Knob on chest is placed incorrectly 1 pixel up.}}
{{History|||snap=22w13a|[[File:Oak Boat with Chest JE2 BE1.png|32px]] [[File:Spruce Boat with Chest JE2 BE1.png|32px]] [[File:Birch Boat with Chest JE2 BE1.png|32px]] [[File:Jungle Boat with Chest JE2 BE1.png|32px]] [[File:Acacia Boat with Chest JE2 BE1.png|32px]] [[File:Dark Oak Boat with Chest JE2 BE1.png|32px]] [[File:Mangrove Boat with Chest JE2 BE1.png|32px]] Changed knob on chest position 1 pixel down to match [[Bedrock Edition]].
|Boats with chests can now be placed by [[dispenser]]s.}}
{{History|||snap=22w14a|Due to the addition of the [[mangrove tree]] and [[mangrove swamp]], make mangrove boat with chest obtainable and renewable.}}
{{History|||snap=22w15a|[[File:Oak Boat with Chest (item) JE2.png|32px]] [[File:Spruce Boat with Chest (item) JE2.png|32px]] [[File:Birch Boat with Chest (item) JE2.png|32px]] [[File:Jungle Boat with Chest (item) JE2.png|32px]] [[File:Acacia Boat with Chest (item) JE2.png|32px]] [[File:Dark Oak Boat with Chest (item) JE2.png|32px]] [[File:Mangrove Boat with Chest (item) JE2.png|32px]] Changed all boat with chest item textures.
|Now, the inventory can be accessed by {{control|using}} it directly when there is already a passenger inside of it.}}
{{History||October 15, 2022|link={{ytl|yZRXmHiEh7U&t}}|[[File:Bamboo Raft with Chest JE1 BE1.png|32px]] Bamboo rafts with chests were announced at [[Minecraft Live 2022]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|[[File:Bamboo Raft with Chest JE1 BE1.png|32px]] [[File:Bamboo Raft with Chest (item) JE1.png|32px]] Added bamboo rafts with chests behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=22w45a|[[File:Bamboo Raft with Chest (item) JE2 BE2.png|32px]] The item texture of the bamboo raft with chest has been changed.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Cherry Boat with Chest JE1.png|32px]] [[File:Cherry Boat with Chest (item) JE1.png|32px]] Added cherry boats with chests behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=1.19.4 Pre-release 2|[[File:Cherry Boat with Chest (item) JE2.png|32px]] The item texture of cherry boats with chests has now been changed.}}
{{History||1.20|snap=23w12a|Bamboo rafts with chests and cherry boats with chests are now available without using the "Update 1.20" experimental datapack.}}

{{History|bedrock}}
{{History||Wild Update<br>(Experimental)|link=Bedrock Edition 1.19.0|snap=beta 1.18.30.28|[[File:Oak Boat with Chest JE2 BE1.png|32px]] [[File:Spruce Boat with Chest JE2 BE1.png|32px]] [[File:Birch Boat with Chest JE2 BE1.png|32px]] [[File:Jungle Boat with Chest JE2 BE1.png|32px]] [[File:Acacia Boat with Chest JE2 BE1.png|32px]] [[File:Dark Oak Boat with Chest JE2 BE1.png|32px]]<br>[[File:Oak Boat with Chest (item) JE1 BE1.png|32px]] [[File:Spruce Boat with Chest (item) BE1.png|32px]] [[File:Birch Boat with Chest (item) JE1 BE1.png|32px]] [[File:Jungle Boat with Chest (item) JE1 BE1.png|32px]] [[File:Acacia Boat with Chest (item) JE1 BE1.png|32px]] [[File:Dark Oak Boat with Chest (item) JE1 BE1.png|32px]] Added boats with chests, missing mangrove type.
|Added unused translation keys for mangrove boat with chest.}}
{{History||1.19.0|snap=beta 1.19.0.20|Boats with chests are now available without enabling experimental gameplay.|[[File:Mangrove Boat with Chest JE2 BE1.png|32px]] [[File:Mangrove Boat with Chest (item) JE1 BE1.png|32px]] Added mangrove boats with chests.}}
{{History||1.19.0|snap=beta 1.19.0.26|[[File:Oak Boat with Chest (item) JE2.png|32px]] [[File:Spruce Boat with Chest (item) JE2.png|32px]] [[File:Birch Boat with Chest (item) JE2.png|32px]] [[File:Jungle Boat with Chest (item) JE2.png|32px]] [[File:Acacia Boat with Chest (item) JE2.png|32px]] [[File:Dark Oak Boat with Chest (item) JE2.png|32px]] [[File:Mangrove Boat with Chest (item) JE2.png|32px]] Changed all boat with chest item textures.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|[[File:Bamboo Raft with Chest JE1 BE1.png|32px]] [[File:Bamboo Raft with Chest (item) BE1.png|32px]] Added bamboo rafts with chests behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.}}
{{History|||snap=beta 1.19.60.20|[[File:Bamboo Raft with Chest (item) JE2 BE2.png|32px]] The item texture of the bamboo raft with chest has been changed to match ''[[Java Edition]]''.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|[[File:Cherry Boat with Chest JE1.png|32px]] [[File:Cherry Boat with Chest (item) JE2.png|32px]] Added cherry boats with chests behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.}}
{{History||1.20.0|snap=beta 1.20.0.21|Bamboo rafts with chests and cherry boats with chests are now available without using the "Next Major Update" experimental toggle.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* A [[chest]] is short enough that a boat with chest falls onto it rather than crashes into it.
* The chest texture is 12×12 pixels, rather than the 14×14 pixel texture the block uses. This is not the case with the [[minecart with chest]].
* Despite the minecart with chest using the Christmas texture, the boat with chest still uses the default chest texture during Christmas time.<ref>{{bug|MC-249378}}</ref>

== Gallery ==
=== Renders ===
<gallery>
Oak Boat with Chest.png|Oak Boat with Chest
Spruce Boat with Chest.png|Spruce Boat with Chest
Birch Boat with Chest.png|Birch Boat with Chest
Jungle Boat with Chest.png|Jungle Boat with Chest
Acacia Boat with Chest.png|Acacia Boat with Chest
Dark Oak Boat with Chest.png|Dark Oak Boat with Chest
Mangrove Boat with Chest.png|Mangrove Boat with Chest
Cherry Boat with Chest.png|Cherry Boat with Chest
Bamboo Raft with Chest.png|Bamboo Raft with Chest
Oak Boat with Chest (item) JE2.png|Oak Boat with Chest (item)
Spruce Boat with Chest (item) JE2.png|Spruce Boat with Chest (item)
Birch Boat with Chest (item) JE2.png|Birch Boat with Chest (item)
Jungle Boat with Chest (item) JE2.png|Jungle Boat with Chest (item)
Acacia Boat with Chest (item) JE2.png|Acacia Boat with Chest (item)
Dark Oak Boat with Chest (item) JE2.png|Dark Oak Boat with Chest (item)
Mangrove Boat with Chest (item) JE2.png|Mangrove Boat with Chest (item)
Cherry Boat with Chest (item) JE2.png|Cherry Boat with Chest (item)
Bamboo Raft with Chest (item) JE2 BE2.png|Bamboo Raft with Chest (item)
</gallery>

=== Concept Art ===
<gallery>
Bamboo Raft and Raft with Chest Concept Art.png|Ditto.
</gallery>

== References ==
{{reflist}}

{{Items}}
{{Entities}}


[[de:Boot mit Truhe]]
[[es:Barca con cofre]]
[[ja:チェスト付きのボート]]
[[ru:Лодка с сундуком]]
[[uk:Човен зі скринею]]
[[zh:运输船]]</li><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image = 
| image2 = 
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

== Obtaining ==
=== Natural generation ===
Redstone comparators generate in [[Ancient City|ancient cities]].

=== Breaking ===
A redstone comparator can be broken instantly with any [[tool]], or by hand, and drops itself as an item.

{{Breaking row|Redstone Comparator|horizontal=y}}

A redstone comparator is removed and dropped as an item if:
* its attachment block is moved, removed, or destroyed;
* [[water]] flows into its space;{{only|java}}
* a [[piston]] tries to push it or moves a block into its space.

If [[lava]] flows into a redstone comparator's space, the redstone comparator is destroyed without dropping as an item.

=== Crafting ===
{{Crafting
|B1=Redstone Torch
|A2=Redstone Torch
|B2=Nether Quartz
|C2=Redstone Torch
|A3=Stone
|B3=Stone
|C3=Stone
|Output= Redstone Comparator
|type=Redstone
}}

== Usage ==
A redstone comparator can be placed on the top of any [[opaque]] block with a solid full-height top surface (including upside-down [[slab]]s and upside-down [[stairs]]). {{IN|be}}, a comparator can also be placed on [[wall]]s and fences. For more information about placement on transparent blocks, see [[Opacity/Placement]].

The redstone comparator has a front and a back — the arrow on the top of the comparator points to the front. When placed, the comparator faces away from the player. The comparator has two miniature redstone torches at the back and one at the front. The back torches turn on when the comparator's output is greater than zero (the arrow on top also turns red). The front torch has two states that can be toggled by {{control|using}} the comparator:
* Down and unpowered (indicating the comparator is in "comparison mode")
* Up and powered (indicating the comparator is in "subtraction mode")

The redstone comparator can take a signal strength input from its rear as well as from both sides. Side inputs are accepted only from [[redstone dust]], [[block of redstone]], [[redstone repeater]]s, other comparators, and [[observer]]s in specific scenarios. The redstone comparator's front is its output.

It takes 1 [[redstone tick]] (2 game ticks, or 0.1 seconds barring lag) for signals to move through a redstone comparator, either from the rear or from the sides. This applies to changing signal strengths as well as simply to turning on and off. 

Redstone comparators check their power state before their scheduled ticks update. This results in redstone comparators not usually responding to 1-tick fluctuations of power or signal strength — for example, a [[clock circuit|1-clock]] input is treated as always off from the side, and always on from the rear. This happens because the signal changes back to its original state before the redstone comparator checks its input states. However, certain setups such as powering any input with two separate observer pulses at the same time will cause a redstone comparator to respond to 2 gametick pulses.

The redstone comparator has four functions: maintain signal strength, compare signal strength, subtract signal strength, and measure certain block states (primarily the fullness of containers).

=== Maintain signal strength ===
A redstone comparator with no powered sides outputs the same signal strength as its rear input.

=== Compare signal strength ===
[[File:Comparators Explained.png|Comparators in comparison mode.|thumb]]
A redstone comparator in comparison mode (front torch down and unpowered) compares its rear input to its two side inputs. If either side input is greater than the rear input, the comparator output turns off. If neither side input is greater than the rear input, the comparator outputs the same signal strength as its rear input.

The formula for calculating the output signal strength is as follows:

<code>output = rear × [[Wikipedia:Iverson bracket|[]]'''''left''''' ≤ '''''rear''''' AND '''''right''''' ≤ '''''rear'''''[[Wikipedia:Iverson bracket|<nowiki>]]]</code>
{{-}}

=== Subtract signal strength ===
[[File:Redstone comparator.png|thumb|The greatest of the side inputs A and C is subtracted from the rear input B, outputting 1. If either A or C were greater than B, it would output 0.]]
A redstone comparator in subtraction mode (front torch up and powered) subtracts the signal strength of the higher side input from the signal strength of the rear input.

<code>output = max('''''rear''''' − max('''''left''', '''right'''''), 0)</code>

For example: if the signal strength is 6 at the left input, 7 at the right input and 4 at the rear, the output signal has a strength of ''max(4 − max(6, 7), 0) = max(4−7, 0) = max(−3, 0) = 0''.

If the signal strength is 9 at the rear, 2 at the right input and 5 at the left input, the output signal has a strength of ''max(9 − max(2, 5), 0) = max(9−5, 0) = 4''.

=== Measure block state ===
{{Schematic | caption = A redstone comparator can measure the fullness of a chest, as well as other block states, even through an opaque block.
 |rd-ew!|rc-w!|ch|SB|rc-e!|rd-ew!
}}
A redstone comparator treats certain blocks behind it as power sources and outputs a signal strength proportional to the block's state. The comparator may be separated from the measured block by an opaque block. However, {{in|je}}, if the opaque block is powered to signal strength 15, then the comparator outputs 15 no matter the fullness of the container.<ref>{{bug|MC-64394}} (resolved as "Works As Intended")</ref>
[[Category:Java Edition specific information]]
{{-}}

==== Fullness of containers ====
{| class="wikitable floatright" style="margin-left: 0.5em; margin-right: 0; text-align: center;"
|+ Minimum Items for Container Signal Strength
|-
!Containers
!{{BlockSprite|Furnace|link=Furnace}}<br>{{BlockSprite|Blast Furnace|link=Blast Furnace}}<br>{{BlockSprite|Smoker|link=Smoker}}
!{{BlockSprite|Hopper|link=Hopper}}<br>{{EntitySprite|Minecart with Hopper|link=Minecart with Hopper}}<br>{{BlockSprite|Brewing Stand|link=Brewing Stand}}
!{{BlockSprite|Dispenser|link=Dispenser}}<br>{{BlockSprite|Dropper|link=Dropper}}
!{{BlockSprite|Chest|link=Chest}}<br>{{EntitySprite|Minecart with Chest|link=Minecart with Chest}}<br>{{BlockSprite|Shulker Box|link=Shulker Box}}<br>{{BlockSprite|Barrel|link=Barrel}}
![[Double Chest|{{Schematic|size=16|ch-s|-|ch-n}}
]]
!{{BlockSprite|Jukebox|link=Jukebox}}
|-
!Total Slots
!3!!5!!9!!27!!54!!1
|-
!Power Level
! colspan="5" |Number of Items
!Music Disc
|-
|0||0||0||0||0||0||No disc
|-
|1||1||1||1||1||1||"13"
|-
|2||14||23||42||1s 60||3s 55||"cat"
|-
|3||28||46||1s 19||3s 55||7s 46||"blocks"
|-
|4||42||1s 5||1s 60||5s 51||11s 37||"chirp"
|-
|5||55||1s 28||2s 37||7s 46||15s 28||"far"
|-
|6||1s 5||1s 51||3s 14||9s 42||19s 19||"mall"
|-
|7||1s 19||2s 10||3s 55||11s 37||23s 10||"mellohi"
|-
|8||1s 32||2s 32||4s 32||13s 32||27s||"stal"
|-
|9||1s 46||2s 55||5s 10||15s 28||30s 55||"strad"
|-
|10||1s 60||3s 14||5s 51||17s 23||34s 46||"ward"
|-
|11||2s 10||3s 37||6s 28||19s 19||38s 37||"11"
|-
|12||2s 23||3s 60||7s 5||21s 14||42s 28||"wait"
|-
|13||2s 37||4s 19||7s 46||23s 10||46s 19||"Pigstep"
|-
|14||2s 51||4s 42||8s 23||25s 5||50s 10||"Otherside"<br>"Relic"
|-
|15||3s||5s||9s||27s||54s||"5"
|}
A redstone comparator can output a signal indicating how full a container is. (0 for empty, 15 for full, etc.) The table on the right is described more in detail, later in this section.

Containers that can be measured by a comparator include:
* {{BlockLink|Furnace}}
* {{BlockLink|Blast Furnace}}
* {{BlockLink|Smoker}}
* {{BlockLink|Brewing Stand}}
* {{BlockLink|Hopper}}
* {{ItemLink|Minecart with Hopper}} on top of a [[detector rail]]
* {{BlockLink|Dispenser}}
* {{BlockLink|Dropper}}
* {{BlockLink|Chest}}
* {{BlockLink|Trapped Chest}}
* {{ItemLink|Minecart with Chest}} on top of a [[detector rail]]
* {{BlockLink|Barrel}}
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large chest
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large trapped chest
* {{BlockLink|Shulker Box}} (any color)

Generally speaking, the comparator output signal strength represents the average fullness of the slots, based on how many of that item form a full stack (64, 16, or 1 for non-stackable items).

The ''Minimum Items for Container Signal Strength'' table (right) shows the minimum '''''full-stack-equivalent (FSE)''''' to produce different signal strengths from common containers. A '''''full-stack-equivalent''''' quantifies how many normal 64-stackable items are needed to output a corresponding signal strength. The 's' is a constant 64, with the additional amount needed following after.

One may also consider the terms: '''c''umulative-weight''''' or '''''weighted-sum''''' instead of '''''full-stack-equivalent'''''.

Items that stack to a max of 16  ([[snowball]]s, [[sign]]s, [[ender pearl]]s, etc.), contribute +4 to the ''full-stack-equivalent'' for each unity (count of 1 item). Similarly, items that stack to 1 ([[minecart]], [[boat]], etc.) contribute +64, and items that stack to 64 contribute +1.

Example 1: 3 ender pearls will contribute a 3 x 4 = 12 ''full-stack-equivalent''.

Example 2: 16 ender pearls and 60 redstone dust contributes a 16x4 + 60x1 = 124 ''full-stack-equivalent''.

Example 3: 1 minecart and 60 redstone dust contributes a 1x64 + 60x1 = 124 ''full-stack-equivalent''.

Example 4: To produce a signal strength of 10 from a hopper, one requires a ''full-stack-equivalent'' of at least 3s + 14 = 206 but strictly less than than 3s + 37 = 229. This can be done with 3 minecarts, and 14 dirt.

When a comparator measures a large chest or large trapped chest, it measures the entire large chest (54 slots), not just the half directly behind the comparator. A chest or trapped chest that cannot be opened (either because it has an opaque block, [[ocelot]], or [[cat]] above it) always produces an output of 0 no matter how many items are in the container — shulker boxes can always be measured, even if they cannot open.

;Calculating signal strength from items

:When a container is empty, the output is off.

:When it is not empty, the output signal strength is calculated as follows:

:<code>'''''signal strength''''' = floor(1 + (('''''sum of all slots' fullnesses''''') / ('''''number of slots in container''''')) × 14)</code>

:<code>fullness of a slot = '''''number of items in slot''''' / '''''max stack size for this type of item'''''</code>

:''Example:'' 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64 has a 300 ''full-stack-equivalent.'' This produces an output with a signal strength of 8:
<blockquote>
1 + ((300 items / 64 items per slot) / 9 slots) × 14 = 8.292, floored is 8
</blockquote>

;Calculating items from signal strength

:It can be useful in redstone circuits to use containers with comparators to create signals of a specific strength. The number of items required in a container to produce a signal of desired strength is calculated as follows:

:<code>items required = max('''''desired signal strength''''', roundup(('''''total slots in container''''' × 64 / 14) × (desired signal strength − 1)))</code>

:''Example:'' To use a furnace (which has 3 slots) to create a strength 9 signal, players need 110 items:
<blockquote>
max(9, (3×64/14) × (9−1)) = 109.714, rounded up is 110
</blockquote>
{{-}}

==== Miscellaneous ====
[[File:Comparator storage.png|Comparators used to measure containers.|thumb]]
Some non-container blocks can also be measured by a redstone comparator:

;{{BlockLink|Beehive}} and {{BlockLink|Bee nest}}

: A hive or nest outputs a signal strength equal to the amount of honey in the hive/nest.

;{{BlockLink|Cake}}

: A cake outputs a signal strength relative to the amount of cake remaining.  Each slice is worth 2 signal strength, with 7 total slices, for an output of 14 for a full cake.

[[File:Cauldron Redstone Strength Values.png|Cauldron signal strength|thumb]]
;{{BlockLink|Cauldron}}

: A cauldron outputs different signal strengths depending on how much water or powdered snow is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3. If lava or powder snow is inside, the strength is always 3.

[[File:Composter Redstone Strength Values.png|Composter signal strength|thumb]]
;{{BlockLink|Composter}}

: A composter outputs different signal strengths depending on the level inside. From completely empty to completely full, the output values are 0, 1, 2, 3, 4, 5, 6, 7 and 8.

;{{Anchor|CommandBlock}}{{BlockLink|Command Block}}

: A command block stores the "success count" of the last command executed, which represents the number of times the most recently used command of this command block succeeded. A "success" is defined by the [[command]]'s success conditions: if a red error message is returned in the chat, the command was not successful.

: Most commands can succeed once per execution, but certain commands (such as those that accept players as arguments) can succeed multiple times, and the comparator outputs the number of times it succeeded (maximum 15 when sent to redstone dust, but in the code it is able to go up to the 32-bit integer limit, and can be used in contraptions with no redstone dust with those values).

: A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator continues to output the same signal strength even after the command block is no longer being activated (it doesn't turn off when the signal to the command block turns off).

;{{BlockLink|End Portal Frame}}

: An end portal frame outputs a full signal of 15 if it contains an [[eye of ender]] and zero otherwise.

[[File:Item frame and comparator.png|A comparator can measure the presence and rotation of an item frame's contents.|thumb]]

;{{EntityLink|Item Frame}}

: A comparator can measure the state of an [[item frame]]'s contents. An item frame comparator outputs 0 if the item frame is empty, or 1 to 8 for any item depending on its rotation: 1 at initial placement, plus 1 for each 45° of rotation for a maximum of 8.

: For an item frame that holds a map, a unit of rotation is 90° instead of 45°, but a comparator still outputs power levels 1 to 8. It takes two full rotations to cycle through all comparator outputs, and each orientation of the map corresponds to two output levels that differ by 4.

: The comparator must be placed behind the block the item frame is attached to, facing away from the item frame. The block must be a full block, and the item frame cannot be submerged in water. Having a sign in the same block as the item frame will prevent the frame from sending a signal as well.{{only|java}}

;{{BlockLink|Jukebox}}

: A jukebox outputs a signal strength indicating which music disc is currently playing. See the ''Minimum Items for Container Signal Strength'' table above.

;{{BlockLink|Lectern}}

: A lectern outputs a signal strength that depends on what page the player is currently on. The calculation used is:
:<code>'''''signal strength''''' = floor(1 + (('''''current page''''' - 1) / ('''''number of pages in book''''' - 1)) × 14)</code>
:This results in page 1 having a signal strength of 1, and the last page having a signal strength of 15. The exception is a single page book, which will output a signal strength of 15.
:For example, a book with 15 pages will output a signal equal to the current page number.  A book with 5 pages will output signal strengths of 1, 4, 8, 11 and 15 for the different pages. A book with 100 pages will have the signal strength increase to the next level on pages 1, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93 and 100.
:

;{{BlockLink|Respawn Anchor}}

: A respawn anchor outputs a signal strength of 0, 3, 7, 11, or 15, depending on the "charged" value.

;{{BlockLink|Sculk Sensor}}

: A sculk sensor outputs a signal strength depending on the type of vibration that is detected.

;{{BlockLink|Chiseled Bookshelf}}

: A chisled bookshelf outputs a signal strength between 1 and 6 indicating the last slot interacted with. When no slot has been interacted with yet, it outputs 0.
{{-}}

== Sounds ==
=== Generic ===
{{Edition|Java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|Bedrock}}:
{{Sound table/Block/Wood/BE}}

=== Unique ===
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Click.ogg
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to subtraction mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.55
|distance=16}}
{{Sound table
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to comparison mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.5
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Click.ogg
|source=block
|description=When a comparator is set to subtraction mode
|id=block.click
|volume=0.2
|pitch=0.55}}
{{Sound table
|source=block
|description=When a comparator is set to comparison mode
|id=block.click
|volume=0.2
|pitch=0.5
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Redstone Comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=comparator
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Comparator
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Unpowered block
|spritename=unpowered-comparator
|spritetype=block
|nameid=unpowered_comparator
|id=149
|form=block
|translationkey=-}}
{{ID table
|displayname=Powered block
|spritename=powered-comparator
|spritetype=block
|nameid=powered_comparator
|id=150
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=redstone-comparator
|spritetype=item
|nameid=comparator
|id=522
|form=item
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=Comparator
|foot=1}}

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

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

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

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

== Advancements ==
{{Load advancements|the power of books}}

== Video ==

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

== History ==
{{info needed section|If {{bug|MC-50242}} also affected comparators?}}
''For a more in-depth breakdown of changes to repeater textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java}}
{{History||November 24, 2012|link=https://youtube.com/watch?v=YG9RNyRhIow&t=6m56s|[[Jeb]] stated that there may be a "capacitor" in [[Minecraft]]. }}
{{History||December 27, 2012|link={{tweet|Dinnerbone|284388625595125760}}|[[Dinnerbone]] released [https://web.archive.org/web/20190710120115/https://imgur.com/a/FBKed pictures] of the first version of the "comparator", stating it was a replacement for the "capacitor" idea that has variable, alternate inputs.}}
{{History||January 2, 2013|link={{tweet|Dinnerbone|286428595423965184}}|Dinnerbone released one more [http://dinnerbone.com/media/uploads/2013-01/screenshots/2013-01-02_12.06.47.png picture] of the comparator. The picture itself showing a digital-to-analog converter, using the comparator as the main [[block]].}}
{{History||1.5|snap=13w01a|[[File:Redstone Comparator (S) JE1.png|32px]] [[File:Powered Redstone Comparator (S) JE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.
|Redstone comparators have 0 delay.
At this point, block ID 149 was used for unpowered comparators, and block ID 150 for powered comparators.}}
{{History|||snap=13w01b|A delay of 1 game tick ({{frac|1|2}} redstone tick) has now been added to redstone comparators to fix bugs.
|The ability to measure containers to redstone comparators has now been added.}}
{{History|||snap=13w02a|[[File:Redstone Comparator (S) JE2.png|32px]] [[File:Powered Redstone Comparator (S) JE2.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2.png|32px]] The appearance of redstone comparators has now been changed - the top texture has changed to show [[quartz]] in the middle and the sides now use the [[smooth stone]] texture rather than the smooth stone slab side texture.
|The algorithm for measuring containers has now been changed so that redstone comparators output a signal with as few as 1 [[item]] in the container.}}
{{History|||snap=13w02b|Redstone comparators now treat large [[chest]]s as a single container.}}
{{History|||snap=13w03a|Redstone comparators now output success count of [[command block]]s.
|Redstone comparators now measure container [[minecart]]s on [[detector rail]]s.}}
{{History|||snap=13w04a|Redstone comparators now measure [[jukebox]]es.}}
{{History|||snap=13w05a|Redstone comparators no longer cause constant [[block]] updates. The delay has now been made consistent, and side input no longer causes a pulse output.
|Block 150 (later <code>powered_comparator</code>) is no longer used; powered state is now represented by the 8s bit on block 149 (later <code>unpowered_comparator</code>).}}
{{History|||snap=13w05b|Redstone comparator delay has now been changed from 1 game tick (1/2 [[redstone]] tick) to 2 game ticks (1 redstone tick).}}
{{History|||snap=13w09c|The redstone signal strength from a redstone comparator next to a [[brewing stand]] with 3 [[water bottle]]s in it is now the same as one with 3 water bottles and 1 ingredient in it.}}
{{History||1.6.1|snap=13w18a|Redstone comparators now measure [[cauldron]]s and [[end portal frame]]s.}}
{{History||1.8|snap=14w04a|Redstone comparators now measure [[item frame]]s.}}
{{History|||snap=14w10a|The torches under redstone comparators have now been shortened, which has changed the underside appearance from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=14w25a|[[File:Redstone Comparator (S) JE3.png|32px]] [[File:Powered Redstone Comparator (S) JE3.png|32px]] [[File:Subtracting Redstone Comparator (S) JE3.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE3.png|32px]] The torches on comparators are now subject to ambient occlusion.
|Comparators set to subtract mode appear to be powered as well regardless of incoming power. The subtracting-only model still exists and can be achieved through {{cmd|setblock}}.}}
{{History|||snap=14w25b|[[File:Subtracting Redstone Comparator (S) JE4.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE4.png|32px]] The powered front torch when in subtraction mode is now lower.
|Comparators set to subtract by hand now appear normally again.}}
{{History|||snap=14w28a|Redstone comparators now measure [[cake]]s.}}
{{History||1.9|snap=15w42a|With the addition of the [[blaze powder]] fuel slot, [[brewing stand]]s now have 5 slots instead of 4. Their original comparative power values from redstone comparators are listed below:
{{{!}} class{{=}}"wikitable collapsible collapsed" data-description{{=}}"Original values"
! Original values
{{!}}-
{{!}}
*0: 0
*1: 1
*2: 19
*3: 37
*4: 55
*5: 1s 10
*6: 1s 28
*7: 1s 46
*8: 2s
*9: 2s 19
*10: 2s 37
*11: 2s 55
*12: 3s 10
*13: 3s 28
*14: 3s 46
*15: 4s
{{!}}}
}}
{{History|||snap=15w47a|Redstone comparators' side inputs now take power from [[redstone block]]s.}}
{{History||1.13|snap=17w47a|All 3 IDs for the redstone comparator have now been merged into one ID: <code>comparator</code>.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]].
|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 149 and 150, and the [[item]]'s 404.
|As a result, the formerly unused comparator ID is now technically used again, due to both unpowered and powered versions being merged into a single comparator block ID.}}
{{History||1.14|snap=18w43a|[[File:Redstone Comparator (S) JE4.png|32px]] [[File:Powered Redstone Comparator (S) JE4.png|32px]] [[File:Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|||snap=19w02a|Redstone comparators now measure [[lectern]]s.}}
{{History|||snap=19w03a|Redstone comparators now measure [[composter]]s.}}
{{History|||snap=19w12b|Redstone comparators can now be placed on [[glass]], [[ice]], [[glowstone]] and [[sea lantern]]s.}}
{{History||1.15|snap=19w34a|Redstone comparators now measure how much honey is inside [[beehive|bee hive]]s and [[bee nest]]s.}}
{{History||1.16|snap=20w06a|The way to calculate the input signals of redstone comparators has now been changed.}}
{{History|||snap=20w11a|The changes to the way of calculating the input signals of redstone comparators from [[Java Edition 20w06a|20w06a]] have now been reverted.}}
{{History|||snap=20w16a|Redstone comparators now measure [[Pigstep music disc]]s in [[jukebox]]es.}}
{{History||1.17|snap=20w45a|Redstone comparators now measure [[lava cauldron]]s.}}
{{History|||snap=20w46a|Redstone comparators now measure [[Cauldron#Holding powder snow|powder snow cauldron‌]]s.}}
{{History||1.18|snap=21w41a|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.19|snap=22w13a|Redstone comparators now generate as part of [[ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Redstone comparators now measure [[chiseled bookshelves]].}}
{{History||1.20.2|snap=23w33a|Redstone comparators now use stone sounds instead of wood sounds.<ref>{{bug|MC-182820|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Redstone comparators now measure [[end portal frame]]s.}}
{{History||1.0.5|snap=alpha 1.0.5.0|Redstone comparators now output success count of [[command block]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone comparators now measure [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Redstone comparators now measure [[jukebox]]es.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]]}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone comparators now measure [[smoker]]s, [[blast furnace]]s, [[lectern]]s and [[composter]]s.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.20.30|snap=beta 1.20.30.20|Redstone comparators now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|Redstone comparators can now measure [[item frame]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] Added redstone comparators.}}
{{History|foot}}

=== Redstone comparator "items" ===
{{:Technical blocks/Redstone Comparator}}

== Issues ==
{{issue list}}

== Trivia ==
* Comparators do not emit redstone particles when powered, unlike redstone torches and repeaters.<ref>{{bug|MC-51692|||WAI}}</ref>

== Gallery ==
<gallery>
Dinnerbone Comparator 1.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 2.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 3.png|Dinnerbone showing how comparators work.
Dinnerbone Comparators 1.png|A contraption incorporating comparators.
Dinnerbone Comparators 2.png|Comparators in action.
Dinnerbone Comparators 3.png|Output specific signals.
Dinnerbone Comparator Thing.png|Another comparator in use.
Item Frame Comparator.png|Rotating the torch in the item frame adjusts the comparator's output.
</gallery>

== References ==
{{reflist}}

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

[[Category:Mechanics]]
[[Category:Block entities]]
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Non-solid blocks]]

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki>
?Siege mechanics significantly changed due to changes in village determination: sieges can now start anywhere in a village, the starting point is always 32 blocks from the triggering player, minimum village population limit removed, zombies now always spawn on the surface, and spawns consider light levels.[verify]
1.14.3
{{Extension DPL}}<ul><li>[[Magma Cream|Magma Cream]]<br/>{{Item
| title = Magma Cream
| image = Magma Cream.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Magma cream''' is an [[item]] used in [[brewing]] to create [[potion]]s of [[Fire Resistance]], and to manually craft [[magma block]]s.

== Obtaining ==

=== Mob loot ===

==== Magma cubes ====

All but tiny-sized [[magma cube]]s drop 0–1 magma cream. The maximum amount of magma cream is increased by 1 per level of [[Looting]], for a maximum of 4 with Looting III.

=== Crafting ===

{{Crafting
|Blaze Powder
|Slimeball
|Output= Magma Cream
|type= Brewing
}}

=== Chest Loot ===
{{LootChestItem|magma-cream}}

== Usage ==

=== Brewing ingredient ===

{{brewing
  |showname=1
  |head=1
  |Magma Cream|Mundane Potion|base=Water Bottle
}}
{{brewing
  |foot=1
  |Magma Cream
  |Potion of Fire Resistance
}}

=== Crafting ingredient ===

{{crafting usage}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Magma Cream
|spritetype=item
|nameid=magma_cream
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Magma Cream
|spritetype=item
|nameid=magma_cream
|id=430
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Magma Cream JE1.png|32px]] Added magma cream.}}
{{History|||snap=Beta 1.9 Prerelease 3|Magma cream can now be [[brewing|brewed]] in a [[water bottle]] to create a mundane [[potion]], or in an awkward potion to create a potion of [[Fire Resistance]].}}
{{History||1.1|snap=release|[[Magma cube]]s now [[drops|drop]] magma cream.}}
{{History||1.3.1|snap=1.3|[[File:Magma Cream JE2 BE1.png|32px]] The texture of magma cream has been changed.}}
{{History||1.10|snap=16w20a|Magma cream can now be [[crafting|crafted]] into [[magma block]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 378.}}
{{History||1.14|snap=18w43a|[[File:Magma Cream JE3 BE2.png|32px]] The texture of magma cream has been changed.}}
{{History||1.16|snap=20w07a|Magma cream has a {{frac|2|109}} (~1.83%) chance of being offered by [[piglin]]s when [[bartering]], in a stack size of 1–3.}}
{{History|||snap=20w09a|Magma cream now has a {{frac|10|226}} (~4.42%) chance of being offered by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w16a|Magma cream now generates in [[bastion remnant]]s chests.}}
{{History||1.16.2|snap=20w28a|Magma cream can no longer be obtained from bartering with piglins.}}
{{History|||snap=20w30a|The average yield of magma cream from bastion remnant chests has been slightly increased.}}

{{History|pocket edition alpha}}
{{History||v0.11.0|snap=build 1|[[File:Magma Cream JE2 BE1.png|32px]] Added magma cream.
|Magma cream is currently unobtainable.}}
{{History||v0.11.0|snap=build 8|[[Magma cube]]s now [[drops|drop]] magma cream.}}
{{History||v0.12.1|snap=build 1|Added magma cream to the [[Creative]] mode [[inventory]].
|Magma cream can now be [[crafting|crafted]].}}
{{History|pocket}}
{{History||1.1.3|snap=alpha 1.1.3.0|Magma cream can now be crafted into [[magma block]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Magma Cream JE3 BE2.png|32px]] The texture of magma cream has been changed.}}
{{History||1.16.0|snap=beta 1.16.0.57|Magma cream can be obtained from bartering with piglins.
|Magma cream can now be found in [[bastion remnants]] chests.}}
{{History||1.16.100|snap=beta 1.16.100.54|Magma cream can no longer be obtained from [[barter]]ing with [[piglin]]s.}}

{{History|console}} 
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Magma Cream JE2 BE1.png|32px]] Added magma cream.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Magma Cream JE3 BE2.png|32px]] The texture of magma cream has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Magma Cream JE2 BE1.png|32px]] Added magma cream.}}
{{history|foot}}

== Issues ==

{{issue list}}

{{items}}

[[Category:Renewable resources]]

[[cs:Lávová pěna]]
[[de:Magmacreme]]
[[es:Crema de magma]]
[[fr:Crème de magma]]
[[hu:Magmakrém]]
[[ja:マグマクリーム]]
[[ko:마그마 크림]]
[[lzh:火漿膏]]
[[nl:Magmacrème]]
[[pl:Magmowy krem]]
[[pt:Creme de magma]]
[[ru:Лавовый крем]]
[[th:ครีมแมกม่า]]
[[uk:Магмовий крем]]
[[zh:岩浆膏]]</li><li>[[Beetroot Soup|Beetroot Soup]]<br/>{{for|other uses|Soup}}
{{Item
| title = Beetroot Soup
| image = Beetroot Soup.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = No
}}

'''Beetroot soup''' is an unstackable [[food]] item.

== Obtaining ==

=== Crafting ===
{{Crafting
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Bowl
|Output=Beetroot Soup
|type=Foodstuff
}}

=== Natural generation ===

{{LootChestItem|beetroot-soup}}

== Usage ==

Beetroot soup can be eaten to restore {{hunger|6}} [[hunger]] points and 7.2 [[Hunger#Mechanics|saturation]], the same as [[cooked chicken]] and [[mushroom stew]]. After eating, the empty [[bowl]] remains, similarly to mushroom stew and [[rabbit stew]].

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

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Beetroot Soup
|spritetype=item
|nameid=beetroot_soup
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Beetroot Soup
|spritetype=item
|nameid=beetroot_soup
|id=286
|form=item
|foot=1}}

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

== History ==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 436.}}
{{History||1.14|snap=18w43a|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History|||snap=18w49a|Beetroot soup can now be found in [[chest]]s in [[snowy tundra]] [[village]] houses.}}

{{History|pocket alpha}}
{{History||November 14, 2013|link={{tweet|jbernhardsson|400902957782147072}}|[[Johan Bernhardsson]] posts an image of beetroot soup.}}
{{History||v0.8.0|snap=build 2|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup. It is not obtainable in the Creative inventory.}}
{{History||v0.9.0|snap=build 1|Beetroot soup now requires 6 [[beetroot]]s instead of 4.}}
{{History||v0.12.1|snap=build 12|Beetroot soup now restores {{hunger|6}} instead of {{health|8}}.}}
{{History||v0.13.0|snap=build 3|Beetroot soup can now be stacked.}}
{{history|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Beetroot soup has been added to the Creative inventory.<ref name="missing beetroot soup">{{Bug|MCPE-13804}}</ref>}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History||1.11.0|snap=beta 1.11.0.1|Beetroot soup can now be found in [[snowy tundra]] [[village]] house [[chest]]s.}}

{{History|console}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|switch=1.0.1|wiiu=Patch 13|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.
|Beetroot soup is not available within the [[Creative inventory]].}}
{{History||?|Added beetroot soup to the Creative inventory.{{info needed|Which update did this occur?}}}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{Items}}

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

[[de:Borschtsch]]
[[es:Estofado de remolacha]]
[[fr:Soupe de betteraves]]
[[it:Zuppa di barbabietole]]
[[ja:ビートルートスープ]]
[[ko:비트 수프]]
[[nl:Bietensoep]]
[[pl:Barszcz]]
[[pt:Ensopado de beterraba]]
[[ru:Свекольный суп]]
[[th:ซุปบีทรูท]]
[[uk:Борщ]]
[[zh:甜菜汤]]</li></ul>
Pre-Release 3The bug that caused zombie sieges to never occur has been fixed.[2]
1.19
{{Extension DPL}}<ul><li>[[Rabbit's Foot|Rabbit's Foot]]<br/>{{Item
| image = Rabbit's Foot.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
A '''rabbit's foot''' is a [[brewing]] item obtained from [[rabbit]]s.

== Obtaining ==

=== Mob loot ===
Each [[rabbit]] has a 10% chance to drop a rabbit's foot when killed by the [[player]]. This chance can be increased by 3% per level using a sword enchanted with [[Looting]].

A [[fox]] sometimes spawns with a rabbit's foot in its mouth, which always drops upon death. Alternatively, the player can drop a [[food]] item, which causes the fox to drop the rabbit's foot.

=== Cat gifts ===
{{main|Cat#Gifts}}
A tamed [[cat]] has a 70% chance of giving the player a gift when the player wakes up from a [[bed]], and the gift has a 16.13% chance to be a rabbit's foot.

== Usage ==

=== Brewing ingredient ===

{{Brewing
  |head=1
  |Rabbit's Foot
  |Mundane Potion
  |base=Water Bottle
}}
{{brewing
  |foot=1
  |showname=1
  |Rabbit's Foot
  |Potion of Leaping
}}

=== Trading ===
Journeyman-level cleric [[villager]]s buy rabbit's feet for an [[emerald]] as part of their trade: {{in|java}} they buy 2, and {{in|bedrock}} they buy 4.

== Video ==

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Rabbit's Foot
|spritetype=item
|nameid=rabbit_foot
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Rabbit's Foot
|spritetype=item
|nameid=rabbit_foot
|id=528
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.8|snap=June 30, 2014|slink=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweeted images of a rabbit's foot with some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Rabbit's Foot JE1.png|32px]] Added rabbit's foot.
|Added the [[potion of Leaping]]; it is [[brewing|brewed]] by adding a rabbit's foot to an [[awkward potion]]. The rabbit's foot also creates the [[mundane potion]] when brewed into a [[water bottle]].}}
{{History|||snap=14w33b|[[File:Rabbit's Foot JE2 BE1.png|32px]] The texture of the rabbit's foot has been changed. The new texture was created by [[wikipedia:Reddit|Reddit]] user [http://www.reddit.com/u/zeldahuman zeldahuman].<ref>{{reddit|2bjzes/a_reminder_of_the_blocks_and_items_added_in_18_so|cj69zie|context=3}}</ref><ref>{{reddit|2c5f35/minecraft_snapshot_14w31a_has_been_released|cjct7gb}}</ref>}}
{{History||1.8.1|snap=pre1|Potions of Leaping, which use rabbit's foot, can now be extended using [[redstone]].}}
{{History||1.9|snap=15w46a|The drop rate of rabbit's foot has been quadrupled.{{more info|Before/After rates}}}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 414.}}
{{History||1.14|snap=18w43a|[[File:Rabbit's Foot JE3 BE2.png|32px]] The texture of rabbit's foot has been changed.}}
{{History|||snap=18w44a|[[Cat]]s now offer rabbit's feet as [[Cat#Gifts|gifts]].}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with rabbit's feet in their mouths.}}
{{History|||snap=19w11a|Cleric [[villager]]s now [[trading|buy]] rabbit's feet.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Rabbit's Foot JE2 BE1.png|32px]] Added rabbit's foot to the [[Creative]] mode [[inventory]].}}
{{History||v0.13.0|snap=build 1|Rabbit's foot can now be obtained as a rare [[drops|drop]] upon killing [[rabbit]]s.
|Rabbit's foot can now be [[brewing|brewed]] to make [[potions of Leaping]].}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give the [[player]] rabbit's foot as a gift.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Rabbit's Foot JE3 BE2.png|32px]] The texture of rabbit's foot has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Rabbit's foot can now be [[trading|sold]] to cleric [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] rabbit's foot.}}

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

{{History|New 3DS}}
{{History||0.1.0|[[File:Rabbit's Foot JE2 BE1.png|32px]] Added rabbit's foot.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The superstition that [[wikipedia:Rabbit's_foot|a rabbit's foot is a lucky charm]] applies equally to Minecraft as it does in the real world: it does not actually increase luck.

== Gallery ==
<gallery>
Rabbit Items 4 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
Rabbit Items 5 Ryan Holtz.png|Ryan Holtz brewing the item into a potion.
Rabbit Items 6 Ryan Holtz.png|Ryan Holtz enhancing the potion.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--rabbit-s-foot Taking Inventory: Rabbit's Foot] – Minecraft.net on May 3, 2019

{{items}}

[[de:Hasenpfote]]
[[es:Pata de conejo]]
[[fr:Patte de lapin]]
[[it:Zampa di coniglio]]
[[ja:ウサギの足]]
[[ko:토끼발]]
[[nl:Konijnenpootje]]
[[pl:Królicza łapka]]
[[pt:Pé de coelho]]
[[ru:Кроличья лапка]]
[[uk:Кроляча лапка]]
[[zh:兔子脚]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li><li>[[Yellow Dye|Yellow Dye]]<br/>{{Item
| title = Yellow Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Yellow dye''' is a [[Dye#Primary|primary dye]] created by placing a [[dandelion]] or [[sunflower]] into a [[crafting]] grid.

== Obtaining ==

=== Crafting ===
{{Crafting
  |Dandelion;Sunflower
  |Output=Yellow Dye;Yellow Dye,2
  |type=Material
}}

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

=== Trading ===

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

== Usage ==
{{dye usage}}

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

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Yellow Dye
|spritetype=item
|nameid=yellow_dye
|aliasid=dye / 11
|id=406
|form=item
|translationkey=item.dye.yellow.name
|foot=1}}

== Video ==
{{yt|nOQUDjEHGRg}}

== History ==
{{History|java beta}}
{{History||1.2|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History||1.6.6|Dandelions can now be generated using [[Bone Meal|bone meal]], making dandelion yellow [[renewable resource|renewable]].}}
{{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|Dandelion yellow can be 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=13w36a|Can now be crafted using sunflower.}}
{{History|||snap=13w37a|Each dandelion now yields only 1 dandelion yellow, instead of 2.}}
{{History|||snap=13w41a|[[Stained glass]] can now be [[crafting|crafted]].}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be [[dye]]d.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Yellow dye can now be used to craft yellow [[concrete powder]].}}
{{History|||snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|"Dandelion Yellow" has now been renamed to "Yellow Dye".
|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}
{{History|||snap=18w44a|Yellow dye can now change the text color on [[sign]]s to yellow.}}
{{History|||snap=18w49a|Yellow dye can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells yellow dye.}}
{{History|||snap=19w11a|Yellow dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Yellow dye can now be used to craft [[yellow candle]]s.}}
{{History|||snap=21w19a|Yellow dye can no longer be used to craft yellow candles.}}
{{History|||snap=Pre-release 1|Yellow dye can once again used to craft yellow candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Yellow dye can now change the text color on [[hanging sign]]s to yellow.}}
{{History||1.20|snap=23w12a|Yellow dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Yellow dye no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], yellow dye is now common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History||v0.8.0|snap=build 1|Dandelion yellow is now used to craft [[cocoa beans]].}}
{{History||v0.14.0|snap=build 1|Yellow dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History||v0.16.0|snap=build 1|Dandelion yellow is no longer used to [[crafting|craft]] cocoa beans.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Yellow dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Yellow dye can now be used to dye [[shulker box]]es, [[bed]]s, and craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Yellow dye can now be used to craft patterns on [[banner]]s, [[firework star]]s, and [[stained glass]].}}
{{History||1.4.0|snap=beta 1.2.20.1|Yellow dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Dandelion yellow can now be used to dye [[cat]] collars.}}
{{History|||snap=beta 1.8.0.10|"Dandelion Yellow" has now been renamed to "Yellow Dye".}}
{{History||1.10.0|snap=beta 1.10.0.3|Yellow dye is now [[trading|sold]] by [[wandering trader]]s.
|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Yellow dye can now be found in [[village]] mason [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Yellow dye can now be sold to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of yellow dye has been changed from <code>dye/11</code> to <code>yellow_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History|ps4}}
{{History||1.83|"Dandelion Yellow" has now been renamed to "Yellow Dye".}}
{{History||1.90|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{Items}}

[[cs:Pampelišková žluť]]
[[de:Gelber Farbstoff]]
[[es:Tinte amarillo]]
[[fr:Teinture jaune]]
[[hu:Pitypangsárga]]
[[ja:黄色の染料]]
[[ko:노란색 염료]]
[[nl:Paardenbloemgeel]]
[[pl:Żółty barwnik]]
[[pt:Corante amarelo]]
[[ru:Жёлтый краситель]]
[[zh:黄色染料]]

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li></ul>
22w11awithout_zombie_sieges tag created to replace the hard-coded check for mushroom fields biome.
Pocket Edition Alpha
v0.9.0
{{Extension DPL}}<ul><li>[[Green Dye|Green Dye]]<br/>{{redirect|Cactus Green|the plant|Cactus}}{{Item
| title = Green Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Green dye''' is a [[primary color dye]].

== Obtaining ==

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

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

=== Trading ===

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

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

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

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

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

== History ==

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

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

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

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

== Issues ==

{{issue list}}

{{Items}}

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

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li><li>[[Bookshelf|Bookshelf]]<br/>{{About|the bookshelf used with an enchanting table|the bookshelf that can hold books|Chiseled Bookshelf}}
{{Block
|image=Bookshelf.png
|transparent=No
|light=No
|tool=Axe
|renewable=Yes
|stackable=Yes (64)
|flammable=Yes (30)
|lavasusceptible=Yes
}}
'''Bookshelves''' are [[blocks]] that improve [[enchanting|enchantments]] applied with an [[enchanting table]] when placed around one, up to a maximum of fifteen bookshelves, at the expense of [[Enchanting/Levels|level]] requirement.

== Obtaining ==
=== Natural generation ===
Bookshelves can generate in village libraries and sometimes village houses.

[[Stronghold]]s may contain up to two libraries, each of which may be single-level or have an upper balcony. These feature some bookshelves arranged in pillars, and more bookshelves arranged in pillars in the walls. Single-level libraries contain 161 bookshelves, while libraries with balconies contain 233.

Bookshelves also naturally generate in certain [[woodland mansion]] rooms.

=== Breaking ===
Bookshelves can be broken fairly easily by hand, but can be broken faster by using an [[axe]]. In either case, they drop 3 books when broken, allowing the reconstruction of the bookshelf with the addition of six wood planks. When broken by an item that is [[enchanted]] with [[Silk Touch]], a bookshelf drops itself.
{{breaking row|horizontal=1|Bookshelf|Axe}}

=== Crafting ===
{{Crafting
|A1=Any Planks
|B1=Any Planks
|C1=Any Planks
|A2=Book
|B2=Book
|C2=Book
|A3=Any Planks
|B3=Any Planks
|C3=Any Planks
|Output=Bookshelf
|type=Building block
}}

=== Trading ===
Novice-level librarian [[Villager|villagers]] have a 50% chance to sell 1 bookshelf for 9 [[Emerald|emeralds]] as part of their trades.{{only|bedrock}}

Novice-level librarian villagers have a {{frac|2|3}} chance to sell 1 bookshelf for 9 emeralds.{{only|java}}

== Usage ==
=== Enchanting ===
{{main|Enchantment mechanics#Bookshelf placement}}

If an [[enchanting table]] is placed near a bookshelf, glyph [[particles]] fly from the bookshelf toward the enchanting table. Having bookshelves in the proper position near the table allows the table to apply higher-level enchantments.

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

=== Fuel ===
Bookshelves can be used as a [[fuel]] in [[furnace]]s, smelting 1.5 items per block.

=== Villager ===
Librarian [[villager]]s can interact with bookshelves.

=== Note Blocks ===
Bookshelf can be placed under [[note block]]s to produce "bass" sounds.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Bookshelf
|spritetype=block
|nameid=bookshelf
|showblocktags=y|blocktags=mineable/axe
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Bookshelf
|spritetype=block
|nameid=bookshelf
|id=47
|foot=1}}

== Achievements ==
{{load achievements|Librarian}}

== History ==
{{History|java classic}}
{{History||October 24, 2009|link=https://notch.tumblr.com/post/221308991/the-new-block-types-and-new-graphics-for-the-gold|Bookshelves were teased by [[Notch]].}}
{{History||0.26 SURVIVAL TEST|[[File:Bookshelf JE1.png|32px]] Added bookshelves.
|Bookshelves are currently impossible to obtain without loading a pre-edited map.
|Bookshelves are currently destroyed in [[explosion]]s.
|When bookshelves are broken, they currently do not drop anything.}}
{{History||0.28|Bookshelves can now be freely placed.}}
{{History|java alpha}}
{{History||v1.0.11|Bookshelves can now be [[crafting|crafted]] from 3 [[book]]s and 6 [[planks]].}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Bookshelves can now be found generated in libraries in [[village]]s, and libraries in [[stronghold]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Bookshelves now drop 3 [[book]]s when broken by a non-[[Silk Touch]] [[item]].
|They are now necessary to [[enchanting|enchant]] with higher levels for better enchanted items.
|The number of bookshelves required to reach the maximum enchantment level is 30.}}
{{History|||snap=Beta 1.9 Prerelease 5|[[File:Bookshelf JE2 BE1.png|32px]] The top texture of bookshelves have now been updated as a result of the [[planks]] texture update.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft bookshelves.}}
{{History||1.3.1|snap=12w21a|Librarian [[villager]]s now [[trading|sell]] 1 bookshelf for 3 [[emerald]]s.}}
{{History|||snap=12w22a|The number of bookshelves required to reach the maximum enchantment level has been now decreased to 15.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft bookshelves.}}
{{History||1.8|snap=14w02a|Librarian villagers now sell 1 bookshelf for 3–4 [[emerald]]s.}}
{{History||1.11|snap=16w39a|Bookshelves now generate in [[woodland mansion]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 47.}}
{{History||1.14|snap=18w43a|[[File:Bookshelf JE3.png|32px]] The texture of bookshelves has now been changed.}}
{{History|||snap=18w47a|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has now been changed, once again.}}
{{History|||snap=19w02a|Bookshelves can now be used to craft [[lectern]]s.}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft bookshelves.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft bookshelves.}}

{{History|pocket alpha}}
{{History||v0.2.1|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves.|Bookshelves are currently obtainable only in [[Creative]] mode.}}
{{History||v0.3.0|Bookshelves are now obtainable in [[Survival]] mode.}}
{{History||v0.9.0|snap=build 1|Bookshelves now naturally spawn in [[stronghold]]s and [[village]]s.}}
{{History||v0.12.1|snap=build 1|Bookshelves can now be used to increase [[enchantment table]] levels.|Bookshelves can now be obtained by using a [[tool]] with the [[Silk Touch]] enchantment.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian [[villager]]s now [[trading|sell]] 1 bookshelf for 3-4 [[emerald]]s as their second tier trade.}} 
{{History||1.1.0|snap=alpha 1.1.0.0|Bookshelves now generate in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|Bookshelves can now be used to craft [[lectern]]s.|Bookshelves now get inspected by librarian [[villager]]s.|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, librarian villagers now have a 50% chance to sell a bookshelf for 6 [[emerald]]s as part of their first trade.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves. Whether they actually used this texture is unknown.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
* Bookshelves' top and bottom textures by default use the same texture as [[oak planks]].
* It takes 90 planks, 45 [[leather]] and 135 [[paper]] to make 15 bookshelves in order to get a level 30 [[enchantment]].
* A bookshelf is the icon for [[Education Edition]].

== Gallery ==
<gallery>
File:Library in Village.png|Naturally occurring bookshelves in a [[village]]. (Before Village & Pillage).
File:Large Stronghold Library.png|Naturally occurring bookshelves in a [[stronghold]].
File:Achievement get! Trading emeralds for bookshelves.png|Bookshelves obtained by [[trading]] with a [[villager]].
File:Enchanting-Table.png|Bookshelves powering an [[enchanting table]].
</gallery>

== References ==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/block-week-bookshelf Block of the Week: Bookshelf] – Minecraft.net on December 16, 2016

{{Blocks|Building}}

[[Category:Manufactured blocks]]
[[Category:Natural blocks]]
[[Category:Generated structure blocks]]
[[Category:Utility blocks]]
[[Category:Bedrock Edition]]
[[Category:Java Edition]]
[[Category:Items]]
[[Category:Flammable blocks]]

[[cs:Knihovna]]
[[de:Bücherregal]]
[[es:Librería]]
[[fr:Bibliothèque]]
[[hu:Könyvespolc]]
[[it:Libreria]]
[[ja:本棚]]
[[ko:책장]]
[[nl:Boekenkast]]
[[pl:Biblioteczka]]
[[pt:Estante de livros]]
[[ru:Книжные полки]]
[[th:ชั้นหนังสือ]]
[[uk:Книжкова полиця]]
[[zh:书架]]</li></ul>
Added zombie sieges.
Bedrock Edition
1.11.0
{{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>[[Helmet|Helmet]]<br/>{{Update|Include information about armor trims and updated netherite upgrade information.}}
{{redirect|Cap|mob spawning caps|Spawn}}
{{redirect|Turtle Shell|the item dropped by maturing turtles|Scute}}
{{Item
| image = <gallery>
Leather Cap.png| Leather
Chainmail Helmet.png| Chainmail
Iron Helmet.png| Iron
Diamond Helmet.png| Diamond
Golden Helmet.png| Golden
Netherite Helmet.png| Netherite
Turtle Shell.png| Turtle Shell
</gallery>
| durability = 
* Leather: 55
* Chainmail: 165
* Iron: 165
* Golden: 77
* Diamond: 363
* Netherite: 407
* Turtle Shell: 275
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| stackable = No
}}
'''Helmets''' are a type of [[armor]] that covers the head of the player. There are seven types of helmets: '''leather cap''', '''chainmail helmet''', '''iron helmet''', '''diamond helmet''', '''gold helmet''', '''netherite helmet''', and '''turtle shell'''.

==Obtaining ==

===Crafting===

{{crafting
  |head=1
  |showname=0
  |showdescription=1
  |name=Helmet
   |A2= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
   |B2= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
   |C2= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
    |A3= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
    |C3= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
  |description=
  |Output= Leather Cap;Golden Helmet;Iron Helmet;Diamond Helmet;Turtle Shell
  |type= Combat
}}
{{crafting
  |ignoreusage=1
  |name=[[Helmet]]
  |ingredients=Damaged matching helmet
  |Damaged Leather Cap; Damaged Golden Helmet; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Diamond Helmet; Damaged Turtle Shell; Damaged Netherite Helmet
  |Damaged Leather Cap; Damaged Golden Helmet; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Diamond Helmet; Damaged Turtle Shell; Damaged Netherite Helmet
  |Output= Leather Cap; Golden Helmet; Chainmail Helmet; Iron Helmet; Diamond Helmet; Turtle Shell; Netherite Helmet
  |description= The durability of the two helmets is added together, plus an extra 5% durability.
  |type= Combat
  |foot=1
}}

===Upgrading===

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

===Repairing===
====Grinding====
{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Leather Cap]] or<br>2x Damaged [[Chainmail Helmet]] or<br>2x Damaged [[Iron Helmet]] or<br>2x Damaged [[Golden Helmet]] or<br>2x Damaged [[Diamond Helmet]] or<br>2x Damaged [[Netherite Helmet]] or<br>2x Damaged [[Turtle Shell]]
|Damaged Leather Cap; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Golden Helmet; Damaged Diamond Helmet; Damaged Netherite Helmet; Damaged Turtle Shell
|Damaged Leather Cap; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Golden Helmet; Damaged Diamond Helmet; Damaged Netherite Helmet; Damaged Turtle Shell
|Leather Cap; Chainmail Helmet; Iron Helmet; Golden Helmet; Diamond Helmet; Netherite Helmet; Turtle Shell
|description=The durability of the two helmets are added together, plus an extra 5% durability.
}}

====[[Anvil mechanics#Unit repair|Unit repair]]====
Helmets can be repaired in an [[anvil]] by adding units of the [[armor material]]'s repair material, with each repair material restoring 25% of the helmet's maximum durability, rounded down.

===Mob loot===

If a [[zombie]], [[husk]], [[stray]] or [[skeleton]] is wearing armor, there is a 8.5% chance (9.5% with [[Looting]] I, 10.5% with Looting II and 11.5% with Looting III) for the mob to drop a helmet upon death. The dropped helmet is usually badly damaged, and may be [[enchanted]] with enchantment levels 5-19.

{{IN|bedrock}}, [[vindicator]]s and [[pillager]]s spawned in [[raid]]s have a 8.3525% chance (10.28% on hard) to drop [[iron]] helmets. The dropped helmets are usually badly damaged, and have a 50% chance of being [[enchanted]] with a random [[enchantment]].

===Natural generation===
Two [[armor stand]]s are found in each taiga [[village]] outdoor armory, one of them equipped with an [[iron helmet]].

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

===Trading===

{{IN|java}}, novice-level armorer villagers have a 40% chance to sell an iron helmet for 4 emeralds. Journeyman-level armorers have a 40% chance to sell a chainmail helmet for 1 emerald. Master-level armorers always sell an enchanted diamond helmet for 11-27 emeralds. Apprentice-level leatherworker villagers have a {{frac|2|3}} chance to sell a leather cap<ref group="note" name="dye note">The leather armor has a random color created by two dyes (possibly the same dye twice.)</ref> for 5 emeralds. Master-level leatherworker villagers offer the same trade.

Armorer villagers may give the players with the [[Hero of the Village]] effect a chainmail helmet.

{{IN|bedrock}}, novice-level armorer villagers have a 25% chance to sell iron helmet for 5 emeralds, {{frac|1|3}} chance to sell chainmail helmet at journeyman-level for an emerald, and 50% chance to sell enchanted diamond helmet for 8 emeralds at master-level. Apprentice-level leatherworker villagers have a 50% chance to sell leather cap for 5 emeralds as part of their trades, and 50% chance to sell an enchanted leather cap for 5 emeralds at the master level.

{{notelist|columns=1}}

==Usage ==

Helmets can be placed in the top 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 helmets.

{| class="wikitable" data-description="Helmet defense points"
|-
! scope="col" |Material
! scope="col" |
|-
! scope="row" |Leather
|{{armor|1}}
|-
! scope="row" |Golden
| rowspan="4" |{{armor|2}}
|-
! scope="row" |Chainmail
|-
! scope="row" |Iron
|-
! scope="row" |Turtle Shell
|-
! scope="row" |Diamond
| rowspan="2" |{{armor|3}}
|-
! scope="row" |Netherite
|}

===Knockback resistance===
A netherite helmet provides 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 that armor doesn't protect (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 helmets can endure.

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

{| class="wikitable" data-description="Helmet durability"
|-
!Material
!Durability
|-
! scope="row" |Leather
|55
|-
! scope="row" |Golden
|77
|-
! scope="row" |Chainmail
| rowspan="2" |165
|-
! scope="row" |Iron
|-
! scope="row" |Turtle Shell
|275
|-
! scope="row" |Diamond
|363
|-
! scope="row" |Netherite
|407
|}

====Repair====

Helmets may be [[item repair|repaired]] by using them along with some of their crafting material (leather, gold ingots, iron ingots, diamonds or netherite) in an [[anvil]]. Chainmail helmets may be repaired in this way with iron ingots. They may also be repaired by crafting them together with another helmet of like material.

===Enchantments===
A helmet can receive the following [[enchantment]]s. Note that while iron and chainmail have the same durability, chainmail has a higher [[Tutorials/Enchanting mechanics#Enchantability|enchantability]] than iron or diamond.
{| 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
|
|-
|[[Respiration]]||III
|
|-
|[[Aqua Affinity]]||I
|
|-
|[[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" />
|}
{{notelist}}

===Turtle shell effect===

Equipping a {{ItemSprite|Turtle Shell}} turtle shell provides the {{EffectLink|Water Breathing}} status effect, allowing the player to remain underwater for an additional 10 seconds. The time that this effect lasts does not begin to count down until the player dives underwater, then the 10 seconds are counted down. The effect immediately recharges after exposure to air.

===Brewing ingredient===
A turtle shell can also be used as a potion brewing ingredient.
{{Brewing
 |Turtle Shell
 |Potion of the Turtle Master
 |Potion of the Turtle Master
 |Potion of the Turtle Master
 |showname=1
}}

===Smelting usage===

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

==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 a leather helmet is 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 a chainmail helmet is 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 an iron helmet is 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 a gold helmet is 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 a diamond helmet is 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 a netherite helmet is 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=Equip turtle shell.ogg
|subtitle=Turtle Shell thunks
|source=player
|description=When a turtle shell is equipped
|id=item.armor.equip_turtle
|translationkey=subtitles.item.armor.equip_turtle
|volume=1.0
|pitch=1.0/0.85/1.1
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a helmet'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}}

{{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 a leather helmet or a turtle shell is 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 a chain helmet is 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 an iron helmet is 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 a gold helmet is 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 a diamond helmet is 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 a netherite helmet is equipped.
|id=armor.equip_netherite
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=2
|sound=Water Splash Old.ogg
|source=block
|description=When a leather helmet is dyed using a cauldron
|id=cauldron.dyearmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When a leather helmet's 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 helmet's 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 Cap
|spritetype=item
|nameid=leather_helmet
|itemtags=freeze_immune_wearables
|form=item}}
{{ID table
|displayname=Chainmail Helmet
|spritetype=item
|nameid=chainmail_helmet
|form=item}}
{{ID table
|displayname=Iron Helmet
|spritetype=item
|nameid=iron_helmet
|form=item}}
{{ID table
|displayname=Diamond Helmet
|spritetype=item
|nameid=diamond_helmet
|form=item}}
{{ID table
|displayname=Golden Helmet
|spritetype=item
|nameid=golden_helmet
|form=item}}
{{ID table
|displayname=Netherite Helmet
|spritetype=item
|nameid=netherite_helmet
|form=item}}
{{ID table
|displayname=Turtle Shell
|spritetype=item
|nameid=turtle_helmet
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Leather Cap
|spritetype=item
|nameid=leather_helmet
|id=335
|form=item}}
{{ID table
|displayname=Chainmail Helmet
|spritetype=item
|nameid=chainmail_helmet
|id=339
|form=item}}
{{ID table
|displayname=Iron Helmet
|spritetype=item
|nameid=iron_helmet
|id=343
|form=item}}
{{ID table
|displayname=Diamond Helmet
|spritetype=item
|nameid=diamond_helmet
|id=347
|form=item}}
{{ID table
|displayname=Golden Helmet
|spritetype=item
|nameid=golden_helmet
|id=351
|form=item}}
{{ID table
|displayname=Netherite Helmet
|spritetype=item
|nameid=netherite_helmet
|id=609
|form=item}}
{{ID table
|displayname=Turtle Shell
|spritetype=item
|nameid=turtle_helmet
|id=573
|form=item
|foot=1}}

===Item data===
When leather caps 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;A Furious Cocktail;How Did We Get Here}}

==History ==
{{History|java classic}}
{{History||August 13, 2009|link=wordofnotch:162091556|Notch tested armor models on [[mob (entity)|mob]]. Only [[chestplate]]s and helmets were available. They were merely aesthetic at the time and had no effect on gameplay.}}
{{History||0.24_SURVIVAL_TEST|[[File:Plate Helmet.png|32px]] Added [[Java_Edition_removed_features#Armor_in_Survival_Test|plate helmet]]s.
|[[File:Chainmail Helmet JE1.png|32px]] Added the model and the texture for unused [[Java_Edition_removed_features#Armor_in_Survival_Test|chain helmet]]s.
|[[File:Zombie full set.png|32px]] [[File:Skeleton helmet.png|26px]] Plate armor models have been tested on [[zombie]]s and [[skeleton]]s. It had no effect on gameplay.}}
{{History|java indev}}
{{History||0.31|snap=20091223-1|Plate and chain armor [[model]]s are no longer used.}}
{{History|||snap=20091231-2|[[File:Leather Cap (item) JE1 BE1.png|32px]] [[File:Studded Helmet (item) JE1.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] Added [[item]]s of relation to leather, [[History of textures/Unused textures#Studded armor|studded]], chainmail and plate (iron) helmets.
|The textures of leather helmets are taken from one of [[Notch]]'s previous games, ''[[Legend of the Chambered]]''. The rest are from ''[[Legend of the Chambered 2]]''.}}
{{History||20100206|[[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added items of golden and diamond helmets.
|Removed leather-chain helmets.}}
{{History||20100212-1|Added armor models.
|[[File:Indev 20100212 armor.png|50px]] Armor models are now displayed on the [[player]] in the [[inventory]].}}
{{History||20100218|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]] Added models of leather, chainmail, iron, gold, and diamond helmets.
|Helmets can now be [[crafting|crafted]] and worn.
|Helmets now function. All helmets give {{Armor|3}}. Helmets have limited [[item durability|durability]], with lower tier helmets less durable than higher tier helmets.}}
{{History|java alpha}}
{{History||v1.0.8|With the introduction of [[leather]], "Cloth Cap" has been renamed to "Leather Cap".
|Leather cap is now [[crafting|crafted]] with leather instead of [[wool|cloth]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|The armor protection behavior has been changed. Prior 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)). Armor no longer reduces certain damage types to be covered by enchantments.}}
{{History|||snap=October 3, 2011|slink={{tweet|notch|120859830339637249}}|The first images of a [[player]] wearing enchanted armor are revealed.}}
{{History|||snap=Beta 1.9 Prerelease 3|Iron helmets can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Helmets can now be [[enchanting|enchanted]].}}
{{History||1.1|snap=12w01a|Iron helmets can now be found in the new blacksmith [[chest]]s in [[village]]s.}}
{{History||1.2.1|snap=12w06a|[[Zombie]]s now drop iron helmets on rare occasions and [[zombie pigman|zombie pigmen]] now drop golden helmets.}}
{{History||1.3.1|snap=12w15a|{{key|Shift}}+clicking can now be used to wear helmets.}}
{{History|||snap=12w21a|Chain helmets can now be obtained legitimately in [[survival]] mode through [[trading]].
|Blacksmith [[villager]]s now [[trading|sell]] chain helmets for 5–6 emeralds.
|Blacksmith villagers now sell diamond helmets for 7 emeralds.
|Blacksmith villagers now sell iron helmets for 4–5 emeralds.
|Butchers now sell leather caps 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 [[zombified piglins|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.}}
{{History|||snap=12w34a|Leather helmets can now be dyed by [[crafting]] a leather armor piece with [[dye]]s. Dyes can be removed by {{control|use|text=using}} dyed leather armor on a [[cauldron]] with [[water]].
|[[File:Leather Cap JE2.png|32px]] [[File:Leather Cap (item) JE2.png|32px]] Default leather caps textures are now slightly darker.}}
{{History|||snap=12w36a|[[Dye]]d leather caps are now more saturated and have a slight tint of tan in respect to the default armor color.}}
{{History|||snap=12w37a|[[File:Leather Cap JE3 BE2.png|32px]] [[File:Leather Cap (item) JE3 BE2.png|32px]] Leather armor now has non-dyed parts on the cap. This has been implemented so that [[player]]s can distinguish between other types of helmets and similarly colored leather caps.}}
{{History||1.5|snap=13w04a|Helmets in the [[player]]'s hand can now be equipped by right-clicking.
|[[Dispenser]]s can now equip nearby players with helmets.}}
{{History||1.8|snap=14w02a|[[Trading|Trades]] changed: armorer [[villager]]s now [[trading|sell]] chain helmets for 5–7 emeralds.
|Armorer villagers no longer sell diamond helmets.
|Armorer villagers now sell iron helmets for 4–6 emeralds.
|Leatherworkers no longer sell other leather caps.}}
{{History|||snap=14w05a|Helmets no longer turns red when [[mob]]s and [[player]]s are hurt.}}
{{History|||snap=14w06a|Helmets are now visible on [[giant]]s.}}
{{History|||snap=14w25a|Chain helmets [[Java Edition removed features#Chainmail armor|cannot 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 helmets can now 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|Helmet [[item durability|durability]] now affects armor value.}}
{{History|||snap=15w36a|Armor and armor [[enchanting|enchantment]] calculations have been changed. For the original values, see [[Armor/Before 1.9|here]].}}
{{History|||snap=15w36d|Helmet durability affecting value has been removed.
|Helmets now has an attribute controlling the defense points.}}
{{History|||snap=15w50a|Added <code>equip</code> [[sound]]s for leather armor.}}
{{History|||snap=16w02a|Armor and armor enchantment calculations have been changed again.}}
{{History|||snap=16w05a|Armor calculations have been changed, once again.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 298, 302, 306, 310 and 314.}}
{{History|||snap=18w07a|[[File:Turtle Shell.png|32px]] [[File:Turtle Shell (item) JE1 BE1.png|32px]] Added turtle shells.}}
{{History|||snap=18w09a|Golden helmets now have a chance of generating in [[underwater ruins]].}}
{{History|||snap=18w11a|Enchanted leather caps can now generate in the chests of [[shipwreck]]s.}}
{{History|||snap=18w20a|"Chain Helmet" has now been renamed to "Chainmail Helmet".}}
{{History||1.14|snap=18w43a|[[File:Leather Cap JE4 BE2.png|32px]] [[File:Chainmail Helmet JE3 BE2.png|32px]] [[File:Iron Helmet JE2 BE2.png|32px]] [[File:Golden Helmet JE2 BE2.png|32px]] [[File:Diamond Helmet JE2 BE2.png|32px]]<br>[[File:Leather Cap (item) JE4 BE3.png|32px]] [[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Golden Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Helmet (item) JE2 BE2.png|32px]] The textures of all types of helmets have been changed.}}
{{History|||snap=18w48a|Leather caps can now be found in [[chest]]s in [[village]] tanneries.}}
{{History|||snap=18w50a|Iron helmets can now be found on [[armor stand]]s in [[taiga]] villages.}}
{{History|||snap=19w08a|[[File:Golden Helmet (item) JE3 BE3.png|32px]] The textures of gold helmet [[item]]s have been changed.}}
{{History|||snap=19w11a|Armorer villagers now sell enchanted diamond helmets, making diamond helmets effectively [[renewable resource|renewable]] again.
|Leatherworker villagers now sell randomly [[dye]]d leather caps.}}
{{History|||snap=19w13a|Armorer villagers now give chainmail helmets to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|[[File:Netherite Helmet JE1.png|32px]] [[File:Netherite Helmet (item) JE1.png|32px]] Added netherite helmets.}}
{{History|||snap=20w07a|[[File:Leather piglin helmet.png|32px]] [[File:Chainmail piglin helmet.png|32px]] [[File:Iron piglin helmet.png|32px]] [[File:Golden piglin helmet.png|32px]] [[File:Diamond piglin helmet.png|32px]] [[File:Netherite piglin helmet JE1.png|32px]] Added textures and [[model]]s for all helmets when they are used by [[piglin]]s.
|Netherite helmets are now obtained by combining one diamond armor piece and one netherite ingot in a crafting table.
|[[File:Turtle Shell piglin MC-172110.png|32px]] Turtle shells, when used by piglins and [[zombified piglin]]s, result in a [[missing texture]] when being displayed.<ref>{{Cite bug|MC|172110|Texture of turtle shells is missing when worn by a piglin or zombified piglin|date=February 14, 2020}}</ref>}}
{{History|||snap=20w09a|[[File:Diamond Helmet (item) JE3 BE3.png|32px]] The textures of diamond helmet [[item]]s have been changed.}}
{{History|||snap=20w10a|[[File:Netherite Helmet JE2 BE1.png|32px]] [[File:Netherite Helmet (item) JE2 BE1.png|32px]] The texture of netherite helmets has been changed.
|[[File:Netherite piglin helmet.png|32px]] The texture of netherite helmets for [[piglin]]s has been changed.
|Netherite helmets can no longer be [[crafting|crafted]].
|Netherite helmets are now obtained by combining one diamond helmet and one netherite ingot in a [[smithing table]].}}
{{History|||snap=20w16a|Golden and netherite helmets now generate randomly [[enchanting|enchanted]], and sometimes [[damage]]d, in [[bastion remnant]] and [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds helmets now generate in place of netherite helmets in bastion remnant [[chest]]s.}}
{{History|||snap=pre3|The special helmet [[model]]s and textures created for [[piglin]]s have been removed except for leather helmets.}}
{{History||1.17|snap=20w48a|Wearing a leather helmet now prevents [[Powder Snow#Freezing|freezing]] entirely.}}
{{History|||snap=21w13a|The two unused textures of the leather cap for [[piglin]]s<ref><code>/assets/minecraft/textures/models/armor/piglin_leather_layer_1.png</code></ref><ref><code>/assets/minecraft/textures/models/armor/piglin_leather_layer_1_overlay.png</code></ref> have been removed.}}
{{History||1.18.2|snap=22w03a|Netherite helmet knockback resistance is no longer random.}}
{{History||1.19|snap=22w17a|[[File:Leather Cap JE5.png|32px]] The texture of the leather cap item has been changed.|Changed the leather cap texture when worn so the center bar now extends to the bottom of the back face.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Non-leather helmets 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 helmets to netherite helmets now requires the netherite upgrade [[smithing template]].}}
{{History|||snap=23w05a|Leather caps can now be trimmed using a smithing table.|Helmets 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|Helmets can now be swapped by {{ctrl|using}} them in the hotbar.<ref>{{bug|MC-216270|||Fixed}}</ref>}}
{{History||?|Helmets can now be swapped in [[armor stand]]s by {{ctrl|using}} them/[[head]]s/[[carved pumpkin]]s 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 Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]]<br>[[File:Leather Cap (item) JE1 BE1.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added helmets.}}
{{History||v0.8.0|snap=build 2|[[File:Leather Cap (item) JE3 BE2.png|32px]] The leather helmet sprite has been changed to that of {{el|je}}, but its armor [[model]] remains that of older versions.}}
{{History||v0.9.0|snap=build 1|Iron helmets now naturally generate in [[village]] [[chest]]s and in [[stronghold]] altar chests.}}
{{History||v0.11.0|snap=build 11|Helmets now protect against [[damage]] from [[mob]]s only.}}
{{History||v0.12.1|snap=build 1|Helmets can now be worn by mobs.
|Chainmail helmets can now be obtained in [[survival]] mode from a mob wearing it.}}
{{History||?|Helmets no longer turn red when [[mob]]s and [[player]]s are hurt.}}
{{History||v0.14.0|snap=build 1|[[File:Leather Cap JE3 BE2.png|32px]] The texture of leather helmets have been changed.
|Leather helmets can now be dyed.}}
{{History||v0.15.0|snap=build 1|Helmets can now be obtained from [[stray]]s and [[husk]]s that naturally spawn with armor.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[Enchanting|Enchanted]] iron helmets and enchanted diamond helmets can now be found inside [[chest]]s within [[end city|end cities]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Iron helmets and chainmail helmets 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 helmets can now be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Chainmail helmets now generate in [[buried treasure]] chests.
|Enchanted leather helmets can now be found inside [[shipwreck]] supply room [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Golden helmets can now be found inside [[underwater ruins]] chests.}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Turtle Shell.png|32px]] [[File:Turtle Shell (item) JE1 BE1.png|32px]] Added turtle shells.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Leather Cap JE4 BE2.png|32px]] [[File:Chainmail Helmet JE3 BE2.png|32px]] [[File:Iron Helmet JE2 BE2.png|32px]] [[File:Golden Helmet JE2 BE2.png|32px]] [[File:Diamond Helmet JE2 BE2.png|32px]]<br>[[File:Leather Cap (item) JE4 BE3.png|32px]] [[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Golden Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Helmet (item) JE2 BE2.png|32px]] The textures of all types of helmets have been changed.
|Iron helmets now can be found in plains [[village]] weaponsmith [[chest]]s.
|Leather helmets can now be found inside plains village tannery chests.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron helmets now can be found in [[savanna]], [[taiga]], [[desert]], [[snowy taiga]] and [[snowy tundra]] [[village]] weaponsmith [[chest]]s.
|Leather helmets can now be found inside savanna, taiga, desert, snowy taiga and snowy tundra village tannery chests.
|Iron helmets can now be found in [[village]] armorer chests.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron helmets.
|Diamond helmets are now sold by armorer villagers.}}
{{History||1.11.0|snap=beta 1.11.0.5|[[File:Golden Helmet (item) JE3 BE3.png|32px]] The textures of gold helmet [[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 shows 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 properly dyed when worn by armor stands.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Helmet JE2 BE1.png|32px]] [[File:Netherite Helmet (item) JE2 BE1.png|32px]] Added netherite helmets.
|[[File:Diamond Helmet (item) JE3 BE3.png|32px]] The textures of diamond helmet [[item]]s have been changed.
|Helmets can now be obtained from [[piglin]]s that naturally spawn with golden helmets.}}
{{History|||snap=beta 1.16.0.57|Golden and netherite helmets now generate randomly [[enchanting|enchanted]], and sometimes [[damage]]d, in [[bastion remnant]] chests.
|Netherite helmets can no longer be [[crafting|crafted]].
|Netherite helmets are now obtained by combining one diamond helmet and one netherite ingot in a [[smithing table]].}}
{{History|||snap=beta 1.16.0.63|Diamonds helmets now generate in place of netherite helmets in bastion remnant [[chest]]s.}}
{{History|||snap=beta 1.16.200.53|Netherite helmets now gives a 90% reduction in knockback.}}
{{History||1.16.210|snap=beta 1.16.210.53|Wearing leather helmets now prevents [[Powder Snow#Freezing|freezing]] entirely.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]]<br>[[File:Leather Cap (item) JE1 BE1.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added helmets.
|Added a quick equip for armor to the [[inventory]] interface.}}
{{History||xbox=TU12|ps=1.03|[[File:Leather Cap JE3 BE2.png|32px]] [[File:Leather Cap (item) JE3 BE2.png|32px]] The textures for leather helmets have been changed.}}
{{History||xbox=TU14|ps=1.05|Leather helmets can now be [[dye]]d.
|[[Item repair]] can now repair helmets.}}
{{History||xbox=TU25|xbone=CU13|ps=1.16|Helmets 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 helmets can now be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|PS4}}
{{History||1.90|[[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Golden Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Helmet (item) JE2 BE2.png|32px]] The textures of all types of helmet items have been changed (except for the leather helmets).}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]]<br>[[File:Leather Cap (item) JE3 BE2.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added helmets.}}
{{History|foot}}
<gallery>
File:ArmorModel Aug 13 2009.jpg|First image of armor.
File:DinnerboneArmor.png|[[Dinnerbone]]'s first screenshot of dyed armor.
File:ArmorPE.png
</gallery>

;Armor durability from Indev until late Beta
{| class="wikitable" data-description="Armor Durability during Indev until late Beta" style="text-align:center;"
|-
!Leather
!Golden
!Chainmail
!Iron
!Diamond
|-
|33
|66
|66
|132
|264
|}

==Issues ==

{{issue list}}

==Trivia ==
*Unlike the other helmets, the netherite helmet covers most of the player's face, due to a nose guard and cheek plates.
*The turtle shell is the only helmet that is not part of a complete set.
* In Bedrock Edition, there exists a bug<ref>{{Cite bug|MCPE|109048|Efficiency 1 Leather Cap in Woodland Mansions|date=December 1, 2020}}</ref> that makes it possible to obtain a Leather Cap enchanted with Efficiency I from [[Woodland Mansion]] chests with a chance of 1.45%. The enchantment has no effect on the cap, however.

==Gallery ==
<gallery>
File:Zombie helmet.png|A zombie wearing a helmet in [[Survival Test]].
</gallery>
===Enchanted Helmets===
<gallery>
File:Enchanted Leather Cap (item).gif
File:Enchanted Chainmail Helmet (item).gif
File:Enchanted Iron Helmet (item).gif
File:Enchanted Golden Helmet (item).gif
File:Enchanted Diamond Helmet (item).gif
File:Enchanted Netherite Helmet (item).gif
File:Enchanted Turtle Shell (item).gif
</gallery>
<gallery>
File:Enchanted Leather Helmet.gif
File:Enchanted Chainmail Helmet.gif
File:Enchanted Iron Helmet.gif
File:Enchanted Golden Helmet.gif
File:Enchanted Diamond Helmet.gif
File:Enchanted Netherite Helmet.gif
File:Enchanted Turtle Shell.gif
</gallery>

==References ==
{{reflist}}

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

{{Items}}

[[Category:Armor]]

[[es:Casco]]
[[ja:ヘルメット]]
[[ko:투구]]
[[pt:Capacete]]
[[pl:Hełm]]
[[zh:头盔]]</li></ul>
Zombie sieges have been removed, due to a bug.[verify]
Legacy Console Edition
TU12CU1 1.00 Added zombie sieges.

Issues[]

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

Trivia[]

Gallery[]

See also[]

Notes[]

  1. a b "In a village" is defined as being in a subchunk that contains a claimed bed, bell, or job site, or in any of the 26 subchunks in a 3×3×3 cube around such a subchunk.

References[]

  1. MC-7432
  2. MC-154328
  3. MC-158473 — resolved as "Works As Intended".
Advertisement