Minecraft Wiki
Advertisement

Tom Stone Mojang avatar

The fourth smallest mob in the game ... these black rats with wings spawn constantly and produce a squeak so shrill you'll wish you were deaf. Bats are actually no physical threat to you in Minecraft, an example of a 'useless mob', but that doesn't mean we can't find them creepy. And our last pickaxe just broke, so it looks like we're trapped in this cave full of them. Save us, Batman!

Tom Stone[1]

Bats are ambient[1] flying passive mobs that spawn in caves.

Spawning

Bats can spawn in groups of 8‌[JE only]/2‌[BE only] in the Overworld at a light level of 3 or less on opaque blocks below layer 63, they also need at least 2 air blocks. In Java Edition, between October 20 and November 3, they require a light level of 6 or less to spawn. On Superflat worlds, bats spawn below the top non-air layer, ignoring the usual layer-63 limitation.

Drops

Bats do not drop any items nor experience when killed.

Behavior

Bats are small, less than half a block tall and wide. They squeak randomly. They often fly around aimlessly, tending to favor the east, and sometimes fly into lava and catch on fire.

Bats also hang upside down on the underside of a solid block when idle, though they cannot hang on transparent or non-solid blocks. If a player approaches a bat hanging upside down, including if the player is invisible, it flies away. This also happens if the player breaks the block the bat is hanging from.

Although the bat is a passive mob, they still despawn when going too far away, similarly to ocelots and squid.

Bats' collision boxes do not interact with the player.

Sounds

The following sounds section uses an outdated format and should be redone using {{Sound table}}. 
You can help by converting the contents of this section into a sound table template.
Examples can be seen at Bee#Sounds and Ladder#Sounds.
The wikicode should be laid out neatly as in these examples for improved readability.
Remember to include a foot parameter so the table appears in the correct place. Do NOT convert the table using Visual Editor.
Sound Subtitle Namespaced ID Subtitle ID Source Pitch Volume Attenuation distance
Bat screeches entity.bat.ambient subtitles.entity.bat.ambient Friendly Creatures 1.0 1.0 16
Bat dies entity.bat.death subtitles.entity.bat.death Friendly Creatures 1.0 1.0 16
Bat hurts entity.bat.hurt subtitles.entity.bat.hurt Friendly Creatures 1.0 1.0 16
No subtitle[2] entity.bat.loop (Probably an ambient area of effect sound) ? 1.0 1.0 16
Bat takes off entity.bat.takeoff subtitles.entity.bat.takeoff Friendly Creatures 1.0 1.0 16

Data values

See also: Chunk format

Bats have entity data associated with them that contain various properties of the mob.

  • Entity data
    • Tags common to all entities
    • Tags common to all mobs
    •  BatFlags: 1 or 0 (true/false) - true if the bat is hanging upside-down from a block, false if the bat is flying.

History

Java Edition
1.4.2
{{Extension DPL}}<ul><li>[[Shears|Shears]]<br/>{{Item
| image = Shears.png
| rarity = Common
| renewable = Yes
| durability = 238
| stackable = No
}}

'''Shears''' are tools required to obtain some organic blocks or otherwise mine them faster as well as to shear certain entities and blocks.

==Obtaining==

===Crafting===

{{Crafting
|head=1
|showdescription=1
|B2= Iron Ingot
|A3= Iron Ingot
|Output= Shears
|type= Tool
}}
{{crafting
|foot=1
|ignoreusage=1
|Damaged Shears
|Damaged Shears
|Output= Shears
|description= The durability of the two shears is added together, plus an extra 5% durability.
|type= Tool
}}
Despite using [[Iron Ingot|iron]] in its crafting recipe, shears cannot be smelted into [[iron nugget]]s.<ref>{{bug|MC-111738}}</ref>

===Trading===

Novice-level Shepherd [[villager]]s have a 40% chance to sell shears for 2 [[emerald]]s in Java Edition. This trade is always offered in Bedrock Edition.

===Chest loot===

{{LootChestItem|shears}}

==Usage==

===Shearing===
Shears lose 1 [[durability]] when used to shear something.

Shears can be {{Control|use|text=used}} on a [[sheep]] to remove its coat and drop 1–3 [[wool]] of the corresponding color. The same sheep can be sheared again after it eats from a [[grass block]] to regenerate its coat.

Shearing a [[mooshroom]] drops 5 [[mushroom]]s of the corresponding color and irreversibly turns it into a normal [[cow]].

Shearing a [[snow golem]] irreversibly removes its pumpkin, dropping it and revealing its face.

Shearing either a [[beehive]] or [[bee nest]] that is full of honey makes it drop 3 [[honeycomb]]s and resets it to honey level 0. The same beehive or bee nest can be sheared again if it is able to reach full honey again. If sheared by hand without a [[campfire]] below the hive or nest all bees within will exit and all nearby bees will attack the offending player. 

[[Dispenser]]s can use shears in any of the above listed ways, interacting with any valid block or entity in front of the dispenser's face. This decreases the shears' [[durability]]. A dispenser shearing a beehive or bee nest will not anger bees or cause them to leave even if there is not a campfire below it.

Shearing a [[pumpkin]] turns it into a [[carved pumpkin]], dropping 4 [[pumpkin seeds]] {{in|java}} or 1-3 pumpkin seeds {{in|bedrock}}.

{{IN|java}}, shearing the tip of [[cave vines]], [[kelp]], [[weeping vines]], or [[twisting vines]] sets its age value to 25 and stops further growth.

===Breaking blocks===
Shears use 1 [[durability]] when is used to break any block, even if it [[instant mining|breaks instantly]] by hand.

Shears can be used to harvest [[cobweb|cobwebs]], [[leaves]], [[grass|grass, tall grass]], [[seagrass|seagrass, tall seagrass]], [[fern|ferns, large fern]]s, [[dead bush]]es, [[nether sprouts]], [[vines]], [[glow lichen]] or [[hanging roots]] and obtain them in item form. They can also be used to break [[tripwire]] connected to a [[tripwire hook]] without activating it.

When shears are used to break [[Weeping Vines|weeping vines]] or [[Twisting Vines|twisting vines]] they are guaranteed to drop in item form instead of the usual 33% chance. This only applies to vines directly broken by shears and not vines that are broken due to the destruction of their supporting vines.

The following table shows information about blocks that can be broken with shears. Colors indicate what gets dropped when the block is broken:

*White: The original block.
*Blue: The block's normal drop (i.e. string, sticks, seeds, saplings, apples).
*Red: Nothing.

{| class="wikitable" style="text-align:center" data-description="Blocks broken with shears"
!
!No shears breaking time
!Shears breaking time
|-
! style="text-align:left" |{{BlockLink|Cobweb}}
| {{tc|no|20 s}}<ref group="note">Breaking cobwebs with a sword is as fast as breaking with shears, and yields string. This costs double durability.</ref>
|0.4 s
|-
! style="text-align:left" |{{BlockLink|Dead Bush}}
| {{tc|planned|0 s}}
|0 s
|-
! style="text-align:left" |{{BlockLink|id=fern|Grass|Fern}}
| {{tc|planned|0 s}}
|0 s
|-
! style="text-align:left" |{{BlockLink|Grass}}
| {{tc|planned|0 s}}
| 0 s
|-
! style="text-align:left" |{{BlockLink|Nether Sprouts}}
| {{tc|no|0 s}}<ref group="note">{{IN|bedrock}}, the item drops when breaking it with fists.</ref>
|0 s
|-
! style="text-align:left" |{{BlockLink|Leaves}}
| {{tc|planned|0.35 s}}
|0.05 s
|-
! style="text-align:left" |{{BlockLink|id=tripwire|String#Tripwire|Tripwire}}
|0 s
|0 s<ref group="note">Using shears does not trigger a redstone pulse.</ref>
|-
! style="text-align:left" |{{BlockLink|Vines}}
| {{tc|no|0.35 s}}
|0.35 s
|-
! style="text-align:left" |{{BlockLink|Wool}}
|1.25 s
|0.25 s
|-
! style="text-align:left" |{{BlockLink|Seagrass}}
| {{tc|no|0 s}}
|0 s
|-
! style="text-align:left" | {{BlockLink|Glow Lichen}}
| {{tc|no|0.3 s}}
|0.3 s
|-
! style="text-align:left" |{{BlockLink|Hanging Roots}}
| {{tc|no|0 s}}
|0 s
|-
! style="text-align:left" |{{BlockSprite|Twisting Vines Plant}}{{BlockLink|Twisting Vines}}<br> {{BlockSprite|Weeping Vines Plant}}{{BlockLink|Weeping Vines}}
|0 s
|0 s<ref group="note">Using shears will increase the chance of dropping from 33% to 100%.</ref>
|}

{{notelist}}

===Enchantments===

Shears can receive the following [[Enchanting|enchantments]]:

{| class="wikitable col-2-center col-3-right"
|+
!Name
! Max Level
![[Enchanting|Method]]
|-
|[[Efficiency]]
|V
|{{Inventory slot|Anvil}}
|-
|[[Unbreaking]]
| III
|{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Silk Touch]]{{only|be|short=1}}
|I
|{{Inventory slot|Anvil}}
|}

{{notelist}}

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=4
|sound=Shear.ogg
|subtitle=Shears click
|source=player
|description=When a mooshroom is sheared
|id=entity.mooshroom.shear
|translationkey=subtitles.item.shears.shear
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Shears click
|source=player
|description=When a sheep is sheared
|id=entity.sheep.shear
|translationkey=subtitles.item.shears.shear
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Shears click
|source=player
|description=When a snow golem is sheared
|id=entity.snow_golem.shear
|translationkey=subtitles.item.shears.shear
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Plant cropped
|source=block
|description=When a growing plant is cropped
|id=block.growing_plant.crop
|translationkey=subtitles.block.growing_plant.crop
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Beehive shear.ogg
|source=block
|subtitle=Shears scrape
|description=When honeycombs are harvested from a beehive
|id=block.beehive.shear
|translationkey=subtitles.block.beehive.shear
|volume=0.8
|pitch=1.0/0.8/0.9
|distance=16}}
{{Sound table
|sound=Pumpkin carve1.ogg
|sound2=Pumpkin carve2.ogg
|source=block
|subtitle=Shears carve
|description=When a pumpkin is carved
|id=block.pumpkin.carve
|translationkey=subtitles.block.pumpkin.carve
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a pair of shears' 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}}:<br>
Pumpkins do not have carve sounds.
{{Sound table
|type=bedrock
|sound=Shear.ogg
|source=player
|description=When something is sheared
|id=mob.sheep.shear
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Beehive shear.ogg
|source=block
|description=When honeycombs are harvested from a beehive
|id=block.beehive.shear
|volume=0.8
|pitch=0.8-1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a pair of shears' 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=Shears
|spritetype=item
|nameid=shears
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Shears
|spritetype=item
|nameid=shears
|id=421
|form=item
|foot=1}}

==Achievements==

{{load achievements|Have a Shearful Day}}<div style="text-align:center"></div>

==History==
{{History||June 3, 2011|link=https://twitter.com/jeb_/status/76570646074765312|Shears were first mentioned by [[Jeb]] on [[wikipedia:Twitter|Twitter]]. The tweet revealing Jeb's work on shears was written in Swedish (''Jag jobbar på shears nu''), which translates to "I'm working on shears now".}}
{{History||June 7, 2011|link=https://twitter.com/jeb_/status/78154891637436416|Jeb tweets about how shears were originally planned as a way to defuse [[TNT]], but he dropped this shortly after deciding TNT would detonate only with [[redstone]] or [[fire]].}}
{{History|java beta}}
{{History||1.7|[[File:Shears JE1 BE1.png|32px]] Added shears.
|Before [[Beta 1.7]], [[sheep]] would drop 1-3 [[wool]] blocks at most when hit, but shears can harvest up to 4 wool blocks per sheep.}}
{{History||1.8|snap=Pre-release|Shears can now be used to harvest a [[fern]], [[vines]] and [[grass]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Shears now harvest [[red mushroom]]s from a [[mooshroom]] and turn it back into a normal [[cow]].}}
{{History||1.1|snap=11w49a|[[Sheep]] now drop only 1-3 wool blocks when sheared, but they can also regrow their wool by eating [[grass block|grass]], which is part of a plan to have [[animal]]s stay in the game longer.<ref>{{Tweet|jeb|76647002317930496}}</ref>}}
{{History||1.2.1|snap=12w05a|Shears can now be used to harvest [[dead bush]]es.}}
{{History|||snap=12w06a|Shears are now [[renewable]], due to [[zombie]]s occassionally dropping iron ingots.}}
{{History||1.3.1|snap=12w21a|Shears can now be [[trading|bought]] from farmer [[villager]]s for 3 [[emerald]]s each.}}
{{History|||snap=12w22a|Shears can now be used to break [[tripwire]] string and not set it off.}}
{{History||1.4.2|snap=12w38a|Added a [[sound]] when using shears on [[sheep]].}}
{{History||1.4.6|snap=12w50a|Shears can now be [[enchanting|enchanted]].}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: Shepherd [[villager]]s now [[trading|sell]] shears for 3–4 [[emerald]]s each. 
|Farmers no longer trade shears.}}
{{History|||snap=pre1|Shears now lose [[item durability|durability]] when breaking [[wool]] blocks. In previous versions, shears would take [[item durability|durability]] [[damage]] only when destroyed or when breaking [[tall grass]] or [[leaves]], the damage remaining the same for all other [[block]]s.<ref>{{bug|MC-5313}}</ref>}}
{{History||1.9|snap=15w34a|Shears may now be used in a crafting grid to zoom in [[map]]s.}}
{{History|||snap=15w45a|Shears no longer zoom in maps.}}
{{History|||snap=15w47b|Shears can no longer be enchanted with [[Silk Touch]].
|Shears now lose durability when used to break any block (formerly lost durability only from [[leaves]], [[web]], [[grass]], [[vines]], [[tripwire]] and [[wool]]).}}
{{History|||snap=15w47c|Shears now harvest [[cobweb]] without requiring [[Silk Touch]].}}
{{History|||snap=15w49a|[[Snow golem]]'s [[pumpkin]] can now be removed with shears.}}
{{History||1.13|snap=17w47a|When shears are {{control|used}} on an un-carved [[pumpkin]], it now turns into a carved pumpkin and drops 4 [[pumpkin seeds]].
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 359.}}
{{History||1.14|snap=18w43a|Shears placed in a [[dispenser]] can now shear [[sheep]].
|[[File:Shears JE2 BE2.png|32px]] The texture of shears has been changed.}}
{{History|||snap=18w49a|Shears can now be found in [[chest]]s in [[village]] shepherd houses.}}
{{History||1.15|snap=19w34a|Shears can now be used on [[bee nest]]s and [[beehive]]s to harvest [[honeycomb]].}}
{{History||1.16|snap=20w15a|Shears placed in a dispenser can now shear [[mooshrooms]] and [[snow golem]]s.}}
{{History||1.16.2|snap=pre1|Shears are now required in order to pick up [[roots]].}}
{{History||1.16.2|snap=pre2|Shears are no longer required to pick up [[roots]].}}
{{History||1.17|snap=?|Shears are now required in order to pick up [[hanging roots]].}}
{{History||1.18|snap=21w37a|Shears can now stop [[cave vines]], [[kelp]], [[weeping vines]], and [[twisting vines]] from aging.}}
{{History||1.19|snap=22w11a|Shears are now required in order to pick up [[mangrove leaves]].}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Shears JE1 BE1.png|32px]] Added shears.}}
{{History||v0.3.2|Survival [[player]]s no longer start out with infinite durability shears in the [[inventory]].}}
{{History||v0.4.0|Removed shears from the creative inventory.}}
{{History||v0.8.0|snap=build 3|Re-added shears to [[creative]] mode.}}
{{History||v0.9.0|snap=build 1|Shears can now be used to transform [[mooshroom]]s into [[cow]]s.}}
{{History||v0.12.1|snap=build 3|Shearing a [[snow golem]] now removes its [[pumpkin]].
|Shears can now be [[enchanting|enchanted]] in an [[anvil]].}}
{{History||v0.13.0|snap=build 1|Shears can now be used to break [[tripwire]] string without triggering it.}}
{{History||v0.15.0|snap=build 1|Shears now lose durability when used to break any [[block]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Shears can now be [[trading|bought]] from shepherd [[villager]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Breaking a [[melon|melon block]] with shears now always drop 9 [[melon slice|melons]].}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.13.8|Shears can now be used to turn un-carved [[pumpkin]]s into [[carved pumpkin]] and spit out 4 [[pumpkin seeds]].}}
{{History||?|Shears now harvest [[cobweb]] without requiring [[Silk Touch]].}} 
{{History||1.10.0|snap=beta 1.10.0.3|Shears placed in a [[dispenser]] can now shear [[sheep]].
|[[File:Shears JE2 BE2.png|32px]] The texture of shears has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Shears can now be found in [[village]] shepherd houses.}}
{{History|||snap=beta 1.11.0.4|Shears [[trading|sold]] by shepherd [[villager]]s now cost only 2 [[emerald]]s.}}
{{History||1.14.0|snap=beta 1.14.0.1|Shears can now be used on [[bee nest]]s and [[beehive]]s to harvest [[honeycomb]].}}

{{History|console}}
{{History||xbox=TU3|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Shears JE1 BE1.png|32px]] Added shears.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Shears can now be used to turn regular [[pumpkin]]s into [[carved pumpkin]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Shears JE2 BE2.png|32px]] The texture of shears has been changed.
|Shears placed in a [[dispenser]] can now shear [[sheep]].}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Shears JE1 BE1.png|32px]] Added shears.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery==

<gallery>
File:Enchanted Shears.gif|An enchanted pair of shears.
</gallery>

==References==
{{reflist}}

==External links==
*[https://www.minecraft.net/en-us/article/taking-inventory--shears Taking Inventory: Shears] – Minecraft.net on November 20, 2019

{{Items}}

[[cs:Nůžky]]
[[de:Schere]]
[[es:Tijeras]]
[[fr:Cisailles]]
[[hu:Metszőolló]]
[[it:Cesoie]]
[[ja:ハサミ]]
[[ko:가위]]
[[nl:Schaar]]
[[pl:Nożyce]]
[[pt:Tesoura]]
[[ru:Ножницы]]
[[zh:剪刀]]
[[Category:Renewable resources]]</li><li>[[Banner|Banner]]<br/>{{for|the image|Banner (image)}}
{{Block
| image = <gallery>
White Banner.gif | Banner
White Wall Banner.png | Wall Banner
</gallery>
| rarity = Common
| transparent = Yes
| light = No
| tool = axe
| renewable = Yes
| stackable = Yes (16)
| flammable = No
| lavasusceptible = Yes
}}

'''Banners''' are tall decorative [[blocks]], featuring a field that is highly customizable using [[dye]]s and [[banner pattern]]s.

== Obtaining ==

=== Breaking ===

Banners can be broken with or without a [[tool]], but an [[axe]] is fastest.
{{breaking row|horizontal=1|Banners|Axe}}

A banner also breaks and drops itself as an [[Item (entity)|item]] if the block the banner is attached to is moved, removed, or destroyed.

=== Natural generation ===

{| class="wikitable collapsible"
! Name !! Location !! Appearance !! Design
|-
! Magenta Banner
| Outside of [[end cities]].
| style="text-align: center" | [[File:End City Banner.png|32px]]
| Magenta Banner
* Black Inverted Chevron
* Black Chevron
|-
! Gray Banner
| In banner room in [[woodland mansion]]s.
| style="text-align: center" | [[File:Gray Banner.png|32px]]
| Gray Banner
|-
! Light Gray Banner
| In master bedroom in [[woodland mansion]]s.
| style="text-align: center" | [[File:Master Bedroom Banner.png|32px]]
| Light Gray Banner
* White Flower Charge
|- id="Ominous Banner"
! Ominous Banner{{only|java|short=1}} 
Illager Banner{{only|bedrock|education|short=1}}
| Carried by [[raid captain]]s.<br> Located in [[pillager outpost]]s.

{{IN|java}}, the ominous banner cannot be crafted or copied because the design uses 8 patterns.

{{IN|bedrock}}, the illager banner is a separate type that cannot be placed in a loom.
| style="text-align: center" | [[File:Ominous Banner.png|32px]]<br/>[[File:Ominous Banner BE.png|32px]]
| White Banner{{only|java|short=1}}
* Cyan Lozenge
* Light Gray Base
* Gray Pale
* Light Gray Bordure
* Black Fess
* Light Gray Per Fess
* Light Gray Roundel
* Black Bordure
Separate type entirely{{only|bedrock|short=1}}
|-
! Brown Banner
| Outside of some houses, meeting points, and pillar fountains in savanna [[village]]s. 
| style="text-align: center" | [[File:Brown Banner.png|32px]]
| Brown Banner
|-
! Black Banner
| In altar room in [[woodland mansions]].
| style="text-align: center" | [[File:Black Banner.png|32px]]
| Black Banner
|}

=== Crafting ===

Banners can be crafted from six [[wool]] and a [[stick]] in a pattern resembling a [[sign]].
{{Crafting
|head=1
|showdescription=1
|A1=Matching Wool |B1=Matching Wool |C1=Matching Wool
|A2=Matching Wool |B2=Matching Wool |C2=Matching Wool
|B3=Stick
|Output=Matching Banner
|Olink=Banner
|type=Decoration block
|description=Once the banner is crafted, its base color cannot be changed.{{only|java}}
}}
{{Crafting
|showdescription=1
|Any Banner
|Bleach
|Output=White Banner
|type=Decoration block
|description=Bleach can be used to remove the color of a banner, resulting in a white banner. This includes removing patterns from a white banner.{{only|bedrock|education}}
|foot=1
}}

=== Trading ===
Expert-level cartographer [[villager]]s always offer to [[trading|sell]] 1 or 2 blank banners of a random color for 3 [[emeralds]]. Expert-level shepherd villagers have a {{frac|2|7}} chance of offering the same trade.{{only|java}}

{{IN|bedrock}}, expert-level cartographer and shepherd villagers both offer to sell one of 16 blank banners for 3 emeralds as part of their trades.

=== Mob loot ===

[[Illager]]s that spawn carrying an ominous banner{{only|java|short=1}} / illager banner{{only|bedrock|education|short=1}} always drop it upon death.

== Usage ==

[[File:Standing banner with block.png|thumb|upright|Overlapping block on a banner.]]
[[File:Wall banner with block.png|thumb|upright|Overlapping on a wall mounted banner.]]

There are 16 colored blank banners, and numerous patterns each available in each of the 16 colors. A banner can feature up to 6 different patterns. The top layer of a banner (or the last pattern added) can be washed off by {{control|using}} it on a [[cauldron]] containing water.

Banners, much like signs, can be placed both on the ground facing in any direction, or on a wall. They gently sway as if affected by a breeze, regardless of dimension or location. 

Banners have no collision mask as they are completely non-solid, so [[entities]] can move through them.

Other blocks (including other banners) can be placed on any edge of a banner's hitbox, which is only one block high despite the banner appearing as two blocks tall. This makes it possible to overlap another solid block on the top half of a banner for floor banners, or the bottom half of wall banners.

When a banner is placed on the side of a block, its position is set by the top block, and it is possible to place it so it appears half buried.

Banners can also be placed in [[item frame]]s, where they simply appear as their item model.

[[Water]] and [[lava]] flow around banners. {{IN|bedrock}}, banners can be [[waterlogged]].

<gallery>
File:Wall banner with water below.png| Water can be placed below wall banners
File:Water flowing around banner.png| Water flows around a banner on the ground
</gallery>

Lava can create [[fire]] in air blocks next to banners as if the banners were flammable, but the banners do not burn (and cannot be burned by other methods). Banners also cannot be moved by [[piston]]s.

If a banner is renamed on an [[anvil]], it retains its name when a pattern is added, but not when a pattern is removed.

=== Helmet ===
{{exclusive|java|section=13}}
While a banner cannot be equipped in the [[Helmet|head slot]] in [[Survival]] mode, equipping it using commands causes it to appear on top of the player. This is how [[raid captain]]s wear banners{{only|java|short=1}}.

=== Chestplate ===
{{exclusive|bedrock|section=13}}
While a banner cannot be equipped in the [[chestplate]] slot in Survival mode, equipping it using NBT editors causes it to appear on top of the player. This is how [[raid captain]]s wear banners{{only|bedrock|education|short=1}}.
<gallery>
Steve wearing White Banner.png|
Alex wearing White Banner.png|
Pillager with Ominous Banner.png|
Vindicator with Ominous Banner.png|
Evoker with Ominous Banner.png|Illusioner with Ominous Banner.png|
</gallery>

=== Crafting ingredient ===

[[Shield]]s can have patterns applied to them using banners. The shield pattern has a smaller resolution than the banner pattern, causing them to look different or offset. Banners that have more than six patterns, such as Ominous Banners or banners obtained through inventory editors, will be reduced to six patterns on the shield.

{{Crafting
|showdescription=1
|Shield
|Matching Banner; Ominous Banner
|Output=Matching Shield; Ominous Shield
|B2link=Banner
|type=Combat
|description=Applies the banner pattern to the shield. The banner is consumed.<br>The shield must have no pre-existing patterns.<br>Does not change existing durability or enchantments on the shield.
}}

=== Copying ===

Banners can be copied with a blank banner to make multiple identical banners. Banners with more than 6 patterns applied using commands cannot be copied in this manner.

{{Crafting
|showdescription=1
|Matching Banner
|Matching Banner
|Output=Matching Banner
|A2link=Banner
|B2link=Banner
|Olink=Banner
|type=Decoration block
|ignoreusage=1
|description=Copies pattern; both banners must have the same base color, and the one having a pattern copied onto it must have no preexisting pattern.
}}

=== Map marker ===
[[File:Banner marked map.png|alt=All banners marked on a map, alongside a named banner.|thumb|right|How every banner appears {{IN|java}} on a map, including named banners.]]

{{exclusive|java|section=13}}
{{IN|java}}, {{control|using}} on a standing banner with a [[map]] selected places a marker of the banner's position on the selected map, and {{control|using}} on the banner again removes the marker. Note that wall banners cannot serve as map markers. The marker has the same color as the banner's base without decorations. The marker is removed if the banner is destroyed unless the map is locked using a [[cartography table]]. If the banner is renamed, the name appears below the marker.

=== Patterns ===
{{see also|Banner/Patterns|title1=List of patterned banners}}
[[File:Spawned-in Banner.png|thumb|100px|Example of a banner with more than 6 patterns, a result of using the {{cmd|give}} command.]]

A banner may have up to six layers of patterns, which are overlaid with the last-crafted on top. A banner can have up to 16 layers of patterns with the use of commands. The total number of unique banners is approximately 2.3x10^16 (or 23 quadrillion).

Any color banner can be used; the pattern overlays the color. {{IN|java}}, a [[loom]] is used to make patterns. However, {{in|bedrock}}, the patterns can be made in a [[loom]] or a [[crafting table]].

A banner can have more than six layers of patterns through the commands <code>/[[Commands/give|give]]</code>, <code>/[[Commands/setblock|setblock]]</code> or <code>/[[Commands/fill|fill]]</code>. This only works in ''Java Edition'', as Bedrock Edition doesn't have any NBT commands. Here is an example of a mining banner with seven different patterns. There is specific codes for the [[Banner#Item data:~:text=white-,Item,-In Java Edition|colors]] and [[Banner/Patterns|patterns]] that you have to input. 

<code><nowiki>/give @p white_banner{display:{Name:"\"Mining Industries Banner\""},BlockEntityTag:{Patterns:[{Pattern:"cr",Color:15},{Pattern:"bs",Color:15},{Pattern:"sc",Color:12},{Pattern:"ms",Color:0},{Pattern:"hh",Color:15},{Pattern:"bo",Color:15},{Pattern:"tts",Color:8}]}} 1</code>

{{LoadPage|Template:Banner pattern loom recipes|Loom recipes|h4}}
{{LoadPage|Banner/Banner pattern crafting recipes|Crafting recipes|h4|transcluded=1}}

=== Renaming ===
{{IN|java}}, a banner can be given a custom name that remains as the banner is placed and retrieved. The player can use an [[anvil]] to rename the banner item, or may change the <code>CustomName</code> tag using the {{cmd|data}} command on the banner block.

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

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

== Sounds ==
=== Generic ===
{{Sound table/Block/Wood}}
=== Unique ===
{{edition|java}}: ''None''

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Water Splash Old.ogg
|source=block
|description=When all patterns are removed from a banner using a cauldron
|id=cauldron.cleanbanner
|volume=0.1
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=White Banner
|spritetype=block
|nameid=white_banner
|blocktags=banners, wall_post_override
|itemtags=banners
|translationkey=block.minecraft.white_banner,block.minecraft.ominous_banner
}}
{{ID table
|displayname=Orange Banner
|spritetype=block
|nameid=orange_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Magenta Banner
|spritetype=block
|nameid=magenta_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Light Blue Banner
|spritetype=block
|nameid=light_blue_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Yellow Banner
|spritetype=block
|nameid=yellow_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Lime Banner
|spritetype=block
|nameid=lime_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Pink Banner
|spritetype=block
|nameid=pink_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Gray Banner
|spritetype=block
|nameid=gray_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Light Gray Banner
|spritetype=block
|nameid=light_gray_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Cyan Banner
|spritetype=block
|nameid=cyan_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Purple Banner
|spritetype=block
|nameid=purple_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Blue Banner
|spritetype=block
|nameid=blue_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Brown Banner
|spritetype=block
|nameid=brown_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Green Banner
|spritetype=block
|nameid=green_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Red Banner
|spritetype=block
|nameid=red_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=Black Banner
|spritetype=block
|nameid=black_banner
|blocktags=banners, wall_post_override
|itemtags=banners}}
{{ID table
|displayname=White Wall Banner
|spritetype=block
|nameid=white_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.white_banner,block.minecraft.ominous_banner}}
{{ID table
|displayname=Orange Wall Banner
|spritetype=block
|nameid=orange_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.orange_banner}}
{{ID table
|displayname=Magenta Wall Banner
|spritetype=block
|nameid=magenta_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.magenta_banner}}
{{ID table
|displayname=Light Blue Wall Banner
|spritetype=block
|nameid=light_blue_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.light_blue_banner}}
{{ID table
|displayname=Yellow Wall Banner
|spritetype=block
|nameid=yellow_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.yellow_banner}}
{{ID table
|displayname=Lime Wall Banner
|spritetype=block
|nameid=lime_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.lime_banner}}
{{ID table
|displayname=Pink Wall Banner
|spritetype=block
|nameid=pink_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.pink_banner}}
{{ID table
|displayname=Gray Wall Banner
|spritetype=block
|nameid=gray_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.gray_banner}}
{{ID table
|displayname=Light Gray Wall Banner
|spritetype=block
|nameid=light_gray_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.light_gray_banner}}
{{ID table
|displayname=Cyan Wall Banner
|spritetype=block
|nameid=cyan_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.cyan_banner}}
{{ID table
|displayname=Purple Wall Banner
|spritetype=block
|nameid=purple_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.purple_banner}}
{{ID table
|displayname=Blue Wall Banner
|spritetype=block
|nameid=blue_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.blue_banner}}
{{ID table
|displayname=Brown Wall Banner
|spritetype=block
|nameid=brown_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.brown_banner}}
{{ID table
|displayname=Green Wall Banner
|spritetype=block
|nameid=green_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.green_banner}}
{{ID table
|displayname=Red Wall Banner
|spritetype=block
|nameid=red_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.red_banner}}
{{ID table
|displayname=Black Wall Banner
|spritetype=block
|nameid=black_wall_banner
|blocktags=banners, wall_post_override
|form=block
|translationkey=block.minecraft.black_banner
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=Banners
|spritetype=block
|nameid=banner
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Banner
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Standing
|spritename=Banners
|spritetype=block
|nameid=standing_banner
|translationkey=tile.standing_banner.black.name, tile.standing_banner.red.name, tile.standing_banner.green.name, tile.standing_banner.brown.name, tile.standing_banner.blue.name, tile.standing_banner.purple.name, tile.standing_banner.cyan.name, tile.standing_banner.silver.name, tile.standing_banner.gray.name, tile.standing_banner.pink.name, tile.standing_banner.lime.name, tile.standing_banner.yellow.name, tile.standing_banner.lightBlue.name, tile.standing_banner.magenta.name, tile.standing_banner.orange.name, tile.standing_banner.white.name
|id=176
|form=block}}
{{ID table
|displayname=Wall
|spritename=Banners
|spritetype=block
|nameid=wall_banner
|id=177
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=Banners
|spritetype=item
|nameid=banner
|translationkey=item.banner.black.name, item.banner.red.name, item.banner.green.name, item.banner.brown.name, item.banner.blue.name, item.banner.purple.name, item.banner.cyan.name, item.banner.silver.name, item.banner.gray.name, item.banner.pink.name, item.banner.lime.name, item.banner.yellow.name, item.banner.lightBlue.name, item.banner.magenta.name, item.banner.orange.name, item.banner.white.name
|id=567
|form=item
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=Banners
|spritetype=block
|nameid=Banner
|foot=1}}

=== Metadata ===
==== Item ====
{{IN|Bedrock}}, banner items use the following data values:
{| class="wikitable"
! DV !! Banner color
|-
|| 0 || black
|-
|| 1 || red
|-
|| 2 || green
|-
|| 3 || brown
|-
|| 4 || blue
|-
|| 5 || purple
|-
|| 6 || cyan
|-
|| 7 || light gray
|-
|| 8 || gray
|-
|| 9 || pink
|-
|| 10 || lime
|-
|| 11 || yellow
|-
|| 12 || light blue
|-
|| 13 || magenta
|-
|| 14 || orange
|-
|| 15 || white
|}

=== Item ===
{{IN|Java}}, banner items use the following data values:
{| class="wikitable"
! DV !! Banner color
|-
|| 15 || black
|-
|| 14 || red
|-
|| 13 || green
|-
|| 12 || brown
|-
|| 11 || blue
|-
|| 10 || purple
|-
|| 9 || cyan
|-
|| 8 || light gray
|-
|| 7 || gray
|-
|| 6 || pink
|-
|| 5 || lime
|-
|| 4 || yellow
|-
|| 3 || light blue
|-
|| 2 || magenta
|-
|| 1 || orange
|-
|| 0 || white
|}

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

=== Block data ===

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

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

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

=== Item data ===

{{el|java}}:
{{main|Player.dat format}}
Banners, as items, use an NBT tag <code>BlockEntityTag</code> to indicate the patterns and details when it is placed.

<div class="treeview" style="margin-top: 0;">
* {{nbt|compound|Item}}: The item
** {{nbt|compound|tag}}: Additional information about the item. This tag is optional for most items.
*** {{nbt|compound|BlockEntityTag}}: The details of the shulker box.
**** All block data, except tags common to all block entities.
</div>

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

== Achievements ==
{{load achievements|Fruit on the Loom}}

== Advancements ==
{{load advancements|Voluntary Exile}}

== History ==
{{info needed section|The Nether Update}}
{{History|java}}
{{History||1.8|snap=July 21, 2014|slink=https://twitter.com/jeb_/status/491238882789572608|[[Jeb]] posted a picture of banners, and stated that he is working on them.}}
{{History|||snap=14w30a|[[File:White Banner Revision 1.png|22px]][[File:Light Gray Banner Revision 1.png|22px]][[File:Gray Banner Revision 1.png|22px]][[File:Black Banner Revision 1.png|22px]][[File:Brown Banner Revision 1.png|22px]][[File:Red Banner Revision 1.png|22px]][[File:Orange Banner Revision 1.png|22px]][[File:Yellow Banner Revision 1.png|22px]][[File:Lime Banner Revision 1.png|22px]][[File:Green Banner Revision 1.png|22px]][[File:Cyan Banner Revision 1.png|22px]][[File:Light Blue Banner Revision 1.png|22px]][[File:Blue Banner Revision 1.png|22px]][[File:Purple Banner Revision 1.png|22px]][[File:Magenta Banner Revision 1.png|22px]][[File:Pink Banner Revision 1.png|22px]] Added banners.}}
{{History|||snap=14w30c|Added four additional patterns: Cross (+), Border, Curly Border and Thing (Mojang logo).}}
{{History|||snap=14w31a|Added two additional patterns: Inverted Halves and Base Gradient.
|The banner pattern terminology has been changed based on vexillology advice [[Jeb]] received from [http://www.reddit.com/r/Minecraft/comments/2bkxej/i_made_a_huge_mistake_banners/ his Reddit post].
|Banners can now be used as a [[fuel]] in [[furnace]]s.}}
{{History||1.8.8|snap=pre|The number of layers attainable by using [[commands]] is now limited to 16 per banner.}}
{{History||1.9|snap=15w31a|[[File:End City Banner.png|17px]] Magenta banners with a black chevron and inverted chevron are now naturally generated on the outside walls of [[end city|end cities]].}}
{{History|||snap=15w33c|Banners can be used to apply patterns to [[shield]]s.}}
{{History||1.11|snap=16w33a|Banners now require a [[dye]] when applying a pattern that uses a non-dye [[item]], such as a [[mob head|creeper head]] or [[golden apple|enchanted golden apple]]. Previously, the lack of a dye would have applied the black variant of the pattern.}}
{{History|||snap=16w39a|Black and gray banners, and light gray banners with a white flower charge are now naturally generated in rooms of [[woodland mansion]]s.}}
{{History||1.12|snap=January 24, 2017|slink={{tweet|jeb_|823817090511601664}}|[[Jeb]] tweets a screenshot of the changes to the banner color palette.}}
{{History|||snap=17w06a|[[File:White Banner.png|17px]] [[File:Light Gray Banner.png|17px]] [[File:Gray Banner.png|17px]] [[File:Black Banner.png|17px]] [[File:Brown Banner.png|17px]] [[File:Red Banner.png|17px]] [[File:Orange Banner.png|17px]] [[File:Yellow Banner.png|17px]] [[File:Lime Banner.png|17px]] [[File:Green Banner.png|17px]] [[File:Cyan Banner.png|17px]] [[File:Light Blue Banner.png|17px]] [[File:Blue Banner.png|17px]] [[File:Purple Banner.png|17px]] [[File:Magenta Banner.png|17px]] [[File:Pink Banner.png|17px]] Changed banners' [[tint]]s.}}
{{History|||snap=pre6|"Chief fess" and "base fess" banners are now just "chief" and "base" banners.}}
{{History||1.13|snap=17w47a|The colors for the <code>banner</code>, <code>wall_banner</code> and <code>standing_banner</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], these [[block]]s' numeral IDs were 176 and 177, and the [[item]]'s 425.}}
{{History|||snap=18w10a|{{control|Using}} a [[map]] on a banner now mark the spot of the banner on the map.}}
{{History||1.14|snap=18w43a|[[Loom]]s have been added to help the [[player]] edit banners more easily.
|All recipes for banner patterns have been removed.}}
{{History|||snap=18w45a|[[File:Ominous Banner Revision 1.png|17px]] Added [[illager patrol]]s, where the leader of an illager patrol carries an [[illager]] banner.}}
{{History|||snap=18w46a|[[File:Ominous Banner.png|17px]] The pattern of [[illager]] banner now has a black border.}}
{{History|||snap=19w11a|Cartographer and shepherd [[villager]]s now [[trading|sell]] banners.}}
{{History|||snap=Pre-Release 2|"Illager Banners" have been renamed to "Ominous Banners".}}
{{History||1.17|snap=20w46a|The unused "base" pattern has been renamed to the "field" pattern and given proper translation strings (its ID is still "base").}}
{{History||1.19.3|snap=22w43a|The ominous banner is now available in the Creative inventory.}}

{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:White Banner.png|17px]] [[File:Light Gray Banner.png|17px]] [[File:Gray Banner.png|17px]] [[File:Black Banner.png|17px]] [[File:Brown Banner.png|17px]] [[File:Red Banner.png|17px]] [[File:Orange Banner.png|17px]] [[File:Yellow Banner.png|17px]] [[File:Lime Banner.png|17px]] [[File:Green Banner.png|17px]] [[File:Cyan Banner.png|17px]] [[File:Light Blue Banner.png|17px]] [[File:Blue Banner.png|17px]] [[File:Purple Banner.png|17px]] [[File:Magenta Banner.png|17px]] [[File:Pink Banner.png|17px]] Added banners.
|[[File:End City Banner.png|17px]] Magenta banners with a black chevron and inverted chevron are now naturally generated on the outside walls of [[end city|end cities]].
|Black and gray banners, and light gray banners with a white flower charge are now naturally generated in rooms of [[woodland mansion]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|The white banner can now be crafted from a colored banner and [[bleach]], which also removes all patterns, if used on a white banner.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[Loom]]s have been added to help the [[player]] edit banners more easily.
|Brown banners now generate in new [[savanna]] [[village]]s.
|Black banners now generate in [[pillager outpost]] watchtowers.}}
{{History||1.11.0|snap=beta 1.11.0.1|Gray banners now generate in pillager outpost watchtowers, instead of black banners.
|[[File:Ominous Banner BE.png|17px]] Added [[illager captain]]s, which drop an [[illager]] banner upon [[death]].}}
{{History|||snap=beta 1.11.0.3|Illager banners now generate in [[pillager outpost]] watchtowers, instead of gray banners.}}
{{History|||snap=beta 1.11.0.4|Banners can now be [[trading|bought]] from cartographer and shepherd [[villager]]s.}}
{{History||1.20.0|snap=beta 1.20.0.20|Banners can now be used to customise [[shield]]s.}}

{{History|console}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|switch=1.0.1|[[File:White Banner Revision 1.png|22px]][[File:Light Gray Banner Revision 1.png|22px]][[File:Gray Banner Revision 1.png|22px]][[File:Black Banner Revision 1.png|22px]][[File:Brown Banner Revision 1.png|22px]][[File:Red Banner Revision 1.png|22px]][[File:Orange Banner Revision 1.png|22px]][[File:Yellow Banner Revision 1.png|22px]][[File:Lime Banner Revision 1.png|22px]][[File:Green Banner Revision 1.png|22px]][[File:Cyan Banner Revision 1.png|22px]][[File:Light Blue Banner Revision 1.png|22px]][[File:Blue Banner Revision 1.png|22px]][[File:Purple Banner Revision 1.png|22px]][[File:Magenta Banner Revision 1.png|22px]][[File:Pink Banner Revision 1.png|22px]] Added banners.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|switch=1.0.1|[[File:End City Banner.png|17px]] Magenta banners with a black chevron and inverted chevron are now naturally generated on the outside walls of [[end city|end cities]].}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|[[File:White Banner.png|17px]] [[File:Light Gray Banner.png|17px]] [[File:Gray Banner.png|17px]] [[File:Black Banner.png|17px]] [[File:Brown Banner.png|17px]] [[File:Red Banner.png|17px]] [[File:Orange Banner.png|17px]] [[File:Yellow Banner.png|17px]] [[File:Lime Banner.png|17px]] [[File:Green Banner.png|17px]] [[File:Cyan Banner.png|17px]] [[File:Light Blue Banner.png|17px]] [[File:Blue Banner.png|17px]] [[File:Purple Banner.png|17px]] [[File:Magenta Banner.png|17px]] [[File:Pink Banner.png|17px]] Changed banners' [[tint]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[Loom]]s have been added to help the [[player]] edit banners more easily.}}
{{History||ps=1.91|[[File:Ominous Banner BE.png|17px]] Added [[illager]] banners, which generate with [[pillager outpost]]s and are [[drops|dropped]] by [[illager captain]]s upon [[death]].}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==
* With 16 blank banners, 38 patterns of 16 colors each (608 uniquely-colored patterns), and 0 to 6 patterns per banner, the number of uniquely crafted banners is 16 × (608<sup>0</sup> + 608<sup>1</sup> + 608<sup>2</sup> + 608<sup>3</sup> + 608<sup>4</sup> + 608<sup>5</sup> + 608<sup>6</sup>) ≈ 809 quadrillion - 809 with 15 zeros (809,573,616,779,945,488). The number of visually distinct banners is smaller, because one or more patterns may completely cover other patterns, or the entire banner, or be duplicated due to the symmetric set of patterns (e.g. field or (yellow) + per pale azure (blue) = field azure + per pale or inverted).
** Not 38 patterns are available on BE, but 40 patterns of 16 colors each (640 uniquely-colored patterns), so the number is even greater. 16 × (640<sup>0</sup> + 640<sup>1</sup> + 640<sup>2</sup> + 640<sup>3</sup> + 640<sup>4</sup> + 640<sup>5</sup> + 640<sup>6</sup>) ≈ 1 quintillion - 1 with 18 zeros (1,101,232,303,249,827,856). This increases the number by almost 1.4 times, or almost 292 quadrillion, despite the addition of only 2 patterns.
* If a banner has over 6 patterns, only the six bottom-most patterns are displayed when hovered over in the [[inventory]].
* The Mojang logo is called "Thing" in-game, which could be considered an alternate translation for [[wiktionary:mojäng|mojäng]]. If [[wikipedia:Google Translate|Google Translate]] is used, it translates to "thingys" or "contraption".
** In the Swedish translation of the game, this pattern is, in fact, called ''mojäng''.
* [[List of block textures#Banner Textures|Banner textures]] are located in \assets\minecraft\textures\entity\banner.
** There are 40 monochrome textures, each containing all 6 sides of the banner.
** The texture of the back side is the mirrored texture of the front side.
** Compared to the texture files, textures' colors are inverted in-game due to them acting as masks for the re-colored base texture, base.png. That means white is visible, while black is transparent.
* Banners that have the purple NBT+ line in the bottom (obtained by holding Ctrl and middle-clicking the banner, which also copies the NBT [[tag]] of anything that the player points their crosshair to) actually have no difference with the base banner obtained by middle click.
*The Illager Banner in Bedrock Edition is available as a separate item but is just a second variant of the white banner.
**Standard variant of white banner is set to type 0.
**Illager variant is set to type 1.

== Gallery ==
<gallery>
Banners Jeb.png|The first image of banners, as tweeted by Jens Bergensten.
Iceland and Norway Flags.png|Another banner image from Jeb.
Searge Banners.png|Several banners made by Searge.
The Bountiful Update.png|Banners in the official 1.8 poster.
BannersBeforeAndAfter.png|An image, tweeted by Jeb, showcasing the changes he made to the banner color palette in the 1.12 update.
Gradients Overlay.png|The result of using gradient different numbers of times, each time increasing the level of gradient by 1.
All positions and rotations of a banner.png|All positions and rotations of a banner
Item Frame with Banner.png|A banner with the [[Mojang]] logo in an [[item frame]].
EndCityBanners.png|Banners floating outside of an [[End city]] tower.
Woodland mansion 1x2 d1.png|Banners hanging above the doorway of a [[woodland mansion]] master bedroom.
Replaceitembanner.png|Banner put in the helmet slot by using the command {{cmd|replaceitem}}{{Only|BE}} or {{cmd|item replace}}{{Only|JE}}.
Better Together Banners.jpg|Banners in ''Bedrock Edition''.
Better Together Banner Crafting 1.jpg|A banner in the hand.
Better Together Banner Crafting 2.jpg|A banner in the inventory.
Better Together Banner Crafting 3.jpg|A banner in the crafting grid.
Better Together Banner Crafting 4.jpg|A banner being given a pattern.
</gallery>

=== Renders ===
<gallery>
Ominous Banner.gif
White Banner.gif
Light Gray Banner.gif
Gray Banner.gif
Black Banner.gif
Brown Banner.gif
Red Banner.gif
Orange Banner.gif
Yellow Banner.gif
Lime Banner.gif
Green Banner.gif
Cyan Banner.gif
Light Blue Banner.gif
Blue Banner.gif
Purple Banner.gif
Magenta Banner.gif
Pink Banner.gif
Ominous Wall Banner.png| 
White Wall Banner.png| 
Light Gray Wall Banner.png| 
Gray Wall Banner.png| 
Black Wall Banner.png| 
Brown Wall Banner.png| 
Red Wall Banner.png| 
Orange Wall Banner.png| 
Yellow Wall Banner.png| 
Lime Wall Banner.png| 
Green Wall Banner.png| 
Cyan Wall Banner.png| 
Light Blue Wall Banner.png| 
Blue Wall Banner.png| 
Purple Wall Banner.png| 
Magenta Wall Banner.png| 
Pink Wall Banner.png
</gallery>

<gallery>
File:Ominous Banner.gif|Ominous banner pattern in Java Edition.
File:Ominous Banner BE.gif|Illager banner pattern in Bedrock Edition.
File:Ominous Banner Revision 1.gif|Old Ominous banner pattern.
File:Ominous Banner washing.gif|Washing with cauldron shows how to apply the ominous banner pattern.
</gallery>

=== [[Lego Minecraft]] Banners ===
<gallery>
File:Lego Red Creeper Banner Collage.jpg|Lego banners from 21127 and 21131
File:Lego Melon Banner.png|Lego banner from 21138
File:Lego Fish Banner.png|Lego banner from 21142
File:Lego Beetroot Banner.png|Lego banner from 21144
File:Lego Wheat Banner.png|Another lego banner from 21144
File:Lego Carrot Banner.png|A third lego banner from 21144
File:Lego Crossbones Banner.png|Lego banner from 21152
File:Lego Green Creeper Banner Collage.jpg|Lego banners from 21155
File:Lego Ominous Banner.png|Lego ominous banner from 21160
</gallery>

== References ==
{{reflist}}

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

[[Category:Generated structure blocks]]
[[Category:Manufactured blocks]]
[[Category:Block entities]]
[[Category:Non-solid blocks]]

[[cs:Prapor]]
[[de:Banner]]
[[es:Estandarte]]
[[fr:Bannière]]
[[ja:旗]]
[[ko:현수막]]
[[nl:Banier]]
[[pl:Sztandar]]
[[pt:Estandarte]]
[[ru:Флаг]]
[[uk:Стяг]]
[[zh:旗帜]]</li></ul></nowiki>
12w38aBat Revision 1 Added bats.
12w42aBats no longer "trample" crops nor do they activate pressure plates.[3]
1.4-preAdded bat sounds: entity.bat.ambient, entity.bat.hurt, entity.bat.death, entity.bat.takeoff
1.11
{{Extension DPL}}<ul><li>[[Minecart with Hopper|Minecart with Hopper]]<br/>{{ItemEntity
|image=Minecart with Hopper.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops=1 {{ItemLink|Minecart with Hopper}}<br>plus contents
|health={{hp|6}}
}}
A '''minecart with hopper''' is a [[minecart]] with a [[hopper]] inside. Unlike a normal hopper, it pulls items from containers much more quickly, cannot push items into containers, can collect [[Item (entity)|item entities]] through a single layer of [[solid block]]s and is locked and unlocked via [[Activator Rail|activator rails]].

== Obtaining ==

=== Crafting ===

{{Crafting
|Output= Minecart with Hopper
|type= Transportation
|Hopper|Minecart}}

Minecarts with hoppers can be retrieved by attacking them. By doing so it drop as an [[item (entity)|item]] and any other contents of the hopper are dropped as well.

== Usage ==
[[File:Minecart with Hopper GUI.png|thumb|176px|The GUI of a minecart with hopper.]]
Minecarts with hoppers are placed similarly to other [[minecart]]s.

A minecart with hopper pulls in items lying nearby (within a range slightly larger than the cart itself), or inside a container directly above the minecart, at a rate of 1 item every [[game tick]] (20 items per second), eight times as fast as a normal hopper. It also picks up items that are lying on a block directly above the track. It does not push items into containers, but a hopper underneath the track can remove items from a minecart with hopper on the track. Ordinary hoppers can also drop items into a minecart with hopper like other containers, at the normal speed of 2.5 items per second. In Bedrock Edition, a minecart with hopper on curved rail pulls in items in a hopper lying in front of its moving direction and 1 block above if hopper's output funnel is pointed downward and no block is below that hopper.<ref>{{bug|MCPE-94293}}</ref>

The hopper can be disabled by passing over a powered [[activator rail]], and can be reenabled by an inactive activator rail.

An empty minecart with hopper can travel more than 85 blocks without stopping (as opposed to a normal cart going less than 12 blocks) from a dead stop using a 2 powered track starter even with another cart in front of them. However, the distance traveled by a minecart with hopper depends on the hopper's load. Using a 1 powered rail starter track, a minecart with an empty hopper travels 64 blocks until it stops (as opposed to an empty normal minecart going 8 blocks). The distance traveled diminishes non-linearly with increased hopper load; a minecart with a full hopper can travel only 16 blocks in this setup.

{{See also|Tutorials/Storage minecarts}}

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with Hopper
|spritetype=item
|nameid=hopper_minecart
|id=526
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with Hopper
|spritetype=entity
|nameid=hopper_minecart
|id=96
|foot=1}}

=== Entity data ===
Minecarts with hoppers 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]].

== Video ==

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

== History ==

{{History|java}}
{{History||1.5|snap=13w03a|[[File:Minecart with Hopper JE1 BE1.png|32px]] [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.}}
{{History||1.9|snap=15w43a|Loot tables are added; minecarts with hopper now can use loot tables.}}
{{History||1.9.1|snap=pre2|The title of the [[inventory]] is changed from 'Hopper minecart' to 'Minecart with Hopper'.}}
{{History||1.11|snap=16w32a|The entity ID of the minecart with hopper has now been changed from <code>MinecartHopper</code> to <code>hopper_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 408.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Hopper JE2 BE2.png|32px]] [[File:Minecart with Hopper (item) JE2 BE2.png|32px]] The textures of the minecart with hopper have now been changed.}}
{{History||1.15|snap=19w38a|[[File:Minecart with Hopper 19w38a.png|32px]] The hopper now appears dark, same as suffocating mobs.}}
{{History|||snap=19w39a|The hopper now renders correctly.}}
{{History||1.16.2|snap=Pre-release 1|Opening or destroying a minecart with hopper now angers nearby [[piglin]]s.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with hopper is now shapeless.|Breaking a minecart with hopper will now drop the item instead of the minecart and hopper separately, though the contents of the hopper are still dropped.<ref>{{bug|MC-249493|||Fixed}}</ref>}}
{{History||1.19.4|snap=23w06a|Minecart with hopper now no longer aggravates [[piglin]]s when opened.}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Minecart with Hopper JE1 BE1.png|32px]] [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|The entity ID of the minecart with hopper has now been changed from <code>minecarthopper</code> to <code>hopper_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Hopper JE2 BE2.png|32px]] [[File:Minecart with Hopper (item) JE2 BE2.png|32px]] The textures of the minecart with hopper have now been changed.}}
{{History||1.19.0|snap=beta 1.19.0.30|Breaking a minecart with hopper will now drop the item instead of the minecart and hopper separately, though the contents of the hopper are still dropped.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Hopper JE1 BE1.png|32px]] [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart with Hopper JE2 BE2.png|32px]] [[File:Minecart with Hopper (item) JE2 BE2.png|32px]] The textures of the minecart with hopper have now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Minecart with Hopper JE1 BE1.png|32px]]  [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.
|Minecarts with hopper emit smoke [[particles]] when destroyed.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
File:First hopper Minecart Image.png|The first image of hopper carts released by Dinnerbone.<ref>{{Tweet|Dinnerbone|291215700213772289|Well you guys got that quick. The letters in the hotbar were for <nowiki>[imgur link]|January 15, 2013}}</ref>
File:13w03a Banner.png|The 13w03a banner showing a minecart with hopper and a [[dropper]].
</gallery>

== References ==

{{reflist}}


{{items}}
{{entities}}

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

[[cs:Vozík s násypkou]]
[[de:Trichterlore]]
[[es:Vagoneta con tolva]]
[[fr:Wagonnet à entonnoir]]
[[hu:Tölcsér csille]]
[[it:Carrello da miniera]]
[[ja:ホッパー付きのトロッコ]]
[[ko:호퍼가 실린 광산 수레]]
[[nl:Mijnkar met trechter]]
[[pl:Wagonik z lejem]]
[[pt:Carrinho de mina com funil]]
[[ru:Вагонетка с воронкой]]
[[uk:Вагонетка з лійкою]]
[[zh:漏斗矿车]]</li><li>[[Iron Ingot|Iron Ingot]]<br/>{{About|the ingot|the ore|Iron Ore|the mineral block|Block of Iron|the nugget|Iron Nugget|the raw mineral|Raw Iron}}
{{Item
| image = Iron Ingot.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}

'''Iron ingots''' are versatile [[metal]] ingots used extensively in [[crafting]].

== Obtaining ==
=== Chest loot ===
{{LootChestItem|iron-ingot}}

=== Crafting ===

{{Crafting
|head=1
|showname=0
|Block of Iron
|Output=Iron Ingot,9
|type=Material
}}

{{Crafting
|A1= Iron Nugget
|B1= Iron Nugget
|C1= Iron Nugget
|A2= Iron Nugget
|B2= Iron Nugget
|C2= Iron Nugget
|A3= Iron Nugget
|B3= Iron Nugget
|C3= Iron Nugget
|Output=Iron Ingot
|type= Material
|foot=1
}}

=== Smelting ===
{{see also|Iron Ore#Natural generation}}[[Smelting]] raw iron in a [[furnace]] or [[blast furnace]] is the most common way to obtain iron ingots.

{{Smelting
|head=1
|Iron Ore;Deepslate Iron Ore
|Iron Ingot
|0,7
}}
{{Smelting
|foot=1
|Raw Iron
|Iron Ingot
|0,7
}}

=== Compound creation ===

Iron Ingot can be created from its base [[element]]s, using the [[compound creator]].{{only|bedrock|education}}

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

=== Mob loot ===
{{see also|Tutorials/Iron golem farming}}
[[Iron golem]]s drop 3-5 iron ingots upon death, regardless of the way they die. The looting enchantment does not increase the amount of iron ingots dropped.

[[Zombie]]s, [[husk]]s, and [[zombie villager]]s have a 2.5% ({{frac|1|40}}) chance of dropping either an iron ingot, [[carrot]], or [[potato]] when killed by a player or tamed wolf. This is increased by 1% ({{frac|1|100}}) per level of looting. This gives iron ingots the following chances of dropping:
* {{frac|1|120}} (about 0.83%)
* {{frac|7|600}} (about 1.17%) with Looting I
* {{frac|9|600}} (1.50%) with Looting II
* {{frac|11|600}} (about 1.83%) with Looting III

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===
Apprentice-level Armorer, Toolsmith, and Weaponsmith [[Villager|villagers]] buy 4 iron ingots for an [[emerald]] as their third trade.{{only|bedrock}}

Apprentice-level Armorer villagers have a 50% chance to buy 4 iron ingots for one emerald, and apprentice-level Toolsmith and Weaponsmith villagers always offer to buy 4 iron ingots for one emerald.{{only|java}}

=== Repairing ===

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

=== Healing iron golems ===

{{control|Using}} an iron ingot on an [[iron golem]] restores its health by {{hp|25}}. 

=== Beacons ===

Iron ingots can be used to select powers from a [[beacon]]. The player must select one of the available powers, and then insert an iron ingot in the item slot. 

An iron ingot can be substituted for an [[emerald]], a [[gold ingot]], a [[diamond]], or a [[netherite ingot]].

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Iron Ingot
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Iron Ingot
|Iron Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.<br/>
|tail=1
}}

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

== Achievements ==
{{load achievements|Acquire Hardware}}

== Advancements ==
{{load advancements|Acquire Hardware}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Iron Ingot
|spritetype=item
|nameid=iron_ingot
|id=305
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100128|[[File:Iron Ingot JE1.png|32px]] Added iron ingots.}}
{{History|||snap=20100129|[[File:Iron Ingot JE2 BE1.png|32px]] The texture of iron ingots has been changed.
|Iron ingots can be [[smelting|smelted]] from [[iron ore]] and [[drops|drop]] 3–5 iron ingots. 
|Iron ingots can be used to craft [[iron block]]s, [[flint and steel]] and iron [[sword]]s, [[shovel]]s, [[pickaxe]]s and [[axe]]s.}}
{{History|||snap=20100130|Iron ingots are now used to craft [[arrow]]s.|[[Iron block]]s now require 9 iron ingots (3×3) instead 4 (2×2) to be [[crafting|crafted]], making them much more expensive.}}
{{History||20100206|Iron ingots can now be used to [[crafting|craft]] iron [[hoe]]s.}}
{{History||?|[[Smelting]] now [[drops]] only 1 iron ingot (down from 3–5).}}
{{History||20100218|Iron ingots are now used to craft iron [[helmet]]s, [[chestplate]]s, [[leggings]] and [[boots]].}}
{{History|java infdev}}
{{History||20100615|Iron ingots are now used to craft [[bucket]]s.}}
{{History||20100618|Iron ingots are now used to craft [[rail]]s and [[minecart]]s.}}
{{History||20100625-2|Iron ingots can be found in [[dungeon]] [[chest]]s.}}
{{History|java alpha}}
{{History||v1.0.1|Iron ingots are now used to [[crafting|craft]] iron [[door]]s.}}
{{History||v1.0.14|Iron ingots are no longer used to craft [[arrow]]s.}}
{{History||v1.1.0|Iron ingots are now used to craft [[compass]]es.}}
{{History|java beta}}
{{History||1.5|Iron ingots are now used to craft [[detector rail]]s.}}
{{History||1.7|Iron ingots are now used to craft [[piston]]s and [[shears]].}}
{{History||1.8|snap=Pre-release|Iron ingots are found in the new [[stronghold]] storeroom and [[mineshaft]] [[chest]]s.
|Iron ingots are now used to craft [[iron bars]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Iron ingots are now used to craft [[cauldron]]s.}}
{{History|||snap=Beta 1.9 Prerelease 3|Iron ingots are now found in the new stronghold altar [[chest]]s.}}
{{History||1.1|snap=12w01a|Iron ingots are now found in [[village]] blacksmith chests.}}
{{History||1.2.1|snap=12w06a|[[Zombie]]s now rarely [[drops|drop]] iron ingots, making it a [[renewable resource]].}}
{{History|||snap=12w08a|[[Iron golem]]s now drop 3–5 iron ingots.}}
{{History||1.3.1|snap=12w21a|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing iron ingots.
|Blacksmith [[villager]]s now [[trading|buy]] 8–9 iron ingots for 1 [[emerald]].}}
{{History|||snap=12w22a|Added [[jungle temple]]s, which contain loot [[chest]]s with iron ingots.
|Iron ingots are now used to craft [[tripwire hook]]s.}}
{{History||1.4.2|snap=12w32a|Iron ingots can be used to activate [[beacon]]s.}}
{{History|||snap=12w41a|Iron ingots are now used to craft [[anvil]]s.}}
{{History|||snap=12w42a|Anvils now need 4 iron ingots to [[craft]] instead of 1.}}
{{History||1.5|snap=13w01a|Iron ingots are now used to [[crafting|craft]] heavy [[weighted pressure plate]]s.}}
{{History|||snap=13w02a|Iron ingots are now used to craft [[hopper]]s and [[activator rail]]s.}}
{{History||1.6.1|snap=13w16a|Iron ingot is now used to craft iron [[horse armor]] and [[horse saddle]].}}
{{History|||snap=13w18a|Iron ingot is no longer used to craft iron [[horse armor]] and [[horse saddle]].|Iron ingots are now found in [[nether fortress]] [[chest]]s.}}
{{History||1.8|snap=14w02a|[[Trading]] for iron ingots has been changed: armorer, weapon smith and tool smith [[villager]]s now [[trading|buy]] 7–9 iron ingots for 1 [[emerald]].}}
{{History|||snap=14w07a|Iron ingots are now used to craft [[iron trapdoor]]s.}}
{{History||1.9|snap=15w31a|Iron ingots are now found in [[end city]] ship [[chest]]s.}}
{{History|||snap=15w33c|Iron ingots are now used to craft [[shield]]s.}}
{{History|||snap=15w44a|The average yield from [[dungeon]] and [[desert temple]] chests has been substantially decreased. 
|The average yield from [[mineshaft]] and [[nether fortress]] chests has been slightly decreased.}}
{{History||1.11|snap=16w39a|Iron ingots are now found in the new [[woodland mansion]] chests.}}
{{History||1.11.1|snap=16w50a|Iron ingots are now used to craft [[iron nugget]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 265.}}
{{History|||snap=18w10a|Iron ingots now generate in [[buried treasure]] [[chest]]s.}}
{{History|||snap=18w11a|Iron ingots can now be found in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|Iron ingots can now be used to craft [[crossbow]]s.
|[[File:Iron Ingot JE3 BE2.png|32px]] The texture of iron ingots has been changed.}}
{{History|||snap=18w47a|Iron ingots can now be found inside of loot [[chest]]s on top of [[pillager outpost]]s.}}
{{History|||snap=18w50a|Iron ingots can now be found in chests in [[village]] toolsmith houses.
|Iron ingots can now be used to craft a [[blast furnace]].}}
{{History|||snap=19w04a|Iron ingots can now be used to craft [[stonecutter]]s.}}
{{History||1.15|snap=19w41a|Iron ingots can now be used to heal [[iron golem]]s.}}
{{History||1.16|snap=20w16a|Iron ingots now generate in [[bastion remnants]] chests.
|Iron ingots are now used to craft [[chain]]s.}}
{{History||1.16.2|snap=20w30a|The average yield of iron ingots from bastion remnant chests has been slightly increased.}}
{{History||1.17|snap=21w08a|Iron ingots can now be smelted from [[deepslate iron ore]].}}
{{History|||snap=21w14a|Iron ingots can now be smelted from [[raw iron]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Iron ingots can now be used as an armor trim material.}}
{{History|||snap=23w05a|Iron ingots can now be trimmed with iron [[armor]].}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Iron Ingot JE2 BE1.png|32px]] Added iron ingots. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.2|Iron ingots are now obtainable by [[smelting]] iron ore in a [[furnace]].
|Iron ingots can be used to craft [[shears]], [[blocks of iron]] and iron [[pickaxe]]s, [[axe]]s, [[sword]]s and [[shovel]]s.}}
{{History||v0.4.0|Iron ingots are now used to craft [[flint and steel]] and iron [[hoe]]s.}}
{{History||v0.5.0|Iron ingots are now used to craft [[nether reactor core]]s.}}
{{History||v0.6.0|Iron ingots are now used to craft iron [[armor]].}}
{{History||v0.7.0|Iron ingots are now used to craft [[bucket]]s.}}
{{History||v0.8.0|snap=build 1|Iron ingots are now used to craft [[compass]]es and [[iron bars]].}}
{{History|||snap=build 2|Iron ingots are now used to craft [[minecart]]s and [[rail]]s.}}
{{History||v0.9.0|snap=build 1|Iron ingots can now be found in [[village]] blacksmith [[chest]]s, [[stronghold]] altar chests and [[dungeon]] chests.
|[[Zombie]]s now rarely drop iron ingots.}}
{{History||v0.12.1|snap=build 1|Iron ingots are no longer used to craft [[nether reactor core]]s and are instead dropped by it.
|Iron ingots are now used to craft [[anvil]]s.
|Iron ingots are now found in [[nether fortress]] chests.
|Added [[iron golem]]s, which [[drops|drop]] iron ingots.
|Iron ingots can now be used to repair iron [[tool]]s, [[armor]] and [[weapon]]s in [[anvil]]s.
|Added [[zombie villager]]s, which rarely drop iron ingots.}}
{{History||v0.13.0|snap=build 1|Iron ingots are now used to craft [[tripwire hook]]s, [[detector rail]]s, [[iron trapdoor]]s and heavy [[weighted pressure plate]]s.
|Added [[desert temple]]s, which have hidden [[chest]] rooms and loot containing iron ingots.}}
{{History||v0.14.0|snap=build 1|Iron ingots are now used to craft [[hoppers]] and [[cauldron]]s.
|Iron ingots can now be found in [[minecart with chest|minecart chests]] generated in [[mineshaft]]s.}}
{{History||v0.15.0|snap=build 1|Iron ingots are now used to craft [[piston]]s.
|Added [[jungle temple]]s, which have hidden [[chest]] rooms and main treasure rooms that have loot containing iron ingots.
|Added [[husk]]s, which rarely [[drops|drop]] iron ingots.}}
{{History||v0.16.0|snap=build 4|Iron ingots can now be used to activate [[beacon]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Iron ingots can now be found in [[end city]] ship [[chest]]s.
|Iron ingots can now be found in [[stronghold]] storeroom chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Added [[trading]]—armorer, weaponsmith and toolsmith [[villager]]s now [[trading|buy]] 7–9 iron ingots for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron ingots can now be [[crafting|crafted]] using [[iron nugget]]s.
|Iron ingots can now be used to [[crafting|craft]] iron nuggets.
|Iron ingots can now be found in [[woodland mansion]] [[chest]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Iron ingots now generate in [[buried treasure]] [[chest]]s.
|Iron ingots can now be found in [[shipwreck]] treasure chests.}}
{{History||1.8.0|snap=beta 1.8.0.10|Iron ingots can now be used to craft [[crossbow]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Iron ingots can now be found inside [[pillager outpost]]s and plains [[village]]s' weaponsmith chests.
|Iron ingots can now be used to craft [[blast furnace]]s, [[stonecutter]]s and [[shield]]s.
|[[File:Iron Ingot JE3 BE2.png|32px]] The texture of iron ingots has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron ingots can now be found in [[village]] armorer and toolsmith [[chest]]s.
|Iron ingots can now be found in [[savanna]], [[taiga]], [[desert]] and [[snowy taiga]] village weaponsmiths.}}
{{History|||snap=beta 1.11.0.4|Armorer, toolsmith, and weaponsmith [[villager]]s now [[trading|buy]] 4 iron ingots for an [[emerald]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Iron ingots now generate in bastion remnants chests.}}
{{History||1.17.0|snap=beta 1.16.230.52|Iron ingots can now be smelted from [[deepslate iron ore]].}}
{{History|||snap=beta 1.17.0.50|Iron ingots can now be smelted from [[raw iron]].}}
{{History||1.18.10|snap=beta 1.18.10.26|Iron ingots can now be used to heal iron golems.}}
{{History||1.19.80|snap=beta 1.19.80.21|Iron ingots can now be used as an armor trim material.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Iron Ingot JE2 BE1.png|32px]] Added iron ingots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Iron Ingot JE3 BE2.png|32px]] The texture of iron ingots has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Iron Ingot JE2 BE1.png|32px]] Added iron ingots.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==

* To craft each recipe once, a player would need 152 iron ingots, including 27 for the iron blocks in an [[anvil]], while using the extra tripwire hook for the [[crossbow]] and the [[iron nuggets]] for the [[chain]].

== See also ==

* {{BlockLink|Block of Iron}}
* {{ItemSprite|Iron Chestplate}} [[Iron armor]]
* {{ItemLink|Iron Nugget}}
* {{BlockLink|Iron Ore}}
* [[Ores]]

== External links ==
* {{Mcnet|taking-inventory--iron-ignot|Taking Inventory: Iron Ingot}}

{{Items}}

[[cs:Železný ingot]]
[[de:Eisenbarren]]
[[es:Lingote de hierro]]
[[fr:Lingot de fer]]
[[hu:Vasrúd]]
[[it:Lingotto di ferro]]
[[ja:鉄インゴット]]
[[ko:철괴]]
[[nl:IJzerstaaf]]
[[pl:Sztabka żelaza]]
[[pt:Barra de ferro]]
[[ru:Железный слиток]]
[[uk:Залізний зливок]]
[[zh:铁锭]]
[[Category:Renewable resources]]</li></ul></nowiki>
16w32aThe entity ID has been changed from Bat to minecraft:bat.
1.14
{{Extension DPL}}<ul><li>[[Carrot on a Stick|Carrot on a Stick]]<br/>{{Item
| image = Carrot on a Stick.png
| rarity = Common
| renewable = Yes
| durability = 25
| stackable = No
}}
A '''carrot on a stick''' is an item that can be used to control saddled [[pig]]s.

== Obtaining ==

=== Crafting ===

It is possible to craft a carrot on a stick without a [[crafting table]].
{{Crafting
|head=1
|showname=0
|showdescription=1
|B2=Fishing Rod; Damaged Fishing Rod
|C3=Carrot
|Output= Carrot on a Stick
|type= Transportation
|description= The fishing rod must be diagonally above the carrot to craft the carrot on a stick.
}}
{{crafting
|foot=1
|ignoreusage=1
|Damaged Carrot on a Stick
|Damaged Carrot on a Stick
|Output= Carrot on a Stick
|description= The durability of the two carrots on sticks is added together, plus an extra 5% durability.
|type= Transportation
}}

== Usage ==

=== Riding a pig ===

To use a carrot on a stick, the player must first [[saddle]] a [[pig]], and ride it while holding the carrot on a stick. The pig then moves in the direction of the carrot. Also, if the player holds a carrot on a stick, all nearby pigs (but not [[rabbit]]s<ref>{{bug|MC-207993}}</ref>) follow the player, but they can't breed using carrot on a stick.

To make the pig run faster, the player can press {{control|use}} while holding the carrot on a stick. This is called "boosting". Each boost costs 7 durability. If the carrot on a stick's durability is depleted, it turns back into a fishing rod. 

The speed of a mounted pig is 2.42 m/s. Boosting a pig causes its speed to slowly ramp up until it reaches 2.15 times its normal speed, 5.20 m/s. Then speed slowly declines until the pig reaches normal speed again. The boost lasts between 140 and 980 game [[tick]]s (7 seconds and 49 seconds respectively), chosen randomly. No matter how many ticks the boost lasts, the average speed of pig during a full boost cycle is roughly 4.19 m/s. These boosted speeds are applied only while holding the carrot on a stick. These speeds are affected by the [[speed]] effect.

=== Enchantments ===

A carrot on a stick can receive the following enchantments, but only through an [[anvil]]:

{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|}

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

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Random break.ogg
|source=player
|description=When a carrot on a stick'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=Carrot on a Stick
|spritetype=item
|nameid=carrot_on_a_stick
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Carrot on a Stick
|spritetype=item
|nameid=carrot_on_a_stick
|aliasid=carrotonastick
|id=517
|form=item
|translationkey=item.carrotOnAStick.name
|foot=1}}

== Video ==

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

== History ==

{{History|java}}
{{History||August 28, 2012|link={{tweet|Dinner|240428477856231424}}|Dinnerbone released images of saddled pigs being controlled with carrots.<ref>{{tweet|dinner|240428477856231424}}</ref> They start slow but end up traveling up to 5 blocks per second.<ref>{{tweet|dinner|240429280469856256}}</ref> [[Wheat]] was considered as a "fuel" along with carrots,<ref>{{tweet|dinner|240188453789257728}}</ref> and Dinnerbone eventually decided upon [[carrot]]s.<ref>{{tweet|dinner|240355810650247168}}</ref>}}
{{History||1.4.2|snap=12w36a|[[File:Carrot on a Stick JE1 BE1.png|32px]] Added carrot on a stick. 
|The [[player]] does not get back a [[fishing rod]] once the carrot on a stick is used up.}}
{{History|||snap=12w37a|Carrots on sticks now have a [[item durability|durability meter]], and can be used to give [[saddle]]d [[pig]]s a burst of speed when right-clicked. The carrot on a stick no longer needs to be held when pigs have the burst of speed.}}
{{History|||snap=12w38a|Using up a carrot on a stick now returns a [[fishing rod]].}}
{{History||1.4.6|snap=12w50a|A carrot on a stick can now be [[enchanting|enchanted]] with [[Unbreaking]] via an [[enchanted book]] and an [[anvil]].}}
{{History||1.8.2|snap=pre7|Crafting a carrot on a stick now removes all enchantments on the original fishing rod.}}
{{History||1.9|snap=16w05b|[[Item durability|Durability]] is no longer reduced merely by riding a [[pig]], but only by using the speed boost.{{testingame}}}}
{{History||1.13|snap=17w47a|[[Crafting]] a carrot on a stick no longer requires the [[fishing rod]] to be at full durability.<ref>[https://bugs.mojang.com/browse/MC-123196 MC-123196 resolved as "Works as Intended"]</ref>
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 398.}}
{{History||1.14|snap=18w43a|[[File:Carrot on a Stick.png|32px]] The texture of carrot on a stick has been changed.}}
{{History||1.16|snap=20w06a|Carrot on a stick can now be used up.<ref>[https://bugs.mojang.com/browse/MC-112630 MC-112630]</ref>}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Carrot on a Stick JE1 BE1.png|32px]] Added carrot on a stick.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Carrot on a Stick.png|32px]] The texture of carrot on a stick has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of carrot on a stick has been changed from <code>carrotonastick</code> to <code>carrot_on_a_stick</code>.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Carrot on a Stick JE1 BE1.png|32px]] Added carrot on a stick.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Carrot on a Stick.png|32px]] The texture of carrot on a stick has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Carrot on a Stick JE1 BE1.png|32px]] Added carrot on a stick.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
PigControl.png|First image of carrot on a stick released by Dinnerbone.
pigstairs.png|Pigs can climb [[stairs]] and [[slabs]].
Jebpig.png|[[Jeb]] riding a pig.<ref>http://www.mojang.com/2012/09/minecraft-snapshot-12w37a/</ref>
Enchanted Carrot on a Stick.gif|An enchanted carrot on a stick.
Grum Carrot on a Stick 1.png|Image from [[Grum]] of a carrot on a stick's texture changing with its durability.
Grum Carrot on a Stick 2.png|Another image showing the same.
Grum Carrot on a Stick 3.png|Another image.
</gallery>

== See also ==
* [[Warped Fungus on a Stick]]

== References ==
{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Mrkev na prutu]]
[[de:Karottenrute]]
[[es:Caña con zanahoria]]
[[fr:Carotte sur un bâton]]
[[hu:Répa horgászboton]]
[[it:Bastone e carota]]
[[ja:ニンジン付きの棒]]
[[ko:당근 낚싯대]]
[[nl:Wortel aan een stok]]
[[pl:Marchewka na patyku]]
[[pt:Vara com cenoura]]
[[ru:Удочка с морковью]]
[[th:แคร์รอตติดเบ็ด]]
[[uk:Морква на паличці]]
[[zh:胡萝卜钓竿]]</li><li>[[Beetroot|Beetroot]]<br/>{{about|the basic food item|the seeds|Beetroot Seeds|the soup|Beetroot Soup}}
{{Item
| title = Beetroot
| image = Beetroot.png
| heals = {{hunger|1}}
| renewable = Yes
| stackable = Yes (64)
}}

A '''beetroot''' is a food and [[dye]] ingredient.

== Obtaining ==

=== Farming ===
Beetroots are obtained from harvesting a fully grown [[beetroots|crop block]], which drops 1 beetroot and 1-4 seeds ({{frac|2|5|7}} seeds per plant harvested on average). Seed yield can be increased using a tool enchanted with [[Fortune]], with Fortune III harvesting an average of {{frac|5|3|7}} seeds per plant.

These crops can be found growing in [[village]]s or can be grown from planted [[beetroot seeds]].<!-- Do not add locations for finding seeds. Where to find seeds is described in the article about the seeds. -->

== Usage ==

=== Food ===
A beetroot can be eaten to restore {{hunger|1}} [[hunger]] and 1.2 hunger [[Hunger#Mechanics|saturation]]. Six beetroots can be crafted into [[beetroot soup]], which restores six times the hunger and saturation of a single beetroot.

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

=== Breeding ===
Beetroots can be used to [[breeding|breed]] [[pig]]s. Pigs also follow a player who is holding beetroot.

[[Villager]]s can pick up beetroot items to become willing, allowing them to breed. Villagers need 12 beetroots before they can breed.

=== Composting ===
Placing beetroot into a [[composter]] has a 65% chance of raising the compost level by 1.

=== Trading ===

Novice-level Farmer villagers have a 25%{{only|bedrock}} or 40%{{only|java}} chance to buy 15 beetroots for an emerald.

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

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

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

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

== History ==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Beetroot JE1 BE1.png|32px]] Beetroots have been added, along with its [[beetroot seeds|seeds]] and [[beetroot soup]]. Beetroot can also be used to craft [[rose red]] dye.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 434.}}
{{History||1.14|snap=18w43a|[[File:Beetroot JE2 BE2.png|32px]] The texture of beetroot has been changed.}}
{{History|||snap=19w03a|Placing beetroot into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Beetroot now has a 65% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w11a|Farmer [[villager]]s now [[trading|buy]] beetroots.}}
{{History||1.17|snap=21w13a|The model of the [[crop]] for the beetroot crops has been tweaked that the backside textures are mirrored.}}

{{History|pocket alpha}}
{{History||November 13, 2013|link=http://instagram.com/p/gnkWOlJMB3/|[[Jeb]] announces on [[wikipedia:Instagram|Instagram]] that [[Johan Bernhardsson]] is working on a surprise feature for 0.8.0 alongside a picture of the [[player]] holding beetroot.}}
{{History||November 14, 2013|link={{tweet|jbernhardsson|400902957782147072}}|Johan posts another image of beetroot, confirming that the image previously posted by Jeb was indeed beetroot.}}
{{History||v0.8.0|snap=build 2|[[File:Beetroot JE1 BE1.png|32px]] Added beetroots. They are not obtainable in the Creative inventory.}}
{{History||v0.9.0|snap=build 1|Beetroot can now be used to lead and [[breeding|breed]] [[pig]]s.}}
{{History||v0.12.1|snap=build 1|Beetroot now restore [[hunger]], rather than [[health]].
|Beetroot can now generate in [[village]]s as [[crop]]s.}}
{{History||v0.13.1|Added beetroot to the Creative inventory.<ref name="missing beetroot item">https://bugs.mojang.com/browse/MCPE-10497</ref><!---{{info needed}}, the bug tracker has very little information. It's not in the Creative inventory in v0.12.1 or v0.13.0 initial release, but is in v0.14.0--->}}
{{History||v0.16.0|snap=build 1|Beetroot can now be used to craft [[rose red]] dye.}}
{{History||v0.16.2|Beetroot can now be found in [[chest]]s inside large houses in [[snowy taiga]] and [[snowy tundra]] [[village]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|[[Villager]]s can now can pick up beetroot to become willing.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Beetroot JE2 BE2.png|32px]] The texture of beetroot has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Beetroot can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Beetroot can now be sold to farmer villagers.}}

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

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

== Issues ==

{{Issue list}}

== Gallery ==

<gallery>
File:Beetrootstwitpic.png|The image released by [[Johan Bernhardsson]] on [[Wikipedia:Twitter|Twitter]].
File:Pigs following beetroot holder.png|Pigs following the [[player]].
File:Village Wheat Beetroot Farm.png|Beetroots generated in a [[village]].
File:Beetroot farm.png|A beetroot garden.
</gallery>

== References ==
{{Reflist}}

{{Items}}

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

[[cs:Červená řepa]]
[[de:Rote Bete]]
[[es:Remolacha]]
[[fr:Betterave]]
[[hu:Cékla]]
[[it:Barbabietola]]
[[ja:ビートルート]]
[[ko:비트]]
[[nl:Biet]]
[[pl:Burak]]
[[pt:Beterraba]]
[[ru:Свёкла]]
[[th:บีทรูท]]
[[uk:Буряк]]
[[zh:甜菜根]]</li></ul>
18w43aBat The texture of bats has been changed.
Pocket Edition Alpha
0.11.0
{{Extension DPL}}<ul><li>[[Magenta Dye|Magenta Dye]]<br/>{{Item
| image = Magenta Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Magenta dye''' is a [[Dye#Quasi-Primary|quasi-primary color dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showdescription=1
  |showname=0
  |Allium
  |Output=Magenta Dye
  |type=Material
}}
{{Crafting
  |Lilac
  |Output=Magenta Dye,2
  |type=Material
}}
{{Crafting
  |Purple Dye
  |Pink Dye
  |Output=Magenta Dye,2
  |type=Material
}}
{{Crafting
  |Blue Dye
  |Red Dye
  |Pink Dye
  |Output=Magenta Dye,3
  |type=Material
}}
{{Crafting
  |Lapis Lazuli
  |Red Dye
  |Pink Dye
  |Output=Magenta Dye,3
  |type=Material
  |description={{only|bedrock|education}}
}}
{{Crafting
  |Blue Dye
  |Red Dye
  |Red Dye
  |White Dye
  |Output=Magenta Dye,4
  |type=Material
}}
{{Crafting
  |Lapis Lazuli;Lapis Lazuli;Blue Dye
  |Red Dye;Red Dye;Red Dye
  |Red Dye;Red Dye;Red Dye
  |Bone Meal;White Dye;Bone Meal
  |Output=Magenta Dye,4
  |type=Material
  |description={{only|bedrock|education}}
  |foot=1
}}

=== Trading ===

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Magenta Dye
|spritetype=item
|nameid=magenta_dye
|aliasid=dye / 13
|id=408
|form=item
|translationkey=item.dye.magenta.name
|foot=1}}

== Video ==
{{yt|IkaIFDQJNUU}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta 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|Magenta 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=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{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 [[shulker box]]es, which can be dyed.}}
{{History||1.12|snap=17w15a|Added 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|Magenta dye is now crafted using [[blue dye]] and [[white dye]], instead of [[lapis lazuli]] and [[bone meal]].
|[[File:Magenta Dye JE2 BE2.png|32px]] The texture of magenta dye has now been changed.}}
{{History|||snap=18w44a|Magenta dye can now change the text color on [[sign]]s to magenta.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells magenta dye.}}
{{History|||snap=19w11a|Magenta dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Magenta dye can now be used to craft [[magenta candle]]s.}}
{{History|||snap=21w19a|Magenta dye can no longer be used to craft magenta candles.}}
{{History|||snap=Pre-release 1|Magenta dye can now once again be used to craft magenta candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Magenta dye can now change the text color on [[hanging sign]]s to magenta.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Magenta dye is now craftable with one [[lapis lazuli]], two [[rose red]]s, and one [[bone meal]].
|Magenta dye can now be used to craft magenta wool.}}
{{History||v0.6.0|Magenta dye can now be used to dye [[sheep]].}}
{{History||v0.8.0|snap=build 1|Magenta dye can now additionally be crafted with one [[purple dye]] and one [[pink dye]], or with one [[lapis lazuli]], one [[rose red]], and one pink dye.}}
{{History||v0.9.0|snap=build 11|Magenta dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Magenta dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Magenta dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Magenta dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Magenta 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|Magenta 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|Magenta dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Magenta dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Magenta dye is now [[trading|sold]] by [[wandering trader]]s.
|Magenta dye can now be used to dye white [[carpet]]s and regular [[glass pane]]s.
|[[File:Magenta Dye JE2 BE2.png|32px]] The texture of magenta dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Magenta dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of magenta dye has been changed from <code>dye/13</code> to <code>magenta_dye</code>.}}

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

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

== Issues ==
{{issue list}}

== References ==
{{reflist}}

{{Items}}

[[Category:Dyes]]

[[cs:Purpurové barvivo]]
[[de:Magenta Farbstoff]]
[[es:Tinte magenta]]
[[fr:Teinture magenta]]
[[hu:Bíborvörös festék]]
[[ja:赤紫色の染料]]
[[ko:자홍색 염료]]
[[nl:Magenta kleurstof]]
[[pl:Karmazynowy barwnik]]
[[pt:Corante magenta]]
[[ru:Сиреневый краситель]]
[[zh:品红色染料]]
[[Category:Renewable resources]]</li><li>[[Tag (item)|Tag (item)]]<br/>{{About|the April Fools item|the standard item used to rename mobs|Name Tag}}
{{wip}}
{{joke feature}}
{{exclusive|java}}
{{Item
| title = Tag
| image = Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
Tags and Bits are items exclusive to the [[Java Edition 23w13a or b|23w13a_or_b]] [[Easter eggs#April Fools|April Fools' joke]] snapshot from 2023. They are used to craft in-game representations of [[NBT format|NBT tags]].

==Obtaining==
A [[stonecutter]] can be used to cut a [[Name Tag|name tag]] into either 16 "Name" or 16 "Tag" items. These can be cut into 16 Bit items each.

{{Stonecutting
|head=1
|showdescription=1
|Name Tag
|Name, 16; Tag, 16
|description=The resulting "Name" items must be named in an [[anvil]].
}}
{{Stonecutting
|showdescription=
|Name; Tag
|Bit, 16
|foot=1
}}

To be able to proceed from here the <code>nbt_crafting</code> vote must be approved. Bits can be used in a crafting table to craft Left Curly, Right Curly, Left Square, and Right Square. In appears like these are the only tag items that can be crafted from Bits.

A [[Crafting Table|crafting table]] can be used to convert a "Tag" item into a "Byte Tag." The amount of [[stick]]s added to the crafting recipe specifies the value of the Byte, as a [[wikipedia:Signed number representations#Two's complement|signed 8-bit value]]. For example, a "Tag" and a full stack of sticks make a Byte with the value <code>64b</code>, while 255 sticks result in <code>-1b</code>. Only one of the sticks is consumed. Two Bytes can be crafted into a "Short Tag" (equivalent to 16 bit), two Shorts into an "Int Tag" (equivalent to 32 bit), and two Ints into a "Long Tag" (equivalent to 64 bit). Many other combinations that form either 16, 32, or 64 bit are possible. For example, two Shorts and an Int make a Long. When combining values, their digits are stuck together in the given order, e.g. <code>1b</code> and <code>0b</code> make <code>256s</code> (equivalent to 0100<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]). Undoing any of these crafting actions in e.g. a stonecutter is not possible.

"Float" and "Double Tags" can be crafted by adding one or two [[boat]]s to any numeric tag. A "String Tag" is crafted with a "Tag" and a piece of [[string]].

{{Crafting
|head=1
|showdescription=1
|A1= Bit;    ; Bit; Bit |B1=    ; Bit; Bit; Bit
|A2=    ; Bit; Bit;     |B2= Bit;    ;    ; Bit
|A3= Bit;    ; Bit; Bit |B3=    ; Bit; Bit; Bit
|Output= Right Curly; Left Curly; Left Square; Right Square
|ignoreusage=1
}}
{{Crafting
|Tag
|String
|Output= String Tag
|description=String tags must be named in an [[anvil]] to set their value.
|ignoreusage=1
}}
{{Crafting
|Tag; Tag;   Tag
|;    Stick; Stick, 64
|;    ;      Stick, 63
|Output= Byte Tag; Byte Tag; Byte Tag
|description=Only 1 stick is consumed. 128 and more sticks make [[wikipedia:Signed number representations#Two's complement|two's complements]]:
128 sticks = <code>-128b</code><br>
129 sticks = <code>-127b</code><br>
⋮<br>
254 sticks = <code>-2b</code><br>
255 sticks = <code>-1b</code>
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Byte Tag; Byte Tag
|Byte Tag; Byte Tag; Byte Tag
|        ; Byte Tag; Byte Tag
|        ; Byte Tag; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|Output= Short Tag; Int Tag; Long Tag
|description=Shorts and Ints can be combined the same way, even mixed.

Digits are appended, e.g. two <code>1b</code> tags make <code>257b</code> (0101<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]).
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Float Tag; Float Tag; Float Tag; Float Tag
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Double Tag; Double Tag; Double Tag; Double Tag
|ignoreusage=1
}}
{{Crafting
|Left Curly;  Left Curly
|Name;        Name
|Byte Tag;    Byte Tag
|Right Curly; Name |; Byte Tag | |; Name |; Byte Tag |; Right Curly
|Output= Compound Tag; Compound Tag
|description=Instead of Bytes any other tag can be used, including other compound tags.
|ignoreusage=1
}}
{{Crafting
|Left Square;  Left Square
|Byte Tag;     Byte Tag
|Right Square; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Right Square
|Output= List Tag; List Tag
|description=Instead of Bytes any other tag can be used, including other list tags.
|ignoreusage=1
}}
{{Crafting
|Compound Tag; List Tag
|Compound Tag; List Tag
|Output= Compound Tag; List Tag
|description=Up to 9 can be combined.

When compound tags contain identical names, only the latest of the corresponding values is used.
|ignoreusage=1
|foot=1
}}

"Name" and "String Tags" must be named in an [[anvil]] before they can be used. Unnamed Names and Strings always produce a "Sssyntax Error". None of the other tag items can be named.

All these items can be combined in a crafting table to form a short sequence of JSON code, as long as the resulting syntax is valid. For example: 
*A pair of Curlies that enclose a named "Name" item and some value, e.g. a Byte, create a "Compound Tag" with the content <code>{Example:0b}</code>.
**Because of the limited size of the crafting table only 3 name-value pairs can be put between Curlies at a time. Compound Tags of any length can be created by concatenating two or more Compound Tags.
**An empty pair of Curlies produces an empty Compound Tag with the content <code>{}</code>.
*A pair of Square brackets that enclose any number of values, e.g. 7 Bytes, create a "List Tag" with the content <code>[0b,0b,0b,0b,0b,0b,0b]</code>.
**Because of the limited size of the crafting table only 7 values can be put between Square brackets at a time. List Tags of any length can be created by concatenating two or more List Tags.
**An empty pair of Square brackets produces an empty List with the content <code>[]</code>.
**"Name" items cannot be used in a List.

The resulting Compound and List Tags can be used as values in other Compound and List Tags, as deeply nested as you want.

==Usage==
Tags appear to have no further functionality. They cannot be eaten or placed in the world, except in an item frame, as each other item can. However, Compound Tags with values like <code>{Enchantments:[{id:"minecraft:sharpness",lvl:127b}]}</code> will show the [[Enchanting|enchantment]] glint and actually act accordingly when used.<ref>https://www.reddit.com/r/Minecraft/comments/129xdyl/i_figure_out_how_the_nbtcrafting_in_the_vote/</ref> This appears to work with many weapon and tool [[Enchanting#Summary of enchantments by item|enchantments]].

In theory, an extremely lucky <code>replace_recipe_output</code> vote can change the crafting recipe for compound tags to output something else. When cheats are enabled you can test this with a command like <code>/vote rule minecraft:replace_recipe_output approve {key:"minecraft:compound_tag",value:"minecraft:netherite_sword"}</code>. However, as long as this vote is approved no other compound tag can be crafted. Use <code>/vote rule minecraft:replace_recipe_output repeal *</code> to undo all recipe replacements.

In combination with the <code>midas_touch</code> vote tag items can be converted into [[Gold Ingot|gold ingots]]. These retain their NBT data. When the world is loaded in another version of the game tag items disappear, but gold ingots persist.

==Trivia==
*This implies that a [[Name Tag|name tag]] is 128 bit.
*Compound and list tags are special in so far that the value they show in their [[tooltip]] is not merely a property of the item, but their ''actual'' [[NBT format|NBT data]]. This is also the reason why naming them is disabled as that would mess up the NBT data.
*The snapshot also contains an [[History of textures/Unused textures|unused texture]] for an {{ItemLink|End Tag}}.

==History==
{{History|java}}
{{History||23w13a_or_b|[[File:Tag.png|32px]] Added tags.}}
{{History|foot}}

==Gallery==
<gallery>
Tag.png|Tag
Bit.png|Bit
Byte Tag.png|Byte Tag
Double Tag.png|Double Tag
End Tag.png|End Tag
Float Tag.png|Float Tag
Int Tag.png|Int Tag
Left Curly.png|Left Curly
Left Square.png|Left Sqaure
List Tag.png|List Tag
Long Tag.png|Long Tag
Name (23w13a or b).png|Name
Right Curly.png|Right Curly
Right Square.png|Right Square
Short Tag.png|Short Tag
Sssyntax Error.png|Sssyntax Error
String Tag.png|String Tag
</gallery>

== References ==
{{reflist}}

{{items}}
{{jokes}}

[[pt:Tag (item)]]
[[Category:Joke items]]</li></ul>
build 1Bat Revision 1 Added bats.
Bedrock Edition
1.10.0
{{Extension DPL}}<ul><li>[[Ice Bomb|Ice Bomb]]<br/>{{education feature}}
{{exclusive|bedrock|education}}
{{ItemEntity
|image=Ice Bomb.png
|renewable=No (unless [[Material Reducer]] is available)<!-- Well, CHO are everywhere in sugar and charcoal, and sodium is in cobblestone... -->
|stackable=Yes (16)
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
}}
The '''ice bomb''' is an [[item]] that is used to freeze [[water]] into [[ice]].

== Obtaining ==

=== Lab Table ===

{| class="wikitable"
! Result
! Materials Needed
|-
!rowspan=2|{{slot|Ice Bomb}}<br>[[Ice Bomb]]
|{{slot|Sodium Acetate|link=Compound#List_of_compounds}}{{slot|Sodium Acetate|link=Compound#List_of_compounds}}{{slot|Sodium Acetate|link=Compound#List_of_compounds}}{{slot|Sodium Acetate|link=Compound#List_of_compounds}}
|-
|<center>[[Compound#List_of_compounds|Sodium Acetate]] x4</center>
|}

== Usage ==

Ice bombs can be thrown by {{control|using}} them. They are affected by gravity.

Like with [[ender pearl]]s, there is a short cooldown before the player can throw another ice bomb. The cooldown is shown in the [[hotbar]] by a white overlay that shrinks before the player is able to use it again.

Ice bombs explode upon hitting most [[blocks]], including non-solid blocks, but not [[air]]. They also explode upon hitting other entities, but do not deal [[damage]], and unlike [[egg]]s and [[snowball]]s, their impact is not considered an attack and does no damage or knockback. When exploding, any [[water]] (including flowing water, but not [[waterlogged]] blocks) in a 3×3×3 cube around the ice bomb freezes into [[ice]]. Ice bombs can be used to contain and displace [[mobs]] in ice under water.

While [[endermen]] teleport away from arrows shot at them, they can be hit by ice bombs. 

Throwing an ice bomb while underwater encloses the player in ice.

{| class="wikitable"
|+Ice bomb arrangement table
!y\x
!-2
!-1
!0
!1
!2
|-
!64
|Air
|Air
|Air
|Air
|Air
|-
!63
|Air
|Air
|Ice bomb
|Air
|Air
|-
!62
!Water
!Ice
!Ice
!Ice
!Water
|-
!61
!Water
!Ice
!Ice
!Ice
!Water
|-
!60
!Water
!Water
!Water
!Water
!Water
|}

== Sounds ==
{{Sound table
|type=bedrock
|sound=Zombie breaks door.ogg
|source=hostile
|description=When an ice bomb is created by a [[lab table]]
|id=mob.wither.break_block
|volume=0.5
|pitch=1.1/1.3}}
{{Sound table
|sound=Glass dig1.ogg
|sound2=Glass dig2.ogg
|sound3=Glass dig3.ogg
|source=block
|description=When an ice bomb impacts something
|id=random.glass
|volume=1.0
|pitch=1.4/1.6
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|firstcolumnname=Ice Bomb
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Item
|spritename=ice-bomb
|spritetype=item
|nameid=ice_bomb
|id=595
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Ice Bomb
|shownumericids=y
|generatetranslationkeys=y
|displayname=Entity
|spritename=ice-bomb
|spritetype=entity
|nameid=ice_bomb
|id=106
|foot=1}}

== History ==

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Ice Bomb BE1.png|32px]] Added ice bombs.}}

{{History|education}}
{{History||1.0.27|[[File:Ice Bomb BE1.png|32px]] Added ice bombs.}}
{{History|foot}}

== Trivia ==

* In real life, mixing a sufficient amount of sodium acetate in water does solidify it, but creates [[wikipedia:Sodium acetate#Heating pad|hot ice]] (sodium acetate trihydrate) instead of normal ice.

{{items}}
{{entities}}
{{Education Edition}}

[[Category:Non-renewable resources]]
[[Category:Education Edition items]]
[[Category:Education Edition entities]]

[[pl:Lodowa bomba]]
[[de:Eisbombe]]
[[ja:氷の爆弾]]
[[ko:얼음 폭탄]]
[[lzh:冰丸]]
[[pt:Bomba de gelo]]
[[zh:冰弹]]</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 ===
If a {{EntityLink|Piglin}} see a golden sword, it will set off to reach it, then stare at it for 120 — 160 ticks, putting it in their inventory, and continue to perform the action it was taking before being attracted by the golden sword.

== 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>
beta 1.10.0.3Bat The texture of bats has been changed.
Legacy Console Edition
TU19CU7 1.12 Patch 11.0.1Bat Revision 1 Added bats.
PlayStation 4 Edition
1.90
{{Extension DPL}}<ul><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><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>
Bat The texture of bats has been changed.
New Nintendo 3DS Edition
0.1.0
{{Extension DPL}}<ul><li>[[:Category:Tools|Category:Tools]]<br/>[[Category:Items]]

[[fr:Catégorie:Outil]]
[[it:Categoria:Attrezzi]]</li><li>[[Golden Carrot|Golden Carrot]]<br/>{{Item
| title = Golden Carrot
| image = Golden Carrot.png
| heals = {{hunger|6}}
| renewable = Yes
| stackable = Yes (64)
}}

A '''golden carrot''' is a valuable [[food]] item and [[brewing]] ingredient. It provides the second most saturation in the game, behind [[suspicious stew]] crafted with either a [[Flower|dandelion]] or [[Flower|blue orchid]].

==Obtaining==
=== Chest loot ===
{{LootChestItem|golden-carrot}}

=== Crafting ===
{{Crafting
|A1= Gold Nugget
|B1= Gold Nugget
|C1= Gold Nugget
|A2= Gold Nugget
|B2= Carrot
|C2= Gold Nugget
|A3= Gold Nugget
|B3= Gold Nugget
|C3= Gold Nugget
|Output= Golden Carrot
|type= Foodstuff
}}

=== Trading ===
Master-level farmer [[villager]]s have a 50% chance to sell 3 golden carrots for 3 [[emerald]]s {{in|bedrock}}, and always offer the same trade {{in|java}}.

== Usage ==
=== Food ===
To eat a golden carrot, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} and 14.4 [[Hunger#Mechanics|saturation points]]. 

=== Animal food ===
Golden carrots are used to tame, [[breed]], lead, grow, and heal [[horse]]s, [[donkey]]s, and [[mule]]s, and to breed, lead, and grow [[rabbit]]s.

=== Brewing ingredient ===
{{Brewing
  |showname=1
  |Golden Carrot
  |Potion of Night Vision
}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Golden Carrot
|spritetype=item
|nameid=golden_carrot
|id=283
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Artificial Selection;Oooh, shiny!}}

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

== Video ==
{{Video note|this video is outdated; it does not mention that golden carrots can be used as animal food.}}

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

== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Golden Carrot JE1.png|32px]] Added golden carrots.
|The new [[Potion of Night Vision]] is brewed by adding a golden carrot to an [[Awkward Potion]].}}
{{History|||snap=12w36a|[[File:Golden Carrot JE2.png|32px]] The texture of golden carrots has been changed.}}
{{History|||snap=12w37a|[[File:Golden Carrot JE3 BE1.png|32px]] The texture of golden carrots has been changed in order to match the new [[carrot]] texture. The [[item]] sprite no longer has a dark outline.}}
{{History||1.6.1|snap=?|Golden carrots can now be used to tame, breed and heal horses and donkeys.}}
{{History||1.8|snap=?|Golden carrots can now be used to breed rabbits.}}
{{History|||snap=14w32a|Moved golden carrots from the Foodstuffs tab to the Brewing tab in the [[Creative inventory]].<ref name="gold carrot inventory">https://bugs.mojang.com/browse/MC-3664</ref>}}
{{History||1.8.1|snap=pre1|Rabbits now follow players holding golden carrots.<ref>{{bug|MC-70054|||Fixed}}</ref>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 396.}}
{{History||1.14|snap=18w43a|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}
{{History|||snap=19w11a|Farmer [[villager]]s now [[trading|sell]] golden carrots.}}
{{History||1.16|snap=20w16a|Golden carrots can now be found in [[ruined portal]] chests.}}
{{History||1.16.2|snap=20w30a|Golden carrots can now be found in [[bastion remnant]] chests.}}
{{History||1.18|snap=experimental snapshot 6|Horses, donkeys and mules now follow players holding golden carrots.}}
{{History||1.19|snap=22w13a|Golden carrots may now be found in [[ancient city]] ice box [[chest]]s.
|A single golden carrot now generates in the [[chest]] in <code>ancient_city/city_center/city_center_2</code>.}}
{{History|||snap=22w14a|The golden carrot in the chest in <code>ancient_city/city_center/city_center_2</code> has been replaced with a [[golden apple]].}}


{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History||v0.13.0|snap=build 1| Golden carrots can now be used to feed [[rabbit]]s.}}
{{History||v0.15.0|snap=build 1|Golden carrots can now be used to feed [[horse]]s and [[donkey]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Golden carrots can now be [[trading|bought]] from farmer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|Trading has been changed, master-level farmer now has {{frac|1|3}} chance to sell golden carrots.}}
{{History||1.16.0|snap=beta 1.16.0.57|Golden carrots now generate in [[ruined portal]] chests.
|Golden carrots trade offering chance changed to 50%.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* [[Carrot]]
* [[Golden Apple]]

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--golden-carrot Taking Inventory: Golden Carrot] – Minecraft.net on September 6, 2022

{{items}}

[[cs:Zlatá mrkev]]
[[de:Goldene Karotte]]
[[es:Zanahoria dorada]]
[[fr:Carotte dorée]]
[[hu:Aranyrépa]]
[[ja:金のニンジン]]
[[ko:황금 당근]]
[[nl:Gouden wortel]]
[[pl:Złota marchewka]]
[[pt:Cenoura dourada]]
[[ru:Золотая морковь]]
[[uk:Золота морква]]
[[zh:金胡萝卜]]
[[Category:Renewable resources]]
[[Category:Food]]
[[Category:Brewing recipe]]</li></ul>
Bat Revision 1 Added bats.

Issues

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

Trivia

  • According to Jeb, the bat is an example of an ambient mob – a mob that constantly spawns, similar to the squid, but also constantly despawns because when a player isn't around it doesn't serve any purpose.[1]
  • It is impossible to attach a lead to a bat.

Gallery

References

Advertisement