Minecraft Wiki
Advertisement

Buried treasure glass of water and a dog

Generation

Buried treasure structures generate in beach biomes, and can also generate underwater.

The treasure chest is almost always buried by some material. Most of the time the chest generates buried in a beach, so it has a sand or gravel block covering it. Sometimes, if generated on the side of an underwater hill, it spawns with stone blocks covering it. If it generates on the surface of the ocean floor, a gravel or sand block covers it. Nonetheless, terrain generation can cause the chest to be buried by any suitable terrain-generated blocks, such as coal ore and diorite.

Buried treasure always generates at chunk coordinate 9 on both the X and Z axes, and are always facing east.[verify]

Structure

Buried treasure structures contain a single chest full of various loot. If the chest is exposed to water, it generates waterlogged.

Loot

See also: Chest loot

A Heart of the Sea is always present in every buried treasure.

In Java Edition, each buried treasure chest contains items drawn from 6 pools, with the following distribution:

Item Stack Size [A] Weight [B] Chance [C] Avg.
per chest
[D]
Avg. # chests
to search
[E]
5–8× 1–4× 0–1× 0–2× 5–8× 1–4× 0–1× 0–2×
Heart Of The Sea 111100.0%1.0001.0
Iron Ingot 1–4203599.4%9.2861.0
Gold Ingot 1–4103588.0%4.6431.1
Cooked Cod 2–41275.0%3.0001.3
Cooked Salmon 2–41275.0%3.0001.3
Potion of Water Breathing 11166.7%1.0001.5
TNT 1–253562.7%1.3931.6
Emerald 4–851559.9%5.0001.7
Prismarine Crystals 1–551559.9%2.5001.7
Diamond 1–251559.9%1.2501.7
Leather Tunic 11225.0%0.2504.0
Iron Sword 11225.0%0.2504.0

In Bedrock Edition, each buried treasure chest contains items drawn from 2 pools, with the following distribution:

Item Stack Size [A] Weight [B] Chance [C] Avg.
per chest
[D]
Avg. # chests
to search
[E]
5–12× 5–12×
Heart Of The Sea 111100.0%1.0001.0
Iron Ingot 3–52020457.2%3.3331.7
Chainmail Helmet 12020457.2%0.8331.7
Chainmail Chestplate 12020457.2%0.8331.7
Chainmail Leggings 12020457.2%0.8331.7
Chainmail Boots 12020457.2%0.8331.7
Potion of Water Breathing 11520446.9%0.6252.1
Diamond 11520446.9%0.6252.1
Gold Ingot 1–51020434.3%1.2502.9
Lead 1–31020434.3%0.8332.9
TNT 1–21020434.3%0.6252.9
Name Tag 11020434.3%0.4172.9
Potion of Regeneration 11020434.3%0.4172.9
Prismarine Crystals 1–5520418.9%0.6255.3
Book and Quill 1–2520418.9%0.3125.3
Music Disc (mellohi) 1520418.9%0.2085.3
Music Disc (wait) 1520418.9%0.2085.3
Bottle o' Enchanting 1320411.8%0.1258.5
Cake 112044.1%0.04224.5
  1. a b The size of stacks (or for unstackable items, number) of this item on any given roll.
  2. a b The weight of this item relative to other items in the pool.
  3. a b The odds of finding any of this item in a single chest.
  4. a b The number of items expected per chest, averaged over a large number of chests.
  5. a b The average number of chests the player should expect to search to find any of this item.


Achievements

Icon Achievement In-game description Actual requirements (if different) Gamerscore earned Trophy type (PS4)
PS4 Other
Treasure HunterAcquire a map from a cartographer villager, then enter the revealed structureVisit the structure indicated while the purchased map is in your main hand (hotbar).40GSilver
Me Gold!Dig up a buried treasureOpen a buried treasure chest30GSilver

History

Java Edition
1.13
{{Extension DPL}}<ul><li>[[Fire Charge|Fire Charge]]<br/>{{ItemEntity
|image=Fire Charge.png
|invimage=Fire Charge
|durability=
|renewable=Yes
|stackable=Yes (64)
|networkid='''[[JE]]''': 64
}}

'''Fire charges''' are items that can be {{control|used}} as a single-use version of a [[flint and steel]] or shot as a [[small fireball]] from a [[dispenser]].

== Obtaining ==
=== Chest loot ===
{{LootChestItem|fire-charge}}

=== Crafting ===
{{Crafting
|Blaze Powder
|Coal; Charcoal
|Gunpowder
|Output= Fire Charge, 3
|type= Miscellaneous
}}

=== Bartering ===
[[Piglin]]s may [[barter]] 1 fire charge when given a [[gold ingot]].

== Usage ==
[[File:Natural Fire Charge.png|200px|thumb|Dispensing Fire Charge]]

Fire charges can be used as ammunition for [[dispenser]]s, or as a substitute for [[flint and steel]].

When used, it instantly places a [[fire]], similar to flint and steel. The fire charge is consumed in the process. It can prime [[TNT]], light [[Nether portal|nether portals]], [[Campfire|campfires]], [[Candle|candles]], [[Cake|cakes with candles]] and [[creeper]]s{{only|JE}} like flint and steel.

When a fire charge is fired from a dispenser, it shoots a [[small fireball]].

=== Crafting ingredient ===

{{crafting usage}}

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=4
|sound=Ghast fireball4.ogg
|subtitle=Ghast shoots
|source=hostile
|description=When a fireball is shot by a ghast
|id=entity.ghast.shoot
|translationkey=subtitles.entity.ghast.shoot
|volume=10.0
|pitch=0.8-1.2
|distance=16 {{verify}}}}
{{Sound table
|subtitle=Blaze shoots <ref group=sound name=LousyEvents>{{Bug|MC-98316||Wrong subtitles caused by missing distinction}}</ref>
|source=hostile
|description=When a fire charge is fired from a dispenser or a blaze
|id=entity.blaze.shoot|idnote=<ref group=sound name=LousyEvents/>
|translationkey=subtitles.entity.blaze.shoot|translationkeynote=<ref group=sound name=LousyEvents/>
|volume=2.0
|pitch=0.8–1.2
|distance=32}}
{{Sound table
|subtitle=Fireball whooshes
|source=block
|description=When a fire charge is used by hand
|id=item.firecharge.use|idnote=<ref group=sound name=nounderscore>{{bug|MC-177457}}</ref>
|translationkey=subtitles.item.firecharge.use|translationkeynote=<ref group=sound name=nounderscore/>
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|subtitle=Fireball whooshes
|source=hostile
|description=When a fire charge is used to light a creeper
|id=item.firecharge.use|idnote=<ref group=sound name=nounderscore/>
|translationkey=subtitles.item.firecharge.use|translationkeynote=<ref group=sound name=nounderscore/>
|volume=1.0
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Ghast fireball4.ogg
|source=hostile
|description=When something shoots or uses a fire charge
|id=mob.ghast.fireball
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Fire Charge
|spritetype=item
|nameid=fire_charge
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Fire Charge
|spritetype=item
|nameid=fire_charge
|aliasid=fireball
|id=509
|form=item
|translationkey=item.fireball.name
|foot=1}}

=== Entity data ===
{{main|Small Fireball#Entity data}}

== Achievements ==
{{Load achievements|Into the Nether}}

== Advancements ==
{{load advancements|We Need to Go Deeper}}

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

== History ==
{{for|information pertaining to smallmfireballs (which fire charges produce when shot from a dispenser)|Small Fireball#History}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[File:Fire Charge JE1 BE1.png|32px]] Added the fire charge texture. It is currently only used by [[fireball]]s and [[small fireball]]s, both of which are entities, and is not used by any items.}}
{{History||1.2.1|snap=12w04a|Added fire charges, which use the above texture. They can be crafted only with [[coal]].}}
{{History|||snap=12w05a|Fire charges can now be crafted with charcoal.}}
{{History||1.4.2|snap=12w38b|The [[sound]] when using the fire charge has now been changed; it now uses the same sound as [[flint and steel]].}}
{{History||1.4.6|snap=12w49a|Fire charges can now be used to craft [[Firework Rocket|fireworks]].}}
{{History||1.8|snap=14w31a|The sound when using fire charges to set fire has now been changed; it now uses the same sound as when fired from [[dispenser]]s.}}
{{History||1.9|snap=15w33c|Fire charges now appear purple and explode with [[dragon's breath]] when fired from dispensers. Whether a true dragon fireball entity is created or if this effect is purely visual is unknown.}}
{{History|||snap=15w44b|Fire charges once again appear as [[small fireball]]s when fired from dispensers.}}
{{History||1.11|snap=16w40a|The <code>life</code> tag is no longer used for anything, but still saved/read.{{info needed|Is this even relevant to the fire charge, or is it a remnant from the blaze page or something?}}}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 385.}}
{{History||1.14|snap=18w43a|[[File:Fire Charge JE2 BE2.png|32px]] The texture of fire charges has now been changed.}}
{{History||1.15|snap=19w42a|Dispensed fire charges{{info needed|as in the fireball, or a dispenser facing straight into a campfire?}} can now light campfires.}}
{{History||1.16|snap=20w07a|Fire charges have a {{frac|5|109}} (~4.59%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 1.}}
{{History|||snap=20w09a|Fire charges now have a {{frac|20|226}} (~8.85%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w10a|Fire charges now have a {{frac|40|411}} (~9.73%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w11a|Fire charges now have a {{frac|40|417}} (~9.59%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w13a|Fire charges now have a {{frac|40|424}} (~9.43%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w16a|Fire charges now generate in [[ruined portal]] chests.}}
{{History|||snap=20w20a|Fire charges now have a {{frac|40|423}} (~9.46%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History||1.16.2|snap=20w28a|Fire charges now have a {{frac|40|459}} (~8.71%) chance of being given by piglins when bartering, in a stack size of 1.}}
{{History||1.19.3|snap=Pre-release 2|Fire charges can now be {{control|use|text=used}} to forcibly detonate [[creeper]]s.<ref>{{bug|MC-185618|||Fixed}}</ref>}}
{{History||1.19.4|snap=23w06a|Added the [[fire charge]] to the "Ingredients" tab in the creative inventory.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Fire Charge JE1 BE1.png|32px]] Added fire charges.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Fire charges can now be used to craft [[firework star]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Fire Charge JE2 BE2.png|32px]] The texture of fire charges has now been changed.}}
{{History||1.16.0|snap=beta 1.16.0.57|Fire charges can now be obtained from bartering with piglin.
|Fire charges can now be found in [[ruined portal]] chests.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of fire charges has been changed from <code>fireball</code> to <code>fire_charge</code>.}}

{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Fire Charge JE1 BE1.png|32px]] Added fire charges.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Fire charges now make [[sound]]s when igniting [[block]]s.}}	
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Fire Charge JE2 BE2.png|32px]] The texture of fire charges has now been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Fire Charge JE1 BE1.png|32px]] Added fire charges.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
GodPortal.png|A fire charge found in a [[ruined portal]] chest, together with an [[enchanted golden apple]].
</gallery>

== See also ==
* [[Flint and Steel]]
* [[Dragon Fireball]]
* [[Ghast]]

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-fire-charge Taking Inventory: Fire Charge] – Minecraft.net on January 11, 2019

{{Items}}

[[Category:Recipe using Charcoal]]

[[cs:Ohnivá koule]]
[[de:Feuerkugel]]
[[es:Carga ígnea]]
[[fr:Boule de feu]]
[[hu:Tűzgolyó]]
[[ja:ファイヤーチャージ]]
[[ko:화염구]]
[[nl:Vuurbal]]
[[pl:Ognista kula]]
[[pt:Bola de fogo]]
[[ru:Огненный шар]]
[[th:ลูกไฟ]]
[[zh:火焰弹]]</li><li>[[Item Frame|Item Frame]]<br/>{{redirect|Frame}}
{{ItemEntity
| group = Item Frame
| 1-1 = Item Frame.png
| 1-2 = Item Frame (item).png
| group2 = Glow Item Frame
| 2-1 = Glow Item Frame.png
| 2-2 = Glow Item Frame (item).png
| extratext = [[#Renders|View all renders]]
| renewable = Yes
| stackable = Yes (64)
| drops = {{ItemLink|Item Frame}} (1)<br> 
or
{{ItemLink|Glow Item Frame}} (1)<br>{{EnvSprite|items}} The item it contains.
}}

An '''item frame''' is an [[entity]]{{only|java|short=y}} or [[block entity]]{{only|bedrock|short=y}} that displays the item or block that is inside it.

A '''glow item frame''' keeps itself and the item inside it illuminated, even in the dark.

== Obtaining ==

=== Breaking ===

{{IN|je}}, an empty item frame can be broken simply by punching it. If the item frame contains an item, punching it drops the item, leaving the frame on the wall.

Because item frames are [[entities]] {{in|java}}, they can be broken in [[Adventure]] mode. They will also be targeted by commands using the @e selector.{{only|java}}

=== Natural generation ===

An item frame containing a pair of [[elytra]] generates in each [[end ship]].
[[File:BoatElytra.png|thumb|An item frame naturally generating in an end ship.]]

=== Crafting ===
{{Crafting
|head=1
|A1= Stick |B1= Stick   |C1= Stick
|A2= Stick |B2= Leather |C2= Stick
|A3= Stick |B3= Stick   |C3= Stick
|Output= Item Frame
|type= Decoration block
}}
{{Crafting
|foot=1
|Glow Ink Sac
|Item Frame
|Output= Glow Item Frame
|type= Decoration block
}}

=== Trading ===
Expert-level [[Trading#Cartographer|cartographer]] [[villager]]s have a chance to sell an item frame for 7 [[emerald]]s.

== Usage ==

=== Item display ===

[[File:Item Frame (map filled partial).png|thumb|150px|Item frame with partially filled map]]
Item frames can be placed on the sides of [[cactus]] blocks, [[pressure plate]]s, [[fence]]s, [[tree]]s, [[slab]]s, [[cobblestone wall]]s, [[chest]]s, [[door]]s, and all [[solid block]]s. They can also be placed on the top and bottom of these blocks. To place on chests and doors, the player needs to be [[sneaking]]. As item frames are an entity, multiple item frames can occupy the same block, although on different faces. It also allows non-solid blocks to occupy the same space.{{only|java}}

Players can place items in the frame by {{control|using}} the item. If a [[map]] is placed in an item frame, it enlarges to show the map in the size of a full block, with the item frame's location displayed as a green pointer on the map, pointing in the direction the item frame is facing. If this is done in the Nether, the green cursor spins around similar to the white cursor (players). If an item in an item frame has been renamed using an [[anvil]], it displays its custom name when the cursor is over the item frame. If the player places a block inside the frame, it is displayed in miniature half in, half out of the block. This can be most notably seen on stairs or slabs.

{{control|Pick block}} may be used on item frames by players in creative mode only, the control has no effect for players in Survival or Adventure mode. When the item frame is displaying an item, {{control|pick block}} picks the displayed item instead of the item frame.

Item frames can be placed on the lid of a [[shulker box]] that is positioned horizontally, but pop off when the lid is opened.{{only|java}}

=== Rotation ===
The displayed item can then be rotated by right-clicking the frame. Items displayed in the item frame can turn 45° diagonally, with a total of 8 possibilities (90° and 4 possibilities if it is a map), and the frame outputs a [[Mechanics/Redstone/Circuit#Power level|redstone signal]] depending on the rotation phase that can be interpreted by a [[redstone comparator]] (note that this rotation value is separate from the clock or compass rotation). As long as the frame remains placed, it remembers the orientation of the last item it held, and uses it for the next item it holds.{{only|java}}

=== Glow item frames ===
[[File:Item Frames Comparison.png|thumb|260px|Comparison between ordinary item frame and glow item frame in the dark.]]

When an item is placed inside a glow item frame, it appears to glow, even though it does not emit any [[light level]].

== Sounds ==
Item frames and glow item frames share the same sounds.
=== Generic ===
{{Edition|Bedrock}}:<!--Item frames are blocks in BE, so they get the generic section.-->
{{Sound table/Block/Item frame/BE}}
=== Unique ===
{{Edition|Java}}:
{{Sound table
|rowspan=2
|sound=Item Frame add item1.ogg
|sound2=Item Frame add item2.ogg
|soumd3=Item Frame add item3.ogg
|sound4=Item Frame add item4.ogg
|subtitle=Item Frame fills
|source=neutral
|description=When an item is placed in an item frame
|id=entity.item_frame.add_item
|translationkey=subtitles.entity.item_frame.add_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame fills
|source=neutral
|description=When an item is placed in a glow item frame
|id=entity.glow_item_frame.add_item
|translationkey=subtitles.entity.glow_item_frame.add_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame break1.ogg
|sound2=Item Frame break2.ogg
|sound3=Item Frame break3.ogg
|subtitle=Item Frame breaks<ref group=sound name=breaks>{{bug|MC-194948}}</ref>
|source=neutral
|description=When an item frame is broken or pops off
|id=entity.item_frame.break
|translationkey=subtitles.entity.item_frame.break
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame breaks<ref group=sound name=breaks/>
|source=neutral
|description=When a glow item frame is broken or pops off
|id=entity.glow_item_frame.break
|translationkey=subtitles.entity.glow_item_frame.break
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame place1.ogg
|sound2=Item Frame place2.ogg
|sound3=Item Frame place3.ogg
|sound4=Item Frame place4.ogg
|subtitle=Item Frame placed
|source=neutral
|description=When an item frame is placed
|id=entity.item_frame.place
|translationkey=subtitles.entity.item_frame.place
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame placed
|source=neutral
|description=When a glow item frame is placed
|id=entity.glow_item_frame.place
|translationkey=subtitles.entity.glow_item_frame.place
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame remove item1.ogg
|sound2=Item Frame remove item2.ogg
|sound3=Item Frame remove item3.ogg
|sound4=Item Frame remove item4.ogg
|subtitle=Item Frame empties
|source=neutral
|description=When an item is removed from an item frame
|id=entity.item_frame.remove_item
|translationkey=subtitles.entity.item_frame.remove_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame empties
|source=neutral
|description=When an item is removed from a glow item frame
|id=entity.glow_item_frame.remove_item
|translationkey=subtitles.entity.glow_item_frame.remove_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame rotate item1.ogg
|sound2=Item Frame rotate item2.ogg
|sound3=Item Frame rotate item3.ogg
|sound4=Item Frame rotate item4.ogg
|subtitle=Item Frame clicks
|source=neutral
|description=When an item is rotated in an item frame
|id=entity.item_frame.rotate_item
|translationkey=subtitles.entity.item_frame.rotate_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame clicks
|source=neutral
|description=When an item is rotated in an item frame
|id=entity.glow_item_frame.rotate_item
|translationkey=subtitles.entity.glow_item_frame.rotate_item
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Item Frame add item1.ogg
|sound2=Item Frame add item2.ogg
|soumd3=Item Frame add item3.ogg
|sound4=Item Frame add item4.ogg
|source=block
|description=When an item is placed in an item frame
|id=block.itemframe.add_item
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Item Frame remove item1.ogg
|sound2=Item Frame remove item2.ogg
|sound3=Item Frame remove item3.ogg
|sound4=Item Frame remove item4.ogg
|source=block
|description=When an item is removed from an item frame
|id=block.itemframe.remove_item
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Item Frame rotate item1.ogg
|sound2=Item Frame rotate item2.ogg
|sound3=Item Frame rotate item3.ogg
|sound4=Item Frame rotate item4.ogg
|source=block
|description=When an item is rotated in an item frame
|id=block.itemframe.rotate_item
|volume=1.0
|pitch=1.0
|foot=1}}

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Item Frame
|spritetype=item
|nameid=item_frame
|form=item}}
{{ID table
|displayname=Glow Item Frame
|spritetype=item
|nameid=glow_item_frame
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Item Frame
|spritetype=entity
|nameid=item_frame}}
{{ID table
|displayname=Glow Item Frame
|spritetype=entity
|nameid=glow_item_frame
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item Frame
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Item
|spritename=item-frame
|spritetype=item
|nameid=frame
|id=513
|form=item}}
{{ID table
|displayname=Block
|spritename=item-frame
|spritetype=block
|nameid=frame
|id=199
|form=block
|translationkey=-
|itemform=item.frame}}
{{ID table
|displayname=Item
|spritename=glow-item-frame
|spritetype=item
|nameid=glow_frame
|id=623
|form=item}}
{{ID table
|displayname=Block
|spritename=glow-item-frame
|spritetype=block
|nameid=glow_frame
|form=block
|id=594
|itemform=item.glow_frame
|translationkey=-
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=item-frame
|spritetype=block
|nameid=ItemFrame}}
{{ID table
|displayname=Block entity
|spritename=glow-item-frame
|spritetype=block
|nameid=GlowItemFrame
|foot=1}}

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

{{/BS}}<br />
===Item data===
{{el|java}}:{{main|Player.dat format}}<div class="treeview">
*{{nbt|compound|tag}}'''<span data-ve-ignore="true" class="nowrap"> tag</span>''': The item's '''tag''' tag.
{{:Player.dat_format/Entity Spawners}}Unlike spawn eggs, cannot change the type of entity created using the <code>id</code> tag. Data that item frames do not normally use (see below) has no effect. 
</div>
===Entity data===
{{main|Entity format}}

{{IN|java}}, item frames have entity data that define various properties of the entity.

{{/ED}}

===Block data===

{{IN|bedrock}}, an item frame has a block entity associated with it that holds additional data about the block.

See [[Bedrock Edition level format/Block entity format]].

== Video==

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

==History==
{{History|java}}
{{History||August 15, 2012|link={{tweet|Dinnerbone|235724805196877824}}|[[File:Item Frame (pre-release).png|32px]] [[Dinnerbone]] showed the first image of item frames.}}
{{History||August 15, 2012|link={{tweet|Dinnerbone|235742974271700993}}|[[File:Item Frame (item) (pre-release).png|32px]] Dinnerbone showed item frame in item form.}}
{{History||August 15, 2012|link={{tweet|jeb_|235746335368814592}}|[[File:Item Frame (pre-release 2).png|32px]] [[Jeb]] showed the item frames with new model.}}
{{History||August 16, 2012|link={{tweet|Dinnerbone|236062188555624448}}|[[File:Item Frame (item) JE1 BE1.png|32px]] Dinnerbone showed the item frame in item form with new texture.}}
{{History||1.4.2|snap=12w34a|[[File:Item Frame JE1 BE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames. 
|There is currently a bug where attempting to place an item frame in [[multiplayer]] causes an internal server error, as well as other bugs.}}
{{History|||snap=12w34b|The multiplayer item frame bug has been fixed.}}
{{History|||snap=12w38a|Item frames no longer despawn when the [[player]] moves 20 [[block]]s away.}}
{{History||1.7.2|snap=13w36a|Items renamed using an [[anvil]] now display their name when looked at up close.}}
{{History|||snap=13w38a|[[Map]]s placed in an item frame now cover the whole block face, allowing seamless tiling of adjacent maps. This makes undiscovered areas of maps invisible.}}
{{History|||snap=13w43a|[[File:Item Frame (map) JE1 BE1.png|32px]] Incomplete maps placed in item frames now display the item frame texture underneath.}}
{{History||1.8|snap=14w04a|[[Item]]s and [[block]]s displayed in the item frame now rotate 45 degrees when rotated instead of 90 degrees, and a [[comparator]] outputs a [[redstone]] signal depending on the rotation phase.}}
{{History|||snap=14w10a|Multiple item frames can no longer be placed on the same block face.}}
{{History||1.9|snap=15w41a|An item frame now generates in the treasure room of [[end ship]]s, above the [[shulker]] that guards the treasure. It holds [[elytra]].}}
{{History|||snap=15w49a|Item frames are no longer destroyed by [[lightning]] bolts.}}
{{History|||snap=15w50a|Added [[sound]]s to item frames: <code>entity.itemframe.add_item</code>, <code>entity.itemframe.break</code>, <code>entity.itemframe.place</code>, <code>entity.itemframe.remove_item</code>, and <code>entity.itemframe.rotate_item</code>.}}
{{History||1.11|snap=16w32a|The [[entity]] ID of item frames has been changed from <code>ItemFrame</code> to <code>item_frame</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 389.}}
{{History|||snap=17w50a|Item frames can now be put on floors and ceilings.}}
{{History||1.14|snap=18w43a|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Item Frame (item) JE2 BE2.png|32px]] The textures of item frames have been changed.}}
{{History|||snap=19w11a|Item frames are now [[trading|sold]] by cartographer [[villager]]s.}}
{{History||1.15|snap=19w38a|[[File:Item Frame 19w38a.png|32px]] [[File:Item Frame Map 19w38a.png|32px]] Item frames now appear dark, same as suffocating [[mob]]s.<ref>{{bug|mc-161283|||Fixed}}</ref>}}
{{History|||snap=19w39a|Item frames are now colored correctly.}}
{{History||1.16|snap=20w10a|The NBT <code>Invisible</code> and <code>Fixed</code> have been added to item frames.}}
{{History||1.17|snap=21w03a|[[File:Glow Item Frame JE1 BE3.png|32px]] [[File:Glow Item Frame (map) JE1 BE3.png|32px]] [[File:Glow Item Frame (item) JE1 BE1.png|32px]] Added glow item frames.}}
{{History|||snap=21w10a|Added new [[subtitles]] for glow item frames.}}
{{History||1.18|snap=21w41a|[[File:Item Frame (item) JE3.png|32px]] [[File:Glow Item Frame (item) JE2.png|32px]] The textures of item frames and glow item frames as item have been changed.}}
{{History||1.19|snap=22w15a|Item frames now adjusts its hitbox to account for the larger size of a framed [[map]].}}
{{History|||snap=Pre-release 3|Reverted the change in 22w15a.}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Item Frame JE1 BE1.png|32px]] [[File:Item Frame (map) JE1 BE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames.
|Item frames are considered as a [[block entity]] instead of an [[entity]].<ref>{{tweet|_tomcc|690127591525728257|Let's create some drama: ItemFrames in MCPE will behave like signs and won't be placeable in blocks, and can't put many in the same block.|21 Jan 2016}}</ref>}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|An item frame containing [[elytra]] now generates in [[end city]] ships.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Item Frame (item) JE2 BE2.png|32px]] The textures of item frames have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Item frames can now be [[trading|bought]] from cartographer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|Item frames can now be placed on the top and bottom of [[block]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed, item frames are now offered by expert-level cartographer villager.}}
{{History||Caves & Cliffs (experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.59|[[File:Item Frame.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Glow Item Frame (item) JE1 BE1.png|32px]] Added glow item frames.
|Has the default item frame block texture.}}
{{History|||snap=beta 1.16.210.60|Temporarily removed glow item frames due to a crash.}}
{{History|||snap=beta 1.16.220.50|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Glow Item Frame (item) JE1 BE1.png|32px]] Re-added glow item frames.}}
{{History|||snap=beta 1.16.220.52|[[File:Glow Item Frame BE2.png|32px]] [[File:Glow Item Frame (map) BE2.png|32px]] Glow Item Frame block texture uses update block texture due to a bug.}}
{{History||1.17.0|snap=beta 1.16.230.52|[[File:Item Frame.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] The glow item frame block textures have been reverted back to the previous one.}}
{{History|||snap=beta 1.17.0.50|[[File:Glow Item Frame JE1 BE3.png|32px]] [[File:Glow Item Frame (map) JE1 BE3.png|32px]] The textures of glow item frames have been changed to match Java Edition.
|Now produces [[redstone]] signals.}}
{{History|||snap=beta 1.17.0.52|Maps now glow in glow item frames.
|Glow Item Frames are no longer available only through [[Experimental Gameplay]].}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Item Frame (item) JE3.png|32px]] [[File:Glow Item Frame (item) JE2.png|32px]] The textures of item frames and glow item frames as item have been changed.}}

{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Item Frame LCE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames.}}
{{History||xbox=TU11|The limit for item frames in a world has been increased. A message is now displayed when the maximum number of item frames are reached.}}
{{History||xbox=TU12|[[File:Item Frame JE1 BE1.png|32px]] The entity texture of item frames has been changed.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[Item]]s and [[block]]s displayed in the item frame now rotate 45 degrees when rotated instead of 90 degrees, and a [[redstone comparator|comparator]] now outputs a [[redstone]] signal depending on the rotation phase.}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|Added [[sound]]s for item frames.}}
{{History||xbox=TU56|xbone=CU47|ps=1.55|wiiu=Patch 26|switch=1.0.6|If the [[item]] in the item frame has a name (from an [[anvil]]) it now shows as if there is a name tag on the item frame.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Item Frame (item) JE2 BE2.png|32px]] The textures of item frames have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Item Frame JE1 BE1.png|32px]] [[File:Item Frame (map) JE1 BE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames.}}
{{History|foot}}

== Issues==

{{issue list}}

== Trivia==

*The item frame is based upon a suggestion on [[wikipedia:Reddit|Reddit]], like the [[ender chest]] and [[flower pot]].<ref>{{Tweet|dinnerbone|235747041286975488}}</ref>
*The item frame is the only entity to reference a block [[model]].{{only|java|short=1}} Because of this, the texture of the frame border is the same as the birch planks texture.
*Item frame is the '''only''' placeable item that can interfere with other non-full block entities.
*Due to the way layer textures are displayed in Minecraft, maps float on item frames, similar to how icons float on the map itself.

== Gallery ==
=== Renders ===
<gallery>
Item Frame.png | Item Frame
Item Frame (map).png | Map Item Frame
Glow Item Frame.png | Glow Item Frame
Glow Item Frame (map).png | Map Glow Item Frame
Item Frame with Item.png | With item
Item Frame with rotated Item.png | With rotated item
Item Frame with Block.png | With block
Item Frame with rotated Block.png | With rotated block
</gallery>

=== Screenshots ===
<gallery>
Slab Frame.png|An item frame on the side of a slab.
ItemFrameBoxed.png|Four item frames in a one-block space.{{only|java}} 
Item Frames Woodbase.png|The frame itself uses the texture of birch planks.
Item Frame rotation.gif|The rotation of an item in an item frame.
Front-back-itemframe.png|The front and back of an item frame are the same.
Big skills right there.png|A glow item frame inside a glow item frame.
Frame fireplace.png|An image of a fireplace retweeted by Dinnerbone.
11 Framed.png|[[11]] in an item frame.
</gallery>

=== Development images ===
<gallery>
Suggestion for itemframes.png|Original Reddit image suggesting item frames and flower pots.
Item frame2.png|Dinnerbone's first screenshot showing armor and weapons.
Item frame3.png|Dinnerbone's second screenshot showing a map, a compass, and two diamond swords.
Item frame4.png|Dinnerbone's third screenshot showing a golden sword in all directions, the item frame item itself, and a working clock.
Item frame1.png|Jeb's screenshot of the item frame.
FlowerPot.png|Snapshot showing plant pots and item frames.
Item frame5.png|Snapshot image of an ender pearl in an item frame.
SOATPC.png|An image tweeted by Dinnerbone showing how hovering over an item frame containing a renamed item shows a name tag.
Pocket Edition Item Frames.jpg|First image of item frames in ''Bedrock Edition''.
</gallery>

== See also ==

*{{ItemLink|Painting}}

== References ==

{{Reflist}}

{{Blocks|Utility}}
{{items}}
{{entities}}

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

[[cs:Rámeček]]
[[de:Rahmen]]
[[es:Marco]]
[[fr:Cadre]]
[[hu:Eszköz keret]]
[[it:Cornice]]
[[ja:額縁]]
[[ko:아이템 액자]]
[[nl:Voorwerplijst]]
[[pl:Ramka na przedmiot]]
[[pt:Moldura]]
[[ru:Рамка]]
[[th:กรอบโชว์สิ่งของ]]
[[zh:物品展示框]]</li></ul>
18w10aAdded buried treasure structures.
18w19aA heart of the sea now generates in buried treasure chests.
Bedrock Edition
1.4.0
{{Extension DPL}}<ul><li>[[Shield|Shield]]<br/>{{Item
| image = Shield.png
| image2 = White Shield.png
| extratext = View [[#Gallery|all renders]]
| durability = 336
| renewable = Yes
| stackable = No
}}
A '''shield''' is a tool used for protecting the [[player]] against attacks.

== Obtaining ==
=== Crafting ===
{{Crafting
|head=1
|showname=0
|A1=Any Planks <!-- the recipe changed in 15w37a, do not change it to the old recipe without reason -->
|B1=Iron Ingot
|C1=Any Planks
|A2=Any Planks
|B2=Any Planks
|C2=Any Planks
|B3=Any Planks
|Output=Shield
|type=Combat
}}
{{Crafting
|ignoreusage=1
|Shield
|Matching Banner
|A2=Shield
|B2=Banner
|Output=Matching Shield
|type=combat
|foot=1
}}

=== Repairing ===
{{Crafting
|ignoreusage=1
|showdescription=1
|Damaged Shield
|Damaged Shield
|Output=Shield
|description= The durability of the two shields is added together, plus an extra 5% durability. The repaired shield has no pattern.
|type= Combat
}}

Shields may also be repaired on an [[anvil]] by using [[planks]] or another shield. Shields repaired on anvils retain their pattern.

=== Trading ===
Journeyman-level armorer [[villager]]s have {{frac|1|3}}{{only|Bedrock|short=1}}/{{frac|2|5}}{{only|Java|short=1}} chance of selling a shield for 5 [[emerald]]s as their sixth trade.

== Usage ==
Despite using iron in its crafting recipe, it cannot be smelted into [[iron nugget]]s.<ref>{{bug|MC-111738}}</ref>

=== Defense ===
Shields are used for [[blocking]] incoming attacks. {{control|Using}}{{Only|Java|short=1}} or {{Control|sneaking}}{{Only|Bedrock|short=1}} causes a player to slow to a [[sneaking]] pace, and after {{convert|5|ticks|seconds}}<ref>{{bug|MC-100949||Shield blocking is delayed}}</ref>, attacks coming from in front of the player are blocked, dealing no damage. When the shield blocks an attack of {{hp|3}} or stronger, it takes durability damage equal to the strength of the attack rounded up.  

Most blocked projectiles that carry status effects (such as [[Shulker#Shulker bullet|shulker bullets]]{{only|java|short=1}}, flaming [[arrow]]s, or tipped arrows) do not affect the blocker. [[Trident]]s & arrows can be deflected into other targets. Knockback from melee attacks and projectiles is prevented, while knockback from [[explosion]]s, [[hoglin]], and [[ravager]] attacks are significantly reduced.

The shield directionally blocks all attacks coming from within the FOV of the direction the wielder is facing, providing a full hemisphere of coverage to them. If the wielder faces straight up, they are likely to miss their blocks.<ref>{{bug|MC-109101||Shields do not block damage while the player faces straight up}}</ref><!--straight down fix: MC-92019-->

Mobs that deal continuous contact damage such as the slime, magma cube, and blaze rapidly drain the shield's durability for as long as the shielded player remains within the mob's hitbox.<ref>{{bug|MC-169167}}</ref><ref>{{bug|MCPE-119451}}</ref>

Blockable attacks include:
*Melee attacks, except by a warden, axe-wielding mobs or by a sprinting player wielding an axe, however even without sprinting an axe still greatly decreases the durability 
** Status effects do not carry through to the blocker{{only|java|short=1}}.
*Normal, tipped, and spectral [[arrow]]s
** Arrows other than [[Piercing]] are totally deflected and can hit other targets.
** Status effects do not carry through to the blocker{{only|java|short=1}}.
***This can be used to damage the attacker or another mob down there.
*[[Flame|Flaming arrows]]
** Burning does not carry through to the blocker{{only|java|short=1}}.
*[[Trident]]s
*[[Snowball]]s and [[egg]]s
*Spines from [[pufferfish]]
*Bullets from [[shulker]]s
** The levitation effect does not carry through to the blocker{{only|java|short=1}}.
*Spit from [[llama]]s
*[[Fireball]]s, such as from [[blaze]]s and [[fire charge]]s
** Burning does not carry through to the blocker.
*Direct hits from [[ghast]] [[fireball]]s
** These still cause environmental damage.
*All explosions{{only|JE|short=1}}
*Explosion damage from [[creeper]]s
*[[TNT]] that another player lit
*[[Ravager]] headbutts
** These still knock the blocker back by about 3 blocks.
** Blocking these strikes can stun the ravager for a moment, and it roars afterward.
*Ravager roars are blocked but still knock back the blocker.
*[[Bee]] stings are blocked, but bees continuously attack until the player stops blocking and the player is stung.
*Beam attacks from [[guardian]]s or [[elder guardian]]s (only reduces damage by 50%)

They cannot block:
*Arrows from a [[crossbow]] enchanted with [[Piercing]]
** This does not reduce the shield's durability.
*[[Status effect]]s from tipped arrows or shulker bullets {{only|bedrock|short=1}} <ref>{{bug|MCPE-52904}}</ref>
** Direct projectile damage is blocked, but the effect still carries through.
*Status effects from splash/lingering [[potion]]s, [[evoker]]s' fangs, or breath from the [[ender dragon]]
*Beam attacks from [[guardian]]s or [[elder guardian]]s, or the [[warden]]'s sonic boom attack
*TNT that the blocking player lit themselves{{only|BE|short=1}}
*TNT that a [[Redstone (disambiguation)|redstone mechanism]] lit{{only|BE|short=1}}
*[[Fall damage]], including that from [[ender pearl]]s
** This also includes when the player rides an [[entity]] that died due to fall damage.
*Strikes from a warden or any [[axe]]-wielding mob (e.g., [[vindicator]]s, [[piglin brute]]s, [[zombie]]s after disabling players shield they attack another time immediately)
** Such strikes disable being able to use shields for 5 seconds.

=== Applying patterns ===
[[File:Cyan Shield Screenshot.png|250px|thumb|A custom shield.]]
Shields can be decorated by applying a [[banner]].

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

Unlike with [[banner]]s, shields cannot be repainted or washed in a [[cauldron]]. Shields have only half the resolution of banners, making patterns look slightly different. In the game files, the pattern textures can be found in a separate directory called entity/shield.

{{IN|java}}, shields with patterns can also be obtained using the same commands as banners, except <code>banner</code> has to be replaced with <code>shield</code>.

=== Enchantments ===
A shield can receive the following [[enchantments]], but only through an [[anvil]]:

{| class="wikitable col-2-center"
|+
!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=Shield block1.ogg
|sound2=Shield block2.ogg
|sound3=Shield block3.ogg
|sound4=Shield block4.ogg
|sound5=Shield block5.ogg
|subtitle=Shield blocks
|source=player
|description=When an attack is blocked using a shield
|id=item.shield.block
|translationkey=subtitles.item.shield.block
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|subtitle=Gear equips
|source=player
|description=When a shield is placed in the offhand slot
|id=item.armor.equip_generic
|translationkey=subtitles.item.armor.equip
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a shield's durability is exhausted
|id=item.shield.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=Shield block1.ogg
|sound2=Shield block2.ogg
|sound3=Shield block3.ogg
|sound4=Shield block4.ogg
|sound5=Shield block5.ogg
|source=player
|description=When an attack is blocked using a shield
|id=item.shield.block
|volume=0.7
|pitch=1.0}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|source=player
|description=When a shield is placed in the offhand slot<wbr>{{Upcoming|BE 1.20.30}}<wbr><ref group=sound>{{Bug|MCPE-168039}}</ref>
|id=armor.equip_generic
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a shield'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=Shield
|spritetype=item
|nameid=shield
|form=item
|translationkey=item.minecraft.shield, item.minecraft.shield.white, item.minecraft.shield.orange, item.minecraft.shield.magenta, item.minecraft.shield.light_blue, item.minecraft.shield.yellow, item.minecraft.shield.lime, item.minecraft.shield.pink, item.minecraft.shield.gray, item.minecraft.shield.light_gray, item.minecraft.shield.cyan, item.minecraft.shield.purple, item.minecraft.shield.blue, item.minecraft.shield.brown, item.minecraft.shield.green, item.minecraft.shield.red, item.minecraft.shield.black
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Shield
|spritetype=item
|nameid=shield
|id=355
|form=item
|translationkey=item.shield.name, item.shield.white.name, item.shield.orange.name, item.shield.magenta.name, item.shield.lightBlue.name, item.shield.yellow.name, item.shield.lime.name, item.shield.pink.name, item.shield.gray.name, item.shield.silver.name, item.shield.cyan.name, item.shield.purple.name, item.shield.blue.name, item.shield.brown.name, item.shield.green.name, item.shield.red.name, item.shield.black.name
|foot=1}}

== Advancements ==
{{load advancements|Not Today}}

== History ==
{{History||July 10, 2011|link=http://minetimes.wordpress.com/2011/07/10/interview-mit-jeb-ihr-konntet-die-fragen-stellen/|During an interview, [[Jeb]] says that "shields for the left arm" might be added.}}
{{History|java}}
{{History||1.9|snap=15w33c|[[File:White Shield.png|22px]] [[File:Light Gray Shield.png|22px]] [[File:Gray Shield.png|22px]] [[File:Black Shield.png|22px]] [[File:Brown Shield.png|22px]] [[File:Red Shield.png|22px]] [[File:Orange Shield.png|22px]] [[File:Yellow Shield.png|22px]] [[File:Lime Shield.png|22px]] [[File:Green Shield.png|22px]] [[File:Cyan Shield.png|22px]] [[File:Light Blue Shield.png|22px]] [[File:Blue Shield.png|22px]] [[File:Purple Shield.png|22px]] [[File:Magenta Shield.png|22px]] [[File:Pink Shield.png|22px]] Added shields.
|Shields replace the [[blocking]] functionality of [[sword]]s, although blocking more [[damage]].
|The current [[crafting]] recipe of shields includes [[wool]], producing 16 possible colored shields. There currently isn't a blank, uncolored shield.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1=Matching Wool |B1=Any Planks
|A2=Matching Wool |B2=Any Planks |C2=Iron Ingot
|A3=Matching Wool |B3=Any Planks
|Output=Matching Shield
|ignoreusage=1
}}
{{!}}}
|Any of the colored base shields can be [[crafting|crafted]] with a [[banner]] of the same base color, to produce a patterned shield.
}}
{{History|||snap=15w34c|When an attack is blocked by a shield, the attacker now may be knocked back.
|Being attacked with an [[axe]] now may disable shield use for 5 seconds.}}
{{History|||snap=15w37a|The [[crafting]] recipe of shields has been changed to 6 [[planks]] and 1 [[iron ingot]].
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1=Any Planks |B1=Iron Ingot |C1=Any Planks
|A2=Any Planks |B2=Any Planks |C2=Any Planks
|B3=Any Planks
|Output=Shield
|ignoreusage=1
}}
{{!}}}
|[[File:Shield JE1.png|22px]] Crafting a shield now produces a base wooden shield that can be crafted together with any [[banner]].
|The cooldown of shields has been reduced from 0.5s to 0.25s.
|Blocking with shields now prevents some side effects.{{verify}}
|[[Arrow]]s now ricochet off shields.}}
{{History|||snap=15w44a|Shields can now be repaired by combining with other shields. This removes any [[banner]] that had been applied.}}
{{History|||snap=15w45a|Crafting a banner onto a shield now consumes the banner.}}
{{History|||snap=15w47b|Added shield blocking [[sound]]s.}}
{{History|||snap=16w07a|Added more variation of shield blocking sounds.}}
{{History|||snap=pre1|The [[durability]] of shields has been increased from 181 to 337.}}
{{History||1.10|snap=16w21a|Shields can now be equipped by [[dispenser]]s.}}
{{History||1.11|snap=16w33a|[[Crafting]] a shield with a banner no longer changes the durability, nor does it remove [[enchanting|enchantments]] from it.}}
{{History|||snap=16w35a|Shields now block 100% of [[damage]]/[[knockback]]/debuffs dealt in melee combat.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 442.}}
{{History||1.13.2|snap=release|Shields now properly block attacks when the player is facing down.<ref>{{bug|MC-92019|||Fixed}}</ref>}}
{{History||1.14|snap=18w43a|[[File:Shield JE2 BE1.png|22px]] The texture of shields has been changed.
|Shields no longer knockback attackers when they block due to a bug with rework of the blocking mechanic with the introduction of the ravager.<ref>{{bug|MC-147694}}</ref>}}
{{History|||snap=19w11a|Shields can now be [[trading|bought]] from armorer [[villager]]s.}}
{{History||1.14.3|snap=Pre-Release 3|Shields blocking flaming [[arrow]]s no longer put the [[player]] on [[fire]].}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft shields.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft shields.}}
{{History||1.19.3|snap=22w43a|Shields can now properly block all explosions.}}
{{History||1.19.4|snap=23w06a|A sound is now played when a shield is placed into the offhand slot.}}

{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|Critical hits now bypass shields.
|The warm-up delay has been removed from shields.
|When in the off-hand, shields now activate when [[sneaking]].}}
{{History|||snap=Combat Test 2|Shields now protect against critical attacks again.
|Shields can only be activated when the weapon is charged to 200%.}}
{{History|||snap=Combat Test 3|A "Shield Indicator" option that displays when the shield is active, similar to the attack indicator, has been added.
|An option to hide shields when active has been added.
|The arc of available protection of shields has been decreased to 100 degrees instead of 180 degrees.}}
{{History|||snap=Combat Test 4|An option to disable shields being activated by pressing {{ctrl|crouch}} has been added.
|The option to hide the shield has been removed.}}
{{History|||snap=Combat Test 6|Shields now protect up to 5 [[damage]] for melee attacks (still 100% against projectiles).
|Shields activate instantly regardless if the weapon is charged, similar to Combat test 1.
|Shields now recover faster after an attack.}}
{{History|||snap=Combat Test 7c|Shields now add a 50% knockback resistance when active.
|Shields now protect against 100% [[explosions|explosion]] damage.}}
{{History|||snap=Combat Test 8c|The knockback calculations for shields have been fixed.{{Info needed}}
|Crouch-shielding while jumping has been disabled.
|Shields with [[banner]]s are now temporarily stronger than normal shields (10 absorption instead of 5, and better knockback resistance) to test different shield types.}}

{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Shield JE2 BE1.png|22px]] Added shields.
|Shields cannot be customized with [[banner]]s.
|Shields are activated by [[sneaking|crouching]] or mounting [[mob]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|Shields can now be [[trading|bought]] from armorer [[villager]]s.}}
{{History||1.16.210|snap=beta 1.16.210.51|Now grants partial knockback protection from the [[goat]] ram attack.}}
{{History||1.16.220|snap=beta 1.16.220.50|[[Mob]]s that pick up shields now place them to their off-hand.}}
{{History||1.18.30|snap=beta 1.18.30.26|Being attacked with an [[axe]] now may disable shield use. This was not mentioned in the official changelog.<ref>{{tweet|kingbdogz|1504505321884196872|We missed a change in recent changelogs for the Bedrock beta that you may like - we have now made a parity fix that makes shields get disabled for 5 seconds when attacked by an Axe-wielding mob or player. We will make sure to list this properly in the next beta :)|March 17, 2022}}</ref>}}
{{History||1.20.0|snap=beta 1.20.0.20|[[File:White Shield.png|22px]] [[File:Light Gray Shield.png|22px]] [[File:Gray Shield.png|22px]] [[File:Black Shield.png|22px]] [[File:Brown Shield.png|22px]] [[File:Red Shield.png|22px]] [[File:Orange Shield.png|22px]] [[File:Yellow Shield.png|22px]] [[File:Lime Shield.png|22px]] [[File:Green Shield.png|22px]] [[File:Cyan Shield.png|22px]] [[File:Light Blue Shield.png|22px]] [[File:Blue Shield.png|22px]] [[File:Purple Shield.png|22px]] [[File:Magenta Shield.png|22px]] [[File:Pink Shield.png|22px]] Shields can now be customized using a banner.}}

{{History|PS4}}
{{History||1.90|[[File:Shield JE1.png|22px]] Added shields.
|Shields do not have [[banner]] application features.}}
{{History|foot}}

== Issues ==
{{issue list|-wither}}

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

=== Screenshots ===
<gallery>
JebShield.png|One of the first images of shields. [[Jeb]] wearing diamond armor while holding a creeper-emblazoned shield during [[MineCon]] 2015.
Jeb Crafting Shield.png|Jeb crafting a shield.
Player with Shield.png|Player holding the default shield.
Shield Block.png|A player blocking with a shield.
ShieldFirstPerson.png|Blocking with a shield as seen in first person.
Enchanted Shield (item).gif|An enchanted shield as seen in the [[inventory]].
-ominous- shield.png|A shield with the [[ominous banner]] on it as seen in the inventory.
Kai-Shield.jpg|An image of [[Kai]] wielding a banner with a shield, used to announce the feature on [[Bedrock Edition]].
Bedrock-Shields.jpg
</gallery>

== References ==
{{reflist}}

== External Links ==
* [https://www.minecraft.net/en-us/article/taking-inventory--shield Taking Inventory: Shield] – Minecraft.net on July 25, 2019

{{Items}}

[[Category:Combat]]
[[Category:Renewable resources]]

[[de:Schild (Kampf)]]
[[fr:Bouclier]]
[[it:Scudo]]
[[ja:盾]]
[[ko:방패]]
[[nl:Schild]]
[[pl:Tarcza]]
[[pt:Escudo]]
[[ru:Щит]]
[[th:โล่]]
[[zh:盾牌]]</li><li>[[Axe|Axe]]<br/>{{For}}
{{Item
| image = <gallery>
Wooden Axe.png | Wooden
Stone Axe.png | Stone
Iron Axe.png | Iron
Golden Axe.png | Golden
Diamond Axe.png | Diamond
Netherite Axe.png | Netherite
</gallery>
| rarity = Common
| renewable = 
* '''Netherite''': No 
* '''Others''': Yes
| durability = 
'''Bedrock Edition'''
* Golden: 33
* Wooden: 60 
* Stone: 132
* Iron: 251
* Diamond: 1562
* Netherite: 2032
'''Java Edition'''
* Golden: 32
* Wooden: 59
* Stone: 131
* Iron: 250
* Diamond: 1561
* Netherite: 2031
| stackable = No
}}

An '''axe''' is a [[tool]] used to hasten the [[breaking]] of [[wood]]-based or other tough organic [[block]]s, strip or scrape certain blocks, or as a melee [[weapon]] that can disable [[Shield|shields]] it hits.

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

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

===Repairing===

====Grinding====
{{Grinding
|showdescription=1
|ingredients= 2× Damaged [[Wooden Axe]] or 2× Damaged [[Stone Axe]] or 2× Damaged [[Iron Axe]] or 2× Damaged [[Golden Axe]] or 2× Damaged [[Diamond Axe]] or 2× Damaged [[Netherite Axe]]
|Damaged Wooden Axe; Damaged Stone Axe; Damaged Iron Axe; Damaged Golden Axe; Damaged Diamond Axe; Damaged Netherite Axe
|Damaged Wooden Axe; Damaged Stone Axe; Damaged Iron Axe; Damaged Golden Axe; Damaged Diamond Axe; Damaged Netherite Axe
|Wooden Axe; Stone Axe; Iron Axe; Golden Axe; Diamond Axe; Netherite Axe
|description=The durability of the two axes is added together, plus an extra 5% of max durability.
}}

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

===Mob loot===

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

A [[vindicator]] spawns with an iron axe and has an 8.5% chance (9.5% with Looting I, 10.5% with Looting II, and 11.5% with Looting III) of dropping it upon death by the player. It is usually heavily damaged and is sometimes enchanted.

A [[piglin brute]] spawns with a golden axe and has an 8.5% chance (9.5% with Looting I, 10.5% with Looting II, and 11.5% with Looting III) of dropping it upon death by the player. Also, {{in|java}}, [[Zombified Piglin|zombified piglins]] can drop their golden axe (with the same chance as piglin brute drop) if they have been zombified from a [[Piglin Brute|piglin brute.]]

====Raids====
{{IN|be}}, [[Vindicator]] and [[pillager]]s that spawn in raids have a 4.1% chance (5.12% on hard) to drop a badly-damaged iron axe, which is sometimes enchanted with a random enchantment. A vindicator can drop 2 iron axes, one from natural equipment and one from raid drops.

===Trading===
Novice-level [[Trading#Toolsmith|Toolsmith]] [[villager]]s have a 25% chance to sell a stone axe for one [[emerald]], journeyman-level Toolsmith villagers have a 25% chance to sell an enchanted iron axe for eight emeralds, and expert-level Toolsmith villagers have a 50% chance to sell an enchanted diamond axe for 13 emeralds.{{only|bedrock}}

Novice-level [[Trading#Toolsmith 2|Toolsmith]] villagers have a 40% chance to sell a stone axe for one emerald, journeyman-level Toolsmith villagers have a 40% chance to sell an enchanted iron axe for 7-22 emeralds, and expert-level Toolsmith villagers have a 66.67% chance to sell an enchanted diamond axe for 18-35 emeralds.{{only|java}}

Novice-level [[Trading#Weaponsmith|Weaponsmith]] [[villager]]s sell an iron axe for 3 emeralds as one of their trades, and master-level Weaponsmith villagers sell an enchanted diamond axe for 12 emeralds.{{only|bedrock}}

Novice-level [[Trading#Weaponsmith 2|Weaponsmith]] villagers have a 66.67% chance to sell an iron axe for 3 emeralds. Master-level Weaponsmith villagers always offer to sell an enchanted diamond axe for 18-35 emeralds.{{only|java}}

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

=== Villager gifts ===
[[Trading#Toolsmith 2|Toolsmith]] [[villagers]] occasionally throw stone axes at players with the [[Hero of the Village]] status effect.{{only|java}}

[[Trading#Weaponsmith 2|Weaponsmith]] [[villagers]] occasionally throw either stone, gold, or iron axes at players with the [[Hero of the Village]] status effect.{{only|java}}

===Structure loot===
{{IN|JE}}, a sealed room in [[woodland mansion]]s can appear that has a chest always containing an [[Efficiency]] I iron axe.
{{LootChestItem|wooden-axe,stone-axe,random-enchanted-golden-axe,damaged-random-enchanted-netherite-axe,iron-axe}}

==Usage==

===Chopping===
An axe is used to break [[logs]], blocks derived from wood and some other blocks faster than by using other tools. An axe uses 1 durability to break 1 block. For blocks that break instantly, it uses 0 durability.

====Durability====
Each tier of axe has a different durability:
{| class="wikitable sortable"
! Material
! [[Durability]]
|-
| {{itemLink|Wooden Axe|Wood|link=Axe}}
| 59
|-
| {{itemLink|Stone Axe|Stone|link=Axe}}
| 131
|-
| {{itemLink|Iron Axe|Iron|link=Axe}}
| 250
|-
| {{itemLink|Diamond Axe|Diamond|link=Axe}}
| 1561
|-
| {{itemLink|Golden Axe|Golden|link=Axe}}
| 32
|-
| {{itemLink|Netherite Axe|Netherite|link=Axe}}
| 2031
|}

====Speed====
The following table summarizes the speed at which axes of different qualities perform.
{{breaking row|Wooden Trapdoors|link=Trapdoor|sort=1|simple=1}}
{{breaking row|Wooden Doors|item=1|link=Door|sprite=oak-door}}
{{breaking row|Barrel}}
{{breaking row|Cartography Table}}
{{breaking row|Chest}}
{{breaking row|Trapped Chest}}
{{breaking row|Crafting Table}}
{{breaking row|Fletching Table}}
{{breaking row|Lectern}}
{{breaking row|Loom}}
{{breaking row|Smithing Table}}
{{breaking row|Bamboo Mosaic}}
{{breaking row|Block of Bamboo}}
{{breaking row|Campfire}}
{{breaking row|Fences}}
{{breaking row|Fence Gates}}
{{breaking row|Jukebox}}
{{breaking row|Logs}}
{{breaking row|Planks}}
{{breaking row|Wooden Slabs|link=Slabs|sprite=all-wooden-slabs}}
{{breaking row|Wooden Stairs|link=Stairs|sprite=all-wooden-stairs}}
{{breaking row|Bookshelf}}
{{breaking row|Chiseled Bookshelf}}
{{breaking row|Banners}}
{{breaking row|Jack o'Lantern}}
{{breaking row|Melon}}
{{breaking row|Pumpkin}}
{{breaking row|Sign|sprite=oak-sign}}
{{breaking row|Hanging Sign|sprite=hanging-oak-sign}}
{{breaking row|Note Block}}
{{breaking row|Mangrove Roots}}
{{breaking row|Wooden Pressure Plate|sprite=oak-pressure-plate}}
{{breaking row|Beehive}}
{{breaking row|Ladder}}
{{breaking row|Bee Nest|drop=0}}
{{breaking row|Composter}}
{{breaking row|Bamboo}}
{{breaking row|sprite=red-bed|Bed}}
{{breaking row|Cocoa}}
{{breaking row|Daylight Detector}}
{{breaking row|Mushroom Block|sprite=mushroom-blocks}}
{{breaking row|Vines|drop=0|foot=1}}

=== Stripping ===
{{control|Using}} an axe on a [[log]], [[wood]] block, [[block of bamboo]]\, or [[block of copper]] causes it to become a [[stripped log]], [[stripped wood]] block, [[block of stripped bamboo]], or removes one layer of oxidization or wax, respectively. This consumes one point of durability from the axe.

===Weapon===
An axe loses 2 points of durability when used as a weapon. 

==== Bedrock Edition ====
{{IN|bedrock}}, axes always attack instantly and deal {{hp|1}} less damage than a [[sword]] of the same quality but it lowers the durability of armor and shields faster than any other tool in-game.
{| class="wikitable" style="text-align:center" data-description="Bedrock damage"
! Material !! Damage
|-
| {{ItemSprite|Wooden Axe}} Wooden || rowspan="2" |{{hp|4}}
|-
| {{ItemSprite|Golden Axe}} Golden
|-
| {{ItemSprite|Stone Axe}} Stone ||{{hp|5}}
|-
| {{ItemSprite|Iron Axe}} Iron ||{{hp|6}}
|-
| {{ItemSprite|Diamond Axe}} Diamond ||{{hp|7}}
|-
| {{ItemSprite|Netherite Axe}} Netherite ||{{hp|8}}
|}

====Java Edition====

Attacking a [[shield]] user with an axe should have a chance to disable the use of the shield for 5 seconds, but currently this always disables a shield.<ref>{{bug|MC-197537}}</ref> The base chance is 25%, plus 5 percentage points per level of [[Efficiency]] on the axe, plus 75 percentage points if attacking while sprinting. [[Vindicator]]s, [[piglin brute]]s, or other [[mob]]s with commands always disable the player's shield. Damage done when using an axe as a weapon is more than that of a [[sword]] of the same tier, though they take longer than a sword to [[Damage#Attack cooldown|recover]], resulting in lower <abbr title="Damage/Second">DPS</abbr> (with the exception of [[gold]]en axes). The damage dealt and cooldown time depends on the type:

{| class="wikitable" style="text-align:center" data-description="Attack damage"
! Material
! {{ItemSprite|Wooden Axe|text=Wooden}}
! {{ItemSprite|Golden Axe|text=Gold}}
! {{ItemSprite|Stone Axe|text=Stone}}
! {{ItemSprite|Iron Axe|text=Iron}}
! {{ItemSprite|Diamond Axe|text=Diamond}}
! {{ItemSprite|Netherite Axe|text=Netherite}}
|-
! Attack Damage
| {{hp|7}}
| {{hp|7}}
| {{hp|9}}
| {{hp|9}}
| {{hp|9}}
| {{hp|10}}
|-
! Attack Speed
| 0.8
| 1.0
| 0.8
| 0.9
| 1.0
| 1.0
|-
! Recovery time
| {{convert|1.25|sec|tick|sep=}}
| {{convert|1|sec|tick|sep=}}
| {{convert|1.25|sec|tick|sep=}}
| {{convert|1.11|sec|tick|sep=}}
| {{convert|1|sec|tick|sep=}}
| {{convert|1|sec|tick|sep=}}
|-
! <abbr title="Damage/Second">DPS</abbr>
| 5.6
| 7.0
| 7.2
| 8.1
| 9.0
| 10.0
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is <code>ceil(''durability'' ÷ 2) × ''damage per hit''</code>. The durability is halved then ceiled because axes take double durability when used as a weapon, and the last 1 durability can also deal damage. The formula also ignores enchantments and critical hits, and assumes each attack is performed at maximum charge.</ref>
| {{hp|210}}
| {{hp|112}}
| {{hp|594}}
| {{hp|1125}}
| {{hp|7029}}
| {{hp|10160}}
|}
{{notelist}}

=== Enchantments ===
An axe can receive the following enchantments:
{| class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Fortune]]<ref group=note name=exc>Silk Touch and Fortune are mutually exclusive.</ref>
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Silk Touch]]<ref group=note name=exc/>
|I
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Efficiency]]
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Sharpness]]<ref group="note" name="exc2">Sharpness, Smite, Bane of Arthropods, and Cleaving{{upcoming|java Combat Tests}} are mutually exclusive.</ref>
|V
|{{Inventory slot|Anvil}}
|-
|[[Smite]]<ref group="note" name=exc2/>
|V
|{{Inventory slot|Anvil}}
|-
|[[Bane of Arthropods]]<ref group="note" name=exc2/>
|V
|{{Inventory slot|Anvil}}
|-
|[[Fire Aspect]]{{upcoming|java Combat Tests}}<ref group="note" name="sword">Fire Aspect, Looting, Knockback, and Sweeping Edge currently exist, but they can be used only for [[sword]]s.</ref>
|II
|{{Inventory slot|Anvil}}
|-
|[[Looting]]{{upcoming|java Combat Tests}}<ref group="note" name="sword" />
|III
|{{Inventory slot|Anvil}}
|-
|[[Knockback]]{{upcoming|java Combat Tests}}<ref group="note" name="sword" />
|II
|{{Inventory slot|Anvil}}
|-
|[[Cleaving]]{{upcoming|java Combat Tests}}<ref group="note" name="exc2" />
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Sweeping Edge]]{{upcoming|java Combat Tests}}<ref group="note" name="sword" />
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|}

{{notelist}}

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

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

===Piglins===
If a {{EntityLink|Piglin}} see a golden axe, 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 axe.

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Axe strip1.ogg
|sound2=Axe strip2.ogg
|sound3=Axe strip3.ogg
|sound4=Axe strip4.ogg
|subtitle=Axe strips
|source=block
|description=When an axe strips a log or wood block
|id=item.axe.strip
|translationkey=subtitles.item.axe.strip
|volume=0.9
|pitch=1.0/0.85
|distance=16}}
{{Sound table
|sound=wax_off1.ogg
|sound2=wax_off2.ogg
|sound3=wax_off3.ogg
|subtitle=Wax off
|source=block
|description=When an axe unwaxes a [[block of copper]]
|id=item.axe.wax_off
|translationkey=subtitles.item.axe.wax_off
|volume=1.0
|pitch=0.9/1.1/1.0
|distance=16}}
{{Sound table
|sound=scrape1.ogg
|sound2=scrape2.ogg
|sound3=scrape3.ogg
|subtitle=Axe scrapes
|source=block
|description=When an axe deoxidizes a block of copper
|id=item.axe.scrape
|translationkey=subtitles.item.axe.scrape
|volume=1.0
|pitch=1.0/0.9/1.1
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When an axe'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=Wood hit1.ogg
|sound2=Wood hit2.ogg
|sound3=Wood hit3.ogg
|sound4=Wood hit4.ogg
|sound5=Wood hit5.ogg
|sound6=Wood hit6.ogg
|source=block
|description=When an axe strips a log or wood block <ref group=sound name=stripsoundbug>{{Bug|MCPE-106552}}</ref>
|id=use.wood
|volume=1.0
|pitch=0.8}}
{{Sound table
|sound=Stem step1.ogg
|sound2=Stem step2.ogg
|sound3=Stem step3.ogg
|sound4=Stem step4.ogg
|sound5=Stem step5.ogg
|sound6=Stem step6.ogg
|source=block
|description=When an axe strips a stem or hyphae block <ref group=sound name=stripsoundbug/>
|id=use.stem
|volume=1.0
|pitch=0.8}}
{{Sound table
|sound=Bamboo wood step1.ogg
|sound2=Bamboo wood step2.ogg
|sound3=Bamboo wood step3.ogg
|sound4=Bamboo wood step4.ogg
|sound5=Bamboo wood step5.ogg
|sound6=Bamboo wood step6.ogg
|source=player
|description=When an axe strips a [[block of bamboo]] <ref group=sound name=stripsoundbug/>
|id=step.bamboo_wood
|volume=1.0
|pitch=0.8}}
{{Sound table
|sound=Cherry wood step1.ogg
|sound2=Cherry wood step2.ogg
|sound3=Cherry wood step3.ogg
|sound4=Cherry wood step4.ogg
|sound5=Cherry wood step5.ogg
|sound6=Cherry wood step6.ogg
|source=player
|description=When an axe strips a cherry log or cherry wood block <ref group=sound name=stripsoundbug/>
|id=step.cherry_wood
|volume=1.0
|pitch=0.8}}
{{Sound table
|sound=wax_off1.ogg
|sound2=wax_off2.ogg
|sound3=wax_off3.ogg
|source=neutral
|description=When an axe unwaxes or deoxidizes a block of copper {{More info|Is use.copper used as well?}}
|id=copper.wax.off
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When an axe'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 Axe
|spritetype=item
|nameid=wooden_axe
|form=item}}
{{ID table
|displayname=Stone Axe
|spritetype=item
|nameid=stone_axe
|form=item}}
{{ID table
|displayname=Iron Axe
|spritetype=item
|nameid=iron_axe
|form=item}}
{{ID table
|displayname=Diamond Axe
|spritetype=item
|nameid=diamond_axe
|form=item}}
{{ID table
|displayname=Golden Axe
|spritetype=item
|nameid=golden_axe
|form=item}}
{{ID table
|displayname=Netherite Axe
|spritetype=item
|nameid=netherite_axe
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Axe
|spritetype=item
|nameid=wooden_axe
|id=311
|form=item}}
{{ID table
|displayname=Stone Axe
|spritetype=item
|nameid=stone_axe
|id=315
|form=item}}
{{ID table
|displayname=Iron Axe
|spritetype=item
|nameid=iron_axe
|id=298
|form=item}}
{{ID table
|displayname=Diamond Axe
|spritetype=item
|nameid=diamond_axe
|id=319
|form=item}}
{{ID table
|displayname=Golden Axe
|spritetype=item
|nameid=golden_axe
|id=325
|form=item}}
{{ID table
|displayname=Netherite Axe
|spritetype=item
|nameid=netherite_axe
|id=607
|form=item
|foot=1}}

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

==Advancements ==
{{load advancements|Oh Shiny;Wax off}}

==History==
{{History|java indev}}
{{History||0.31|snap=20100110|[[File:Iron Axe JE1.png|32px]] Added iron axes.
|An axe is used to gather [[log|wood]] 400% faster than by hand.
|When starting in a new world, the [[player]] is given one of each [[tools|tool]].}}
{{History|||snap=20100122|[[File:Iron Axe JE2.png|32px]] The texture of axes has been changed. Half of the axe head has been removed.}}
{{History|||snap=20100124|[[File:Iron Axe JE3.png|32px]] The texture of axes has been changed again. The other axe head is now used instead.
|A complete toolset is no longer given to the [[player]] on starting a new world. Instead, there are multiple [[chest]]s in the later called "[[Indev House]]" containing a stack of most accessible [[blocks]]/[[items]] including [[tools]].}}
{{History|||snap=20100128|[[File:Wooden Axe JE1 BE1.png|32px]] [[File:Stone Axe JE1 BE1.png|32px]] [[File:Diamond Axe JE1 BE1.png|32px]] [[Tools]] now have tiers. Wooden, stone, and diamond axes have been added.
|[[File:Iron Axe JE4 BE1.png|32px]] The texture of iron axes has been changed.
|An axe held by the player is now rendered to appear more 3D.
|They cannot be crafted yet, but have been added to the item chest in the Indev house.}}
{{History|||snap=20100129|Wooden, stone, iron, and diamond axes can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Axe JE1.png|32px]] Axes can now be made out of gold.}}
{{History|||snap=20100201-1|[[Tools]] now take [[damage]] when being used. Better tools now last longer.}}
{{History||20100206|[[File:Golden Axe JE2 BE1.png|32px]] The texture of golden axes has been changed.}}
{{History|java beta}}
{{History||1.2|Gold [[tools]], including axes, now remove [[block]]s faster than diamond tools.}}
{{History|java}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden axes.}}
{{History||1.3.1|snap=12w16a|Wooden and stone axes are now found in the new [[bonus chest]]s.}}
{{History|||snap=12w18a|Wooden axes can now be used as [[fuel]] in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] 1 diamond axe for 9–11 [[emerald]]s, and 1 iron axe for 6–7 emeralds.}}
{{History||1.6.1|snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), axes now add their damage onto the barehanded damage, which results in all axes doing {{hp|1}} more damage than before.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft wooden axes.}}
{{History||1.8|snap=14w02a|Weapon smith villagers now sell 1 [[enchanting|enchanted]] diamond axe for 9–12 emeralds, and 1 iron axe for 6–8 emeralds. Unenchanted diamond axes are no longer sold.}}
{{History||1.9|snap=15w34a|Axes now use the attack speed combat mechanic meter. The time it takes for the meter to fill up for an axe is 1.2 seconds.}}
{{History|||snap=15w34b|Axes now have an attack speed of 0.8, taking about 1.25 seconds to fill the attack meter.}}
{{History|||snap=15w34c|Axes do {{hp|4}} more [[damage]] than previously.
|Axes now have an attack speed of 0.85.
|Axes can now temporarily disable [[shield]] use.}}
{{History|||snap=15w35a|The [[damage]] of axes has been reduced by {{hp|1}}.
|The speed of axes has been increased to 0.9.}}
{{History|||snap=15w37a|Stone and diamond axes now both do {{hp|9}} damage, instead of the previous {{hp|8}} and {{hp|10}} respectively.
|Axes now have attack speed based on the tier, with wooden and stone having a speed of 0.8, iron having a speed of 0.9, and diamond and gold having a speed of 1.}}
{{History|||snap=15w43a|Stone axes may now be found in [[igloo]] basement chests.}}
{{History|||snap=15w44a|The average yield of stone and wooden axes from [[bonus chest]]s has been decreased.}}
{{History||1.11.1|snap=16w50a|Golden and iron axes now [[smelting|smelt]] down into one of their respective [[nugget]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 271, 275, 258, 279 and 286.}}
{{History||1.13|snap=18w07a|{{control|Using}} an axe on a block of [[wood]] or [[log]] now turns it into a stripped block of wood or log.}}
{{History|||snap=18w09a|Stone axes now can generate in the [[chest]]s of [[underwater ruins]].}}
{{History|||snap=pre2|{{control|Using}} an axe on a bark now turns it into a stripped bark.}}
{{History||1.14|snap=18w43a|[[File:Wooden Axe JE2 BE2.png|32px]] [[File:Stone Axe JE2 BE2.png|32px]] [[File:Iron Axe JE5 BE2.png|32px]] [[File:Golden Axe JE3 BE2.png|32px]] [[File:Diamond Axe JE2 BE2.png|32px]] The textures of all axes have been changed.}}
{{History|||snap=19w11a|Toolsmith villagers now sell stone axes, as well as enchanted iron and diamond axes.}}
{{History|||snap=19w13a|Toolsmith villagers now give stone axes to players under the [[Hero of the Village]] effect.
|Weaponsmith villagers now give stone, golden and iron axes to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|[[File:Netherite Axe JE1.png|32px]] Added netherite axes.
|Netherite axes are obtained by combining one diamond axe and one netherite ingot in a crafting table.
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden axes.}}
{{History|||snap=20w09a|[[File:Diamond Axe JE3 BE3.png|32px]] The texture of diamond axes has been changed.}}
{{History|||snap=20w10a|[[File:Netherite Axe JE2.png|32px]] The texture of netherite axes has been changed.
|Netherite axes can no longer be crafted.
|Netherite axes are now obtained by combining one diamond axe and one netherite ingot in a smithing table.}}
{{History|||snap=20w15a|Stone axes can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Golden axes now generate randomly enchanted in [[ruined portal]] chests.}} 
{{History||1.16.2|snap=20w30a|Enchanted golden axes can now be found in [[bastion remnant]] chests.}}
{{History||1.17|snap=21w08a|Stone axes can now be crafted using [[cobbled deepslate]].}}
{{History|||snap=21w11a|Axes can now be used to scrape wax and oxidation off [[copper block]]s.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden axes.}}
{{History||1.20 (Experimental)|link=1.19.3|snap=22w42a|Added [[block of bamboo]], which when used with an axe gives a block of stripped bamboo.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond axes to netherite axes now requires the netherite upgrade [[smithing template]].}}
{{History||1.20|snap=23w12a|Iron axes can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]].}}

{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all axes has been increased to 2.
|All axes now deal {{hp|1}} more [[damage]] than their sword counterparts.}}
{{History|||snap=Combat Test 3|The [[Cleaving|Chopping]] enchantment has been added for axes, which adds 1 damage and 0.5 seconds (10 [[game tick]]s) of [[shield]] stunning per level and is mutually exclusive with [[Sharpness]].
|Axes now always disable shields for {{convert|1.6|seconds|ticks}}, instead of having a 25% to disable them for 5 seconds (100 game ticks).
|Axes now take 1 damage when attacking instead of 2.
|The [[Sweeping Edge]] enchantment can now be applied to axes.}}
{{History|||snap=Combat Test 4|[[Knockback]], [[Looting]], and [[Fire Aspect]] enchantments can now be applied to axes.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Axe JE1 BE1.png|32px]] Added stone axes.}}
{{History||v0.3.0|[[File:Wooden Axe JE1 BE1.png|32px]] Added wooden axes.
|Survival players no longer start with an infinite durability stone axe in the inventory.}}
{{History||v0.3.2|[[File:Iron Axe JE4 BE1.png|32px]] [[File:Golden Axe JE2 BE1.png|32px]] [[File:Diamond Axe JE1 BE1.png|32px]] Added iron, golden and diamond axes.}}
{{History||v0.4.0|Removed stone axes from the creative inventory.}}
{{History||v0.11.0|snap=build 11|All axes are now available in the [[creative]] [[inventory]].}}
{{History|||snap=build 12|All axes have been removed from creative.}}
{{History|||snap=build 13|All axes have been re-added to creative mode.}}
{{History||v0.12.1|snap=build 1|Instead of replacing the barehanded [[damage]] ({{hp|1}}), axes now add their damage onto the barehanded damage, which results in all axes doing {{hp|1}} more damage than before.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Stone axes now can be found inside [[igloo]] basement [[chest]]s.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Weaponsmith [[villager]]s now [[trading|sell]] iron axes for 6-8 [[emerald]]s as part of their first tier [[trading|trades]] and [[enchanting|enchanted]] diamond axes for 9-12 emeralds as part of their third tier trades.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden axes are now [[smelting|smeltable]].
|Iron axes with the [[Efficiency]] I enchantment can now be found inside [[chest]]s in [[woodland mansion]]s.
|Added [[vindicator]]s, who rarely [[drops|drop]] iron axes.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Wooden and stone axes can now be found in [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.13.8|Using an axe on a [[log]] now turns it into a stripped log.}}
{{History|||snap=beta 1.2.20.1|Stone axes can now be found inside [[underwater ruins]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Wooden Axe JE2 BE2.png|32px]] [[File:Stone Axe JE2 BE2.png|32px]] [[File:Iron Axe JE5 BE2.png|32px]] [[File:Golden Axe JE3 BE2.png|32px]] [[File:Diamond Axe JE2 BE2.png|32px]] The textures of all axes have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Vindicator]]s and [[pillager]]s that spawn in [[raid]]s can now [[drops|drop]] an iron axe.
|[[Trading]] has been changed, weaponsmith [[villager]]s now [[trading|sell]] iron axes for 3 [[emerald]]s and [[enchanting|enchanted]] diamond axes for 12 emeralds as part of their fourth tier [[trading|trades]].
|Stone axes, enchanted iron axes, and diamond axes can now be [[trading|bought]] from toolsmith villagers.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Axe BE1.png|32px]] Added netherite axes.|Netherite axes are obtained by combining one diamond axe and one netherite ingot in a crafting table.
|[[File:Diamond Axe JE3 BE3.png|32px]] The texture of diamond axes has been changed.}}
{{History|||snap=beta 1.16.0.57|Netherite axes can no longer be crafted.
|Netherite axes are now obtained by combining one diamond axe and one netherite ingot in a smithing table.
|Stone axes can now be crafted using blackstone.
|Golden axes now generate randomly enchanted in [[ruined portal]] chests.
|Netherite axes now generate randomly enchanted in [[bastion remnant]] chests.}}
{{History||1.16.20|snap=beta 1.16.20.50|Added [[piglin brute]]s, who rarely drop golden axes.}}
{{History||1.16.100|snap=beta 1.16.100.54|Piglin brutes no longer spawn with enchanted axes.}}
{{History|||snap=beta 1.16.100.55|Zombified piglins that are converted from piglin brutes now keep their golden axes.}}
{{History||1.16.220|snap=beta 1.16.220.52|Axes can now be used to scrape wax off copper blocks.}}
{{History||1.18.30|snap=beta 1.18.30.26|Axes can now temporarily disable [[shield]] use. This is not mentioned in the official changelog.<ref>{{tweet|kingbdogz|1504505321884196872|We missed a change in recent changelogs for the Bedrock beta that you may like - we have now made a parity fix that makes shields get disabled for 5 seconds when attacked by an Axe-wielding mob or player. We will make sure to list this properly in the next beta :)|March 17, 2022}}</ref>
}}

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

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

==Issues==
{{issue list}}

==Trivia==
*Before [[Java Edition 1.13]], in the language files, axes were referred to as Hatchets.<ref name="1.8 lang">''1.8/assets/minecraft/lang/en_US.lang'', line 915: '''item.hatchetIron.name= Iron Axe'''</ref>
*Weaponsmith villagers gifting stone, iron and golden axes is a reference to the story ''[[wikipedia:The Honest Woodcutter|The Honest Woodcutter]]'', where a woodcutter dropped his axe into a river, and is successively provided a silver and a golden axe by the river god.{{cn}}

== Gallery ==
<gallery>
Stone Axe SDGP.png|Stone axe in the [[Super Duper Graphics Pack]].
</gallery>
=== Enchanted axes ===
<gallery>
Enchanted Wooden Axe.gif
Enchanted Stone Axe.gif
Enchanted Iron Axe.gif
Enchanted Golden Axe.gif
Enchanted Diamond Axe.gif
Enchanted Netherite Axe.gif
</gallery>

==See also==
*{{ItemLink|Pickaxe}}

==References==
{{Reflist}}

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

{{items}}

[[Category:Combat]]

[[cs:Sekera]]
[[de:Axt]]
[[es:Hacha]]
[[fr:Hache]]
[[hu:Balta]]
[[ja:斧]]
[[ko:도끼]]
[[nl:Bijl]]
[[pl:Siekiera]]
[[pt:Machado]]
[[ru:Топор]]
[[th:ขวาน]]
[[uk:Сокира]]
[[zh:斧]]</li></ul>
beta 1.2.14.2Added buried treasure structures.
beta 1.2.20.1A heart of the sea now generates in buried treasure chests.
Education Edition
1.4.0
{{Extension DPL}}<ul><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><li>[[Hopper|Hopper]]<br/>{{About|the block|the crash utility|Hopper (crash utility)}}
{{Block
|image=<gallery>
Hopper (D).png|Java
Hopper (D) BE.png|Bedrock
</gallery>
|extratext = View [[#Gallery|all renders]]
|transparent=Yes
|light=No
|tool=wooden pickaxe
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}}
A '''hopper''' is a low-capacity storage [[block]] that can be used to collect [[item (entity)|item entities]] directly above it, as well as to transfer [[item]]s into and out of other containers. A hopper can be locked with [[Redstone Dust|redstone power]] to stop it from moving items into or out of itself.

== Obtaining ==
=== Breaking ===
To obtain a hopper, {{control|mine}} it with a [[pickaxe]]. Using any other item to mine a hopper drops only its contents.
{{breaking row|horizontal=1|Hopper|Pickaxe|Wood|foot=1}}

===Crafting===
A hopper can be crafted from 5 iron ingots and a chest.
{{Crafting
|A1= Iron Ingot
|C1= Iron Ingot
|A2= Iron Ingot
|B2= Chest
|C2= Iron Ingot
|B3= Iron Ingot
|Output= Hopper
|type= Redstone
}}

==Usage==
{{see also|Tutorials/Hopper}}
[[File:Hopper aligment.png|Hoppers can face down or sideways.|thumb]]

A hopper can be used as a container, as a crafting ingredient, and as a redstone component.

A hopper has an "output" tube at its bottom that can face down or sideways and provides a visual indication of which block the hopper is set up to drop its items into, if that block has an inventory. To place a hopper, use the {{control|Place Block}} control while aiming at the surface to which its output should face (Hoppers ''do not'' orient themselves automatically). To place a hopper directly on the face of an already interactable block, the player can {{control|sneak}} while placing the hopper. Attempting to place a hopper aimed on the bottom face of a block instead faces downward. With some blocks, such as the [[furnace]] and [[brewing stand]], the hopper has multiple uses. A hopper does not change direction after placement, and it is not attached to the container it faces; the container can be removed or replaced, and the hopper remains unchanged.

Hoppers cannot be moved by [[piston]]s.{{only|java}} Despite not being a solid block, attached blocks such as [[rail]]s, [[lever]]s, [[tripwire]] and [[redstone]] dust can be placed on top of hoppers, but not on their sides.

===Container===
[[File:Hopper GUI.png|thumb|176px|Hopper GUI showing the hopper's five slots of inventory at the top and the player's inventory below.]]

A hopper can be used as a container and has 5 slots of inventory space.

To open the hopper GUI, use the {{control|use item|text=Use Item/Place Block}} [[control]]. To move items between the hopper inventory and the player inventory or hotbar while the hopper GUI is open, drag or shift-click the items. To exit the hopper GUI, use the {{key|Esc}} key, B button or circle button, depending on the device.

By default, the GUI of a hopper is labeled "Item Hopper". A hopper's GUI label can be changed by naming the hopper in an [[anvil]] before placing it, or, {{in|java}}, by using the [[Commands#data|data]] command (for example, to label a hopper at (0,64,0) "Steve's Hopper", use <code>/data merge block 0 64 0 {CustomName:'"Steve's Hopper"'}</code>).

{{IN|java}}, a hopper's GUI can be "locked" (or subsequently unlocked) by setting the hopper's <code>Lock</code> tag with the [[Commands#data|data]] command. If a hopper's <code>Lock</code> tag is not blank, the hopper cannot be accessed except by players holding an item with the same name as the <code>Lock</code> tag's text. For example, to lock a hopper at (0,64,0) so that only players holding an item named "Steve's Key" can access the hopper, use <code>/data merge block 0 64 0 {Lock:"Steve's Key"}</code>.

===Crafting ingredient===
A hopper can be used to craft a [[minecart with hopper]].
{{crafting usage}}

===Redstone component===
{{see also|Redstone circuit|Redstone components#Hopper}}
[[File:Hopper logic flowchart.png|thumb|Flowchart of hopper logic]]

While a hopper is ''not'' powered by redstone signals, it operates with three functions:

*'''Collect''' [[Item (entity)|item entities]] (free-floating items in the world) into its inventory from the space above it
*'''Pull''' a single item into its inventory from a container above it
*'''Push''' a single item from its own inventory into a container it faces

A hopper first attempts to push any items inside it. Afterward, it checks if the block above it is a type of container. If so, it attempts to pull from it. Otherwise, the hopper attempts to collect item entities. Notably, hoppers can push to and pull from other hoppers, forming '''hopper pipes''' or '''hopper chains''', which allow transporting items across several blocks and are further discussed below.

====Redstone signals====
When a hopper receives a redstone signal (and is considered to be "activated"), all three functions stop. To avoid confusion over the terms "activated" and "deactivated", powered hoppers are often described as being '''locked''' and unpowered hoppers described as being '''unlocked'''. Hoppers can be powered by [[Redstone_mechanics#Power|soft powered]] blocks, meaning a [[redstone dust]] trail pointing into a block touching the hopper locks it just as effectively as a [[redstone block]] or any other [[Redstone components#Power components|power component]] touching the hopper. When the hopper is unlocked during a redstone tick, it does not push or pull/collect during the same tick, but has a delay of 1 redstone tick instead.

While a locked hopper does not push or pull/collect items, it may still receive items from [[dispenser]]s, [[dropper]]s and other hoppers, and may have its items pulled out by another hopper beneath it. Hence, the item flow in a horizontal hopper pipe may be stopped by locking just one of the hoppers, but stopping a vertical hopper pipe requires locking two adjacent hoppers at the same time, such that both the pushing of the top one and the pulling of the bottom one are stopped.  

A hopper does not output any redstone signals by itself, but its fullness can be read using a [[Redstone Comparator|redstone comparator]], which needs to be placed next to it and facing away from it. An empty hopper outputs a signal strength of 0 and a completely full hopper outputs a signal strength of 15. Notably, a single stackable item (16 or 64) outputs a signal strength of 1 and a single non-stackable item outputs a signal strength of 3.  

{{IN|Java}}, if the hopper being read is part of a horizontal hopper pipe, the comparator can individually read each item passing through the chain, because items are pushed through the hoppers one by one at a speed that is manageable by the comparator. If there is an uninterrupted stream of items, the comparator does not switch off in between items. On the other hand, in a vertical hopper pipe, some of the hoppers may never produce a reading above 0, even with a continuous stream of items, because pushes and pulls both occur in the same game tick: The hoppers' items get pulled out a single game tick after they're pushed in and this isn't measurable by a comparator, because comparators need measurements lasting at least 1.5 redstone ticks to produce a reading.  

====Collecting items====
A hopper collects items dropped on top of it if the space above the hopper not occupied by a storage block. Items are gathered from the entire 1 block space above the hopper, meaning that items sitting on partial blocks such as [[soul sand]] directly above a hopper can be collected.<ref>https://bugs.mojang.com/browse/MCPE-55824</ref> It is also possible for a hopper to collect items from inside a full, solid block, a situation that might come from items rising up through solid blocks or being [[commands/summon|summoned]]. Item entities are not collected when they are outside of the collection area however; for example, items on top of a stone block directly above a hopper are not collected. Collected items are placed in the leftmost empty slot of a hopper's inventory.

{{IN|java}}, if there is no container above the hopper, then the hopper collects dropped items in the order in which they landed on the hopper. This order is remembered even while a hopper is locked. For instance, if a hopper is locked under a carpet while a fully equipped [[armor stand]] is broken above it, then it always collects items in this order when it is unlocked: [[armor stand]], [[boots]], [[leggings]], [[chestplates]], [[helmets]]. This is due to the order in which these items land.{{Verify|Wouldn't this be due to the order in which the game creates the item entities that drop drop from the armor stand?}} {{IN|Bedrock}}, hoppers do not remember the order in which items land on the hopper. Instead, hoppers with multiple dropped items above them collect the items in the order in which they entered the chunk in which the hopper is located. Items that drop from a broken armor stand are collected in a random order.<ref>https://bugs.mojang.com/browse/MCPE-120586</ref>

Hoppers usually check for dropped items every [[game tick]] and they can collect items even before they are picked up by a [[player]]{{Verify|Does this happen always, or sometimes, and in Java only or also in Bedrock?}} or destroyed by [[lava]]. However, {{In|Bedrock}} hoppers have a "collection cooldown" time. After collecting an item (or stack of items), a hopper waits {{tooltip|4 redstone ticks|8 game ticks}} (0.4 seconds, barring lag) before attempting to collect again.

Hoppers collect groups of items all at once rather than collecting them as single items one at a time. As a result, hoppers can collect item entities much faster than they can pull items from a container. Pulling from a moving [[minecart with chest]] or [[minecart with hopper]] is even slower, since the minecart is not always above the hopper.

====Pushing and pulling items====
A hopper with a storage container above it (such as a [[furnace]], [[chest]], [[dropper]], [[composter]], or another hopper) attempts to pull from the container instead of checking for floating items above it, and hence can not collect items.  A hopper always tries to push or pull items using the leftmost available slot. When a hopper is removing items from a chest, the items disappear from left to right. Similarly, when filling up a chest, the chest fills up from left to right. Hoppers prioritize pulling from the first slot of a container over pulling into the first hopper slot. If a hopper has stone in its first slot and nothing in its second while the container it is pulling from has chicken in its first slot but stone in the second, the hopper pulls the chicken from the first slot of the container into its empty second slot. However, if the hopper is unable to pull the chicken, such as if all slots are filled with stone, the hopper pulls the stone from the second slot of the container instead. Similarly, hoppers prioritize pushing from their first slot over pushing into the first slot of a container. If a hopper has stone in its first slot and chicken in its second while the container it is pushing to has chicken it its first slot but stone in the second, the hopper pushes stone from its first slot into the second slot of the container.

In [[Java Edition]] the checks done by a hopper while pulling generally require less processing than the checks done by a hopper attempting collection. Therefore, a chain of hoppers topped with storage containers rather than air/solid blocks has better performance (measured as milliseconds of processing per tick) and lower potential for processing lag. <ref name=":0">https://www.youtube.com/watch?v=LC3ZOOI1Rf0</ref> The performance improvement achieved is correlated with the number of storage slots the container has. Placing composters (with no storage slots but still with custom output logic) on top of hoppers provide the greatest efficiency, while double chests actually degrade performance, even when sharing each double chest across two hoppers.<ref name=":0" /> In [[Bedrock Edition]] a chain of hoppers with air or non-container blocks on top has better performance than a chain of hoppers topped by container blocks.<ref>https://cdn.discordapp.com/attachments/715523208530362389/890030941282631741/Redstone_MSPT_measure.xlsx</ref> This may be because, even though hoppers with containers on top do not check for items, they do check for hopper-minecarts and chest-minecarts to pull from, and that involves scanning the chunk entity list.<ref>{{bug|MCPE-109449}}</ref>

{{Schematic|caption='''Push then Pull'''
Chest A is full of items while the hopper and Chest B are empty.
|ch-$+A||-
|ho-$e|ch-$+B
}}

Item pushes and pulls are processed in the same game tick, but pushes are processed before pulls. In the schematic, the empty hopper first pulls an item from chest A as it cannot push anything into chest B. After the cooldown, the hopper first pushes its item into chest B before pulling another item from chest A, both pushing and pulling in the same tick, and the process repeats. The hopper stops pulling when A is empty, and stops pushing when B becomes full.

Hoppers also have a "transfer cooldown" time. After pulling and/or pushing items, a hopper waits {{tooltip|4 redstone ticks|8 game ticks}} (0.4 seconds, barring lag) before pulling or pushing again (a transfer rate of 2.5 items per second, barring lag). A hopper that has an item pushed into it from another hopper also starts a 4 tick cooldown period, regardless of whether it pushed or pulled items itself. Item entities can be collected at any time without affecting the transfer cooldown time. The transfer cooldown and the Bedrock Edition collection cooldown are independent of each other.

====Container interactions====
Some [[container]]s interact with hoppers in specific ways:

:;{{BlockLink|Composter}}
::Hoppers above composters can push compostable items into the composter's top face with a chance of increasing the level of the composter as if the player used the item on the composter. Items that are not compostable cannot be pushed into the composter. Hoppers below the composter can pull [[bone meal]] when the composter is in stage 8, emptying the composter and resetting it to stage 0. Hoppers to the side of a composter do not interact with it.

:;{{BlockLink|Brewing Stand}}
::A working hopper on the top face of a brewing stand deposits only into the ingredient slot and it can push only valid [[brewing]] ingredients. A hopper on side face of a brewing stand can deposit only [[blaze powder]] or filled bottles into the three brew slots. A hopper underneath a brewing stand always extracts from the three brew slots, whether brewing is finished or not—The hopper must be locked to allow potions to finish brewing.

:;{{BlockLink|Chest}}
:;{{BlockLink|Trapped Chest}}
::Large chests and large trapped chests are treated as a single container: A hopper depositing into a large chest fills up the entire chest and a hopper underneath a large chest empties the entire chest. Trapped chests being accessed by a player lock any adjacent hoppers, per the standard behavior of a hopper next to an active power source.

:;{{BlockLink|Furnace}}
:;{{BlockLink|Blast Furnace}}
:;{{BlockLink|Smoker}}
::A working hopper pointing into top of a furnace deposits only into the ingredient slot. It can push any item, including items that can't be smelted by the furnace. A hopper pointing into the side of a furnace deposits into the fuel slot, and only items that are usable as fuel. A hopper below a furnace pulls everything from the output slot and empty [[bucket]]s from the fuel slot left over from using [[lava bucket]]s as fuel. When a hopper removes items from a furnace, the experience points are 'stored' in the furnace until a player removes at least one smelted item, or the furnace block is broken.

:;{{BlockSprite|Hopper}} Hopper
::A sequence of three or more hoppers, each pushing items into the next, is called a '''hopper pipe'''. Working horizontal hopper pipes simply push items into each other at the expected rate of 2.5 items per second, but vertical hopper pipes are more complicated, as the hoppers are trying both to pull and to push. When a vertical pipe pulls from a single container, it simply transfers items at 2.5 items per second because the transfer rate is limited by the first hopper pulling items from the container. If a ''stack of items'' is in a vertical pipe, the items can be transferred twice as fast, because the hopper with the item stack is pushing items down while the hopper below it is also pulling items down.

:;{{EntityLink|Minecart with Chest}}
:;{{EntityLink|Minecart with Hopper}}
::Unlocked hoppers fill chest minecarts and hopper minecarts if any part of the entity's hitbox is within the hopper's target block-space. Hopper minecarts try to pull items from the hopper at high speed. Hoppers can pull items from minecarts above them so rails can be placed directly on the top faces of a hoppers. If a [[detector rail]] is in the right position, it could lock the hopper per standard redstone-hopper behavior.

:;{{BlockLink|Jukebox}}
::Hoppers can insert [[music disc]]s into jukeboxes, and extract the music discs after they finish playing.

:;{{BlockLink|Shulker Box}}
::Hoppers cannot put shulker boxes into other shulker boxes. This allows for the creation of certain [[Tutorials/Hopper#Potions and shulker boxes|item filters]].
::Otherwise, hoppers interact with shulker boxes normally.

:;{{BlockLink|Lectern}}
::Hoppers cannot remove or place books on lecterns. The redstone pulse emitted from a lectern when a page is turned can temporarily lock hoppers.

:;{{BlockLink|Ender Chest}}
::Hoppers cannot interact with ender chests in any way.

:;{{BlockLink|Barrel}}
:;{{BlockLink|Dispenser}}
:;{{BlockLink|Dropper}}
:;{{EntityLink|Boat with Chest}}
::Hoppers interact normally with barrels, dispensers, droppers, and boats with chests.

:;{{BlockLink|Chiseled Bookshelf}}
::Hoppers and minecart with hoppers can insert and remove books from the bookshelf. As with any other container, items are taken from the first slot that has an item that can fit in the hopper and are inserted into the first empty slot.

==Sounds==
===Generic===
{{Sound table/Block/Metal}}
===Unique===
{{Edition|Java}}:
{{Sound table
|sound=Door close.ogg
|sound2=Door open.ogg
|subtitle=Chest locked<ref group=sound name=lock>{{Bug|MC-98316||Wrong subtitles caused by missing distinction}}</ref>
|source=block
|description=When a player attempts to open a hopper locked using the {{nbt|string|Lock}} tag
|id=block.chest.locked|idnote=<ref group=sound name=lock/>
|translationkey=subtitles.block.chest.locked|translationkeynote=<ref group=sound name=lock/>
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}: ''None''

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Hopper
|spritetype=block
|nameid=hopper
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=hopper
|spritetype=block
|nameid=hopper
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Hopper
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=hopper
|spritetype=block
|nameid=hopper
|id=154
|form=block
|itemform=item.hopper}}
{{ID table
|displayname=Item
|spritename=hopper
|spritetype=item
|nameid=hopper
|id=527
|form=item
|translationkey=tile.hopper.name
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=hopper
|spritetype=block
|nameid=Hopper
|foot=1}}

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

{{/BS}}

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

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

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

==Achievements==
{{load achievements|Freight Station;Smelt Everything}}

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

==History==
{{History|java}}
{{History||1.5|snap=13w01a|[[File:Hopper (D) JE1.png|32px]] [[File:Hopper (N) JE1.png|32px]] [[File:Hopper (E) JE1.png|32px]] [[File:Hopper (S) JE1.png|32px]] [[File:Hopper (W) JE1.png|32px]] [[File:Hopper (U) JE1.png|32px]] Added hoppers.
|Hoppers with the [[damage]] value of 1, which are obtainable only through world editing, visually point in no direction. They functionally push items upward, however the behavior is inconsistent.
|[[File:Hopper (item) JE1.png|32px]] There is currently a temporary "work in progress" sprite for hoppers in the [[inventory]].
|Hoppers can be [[crafting|crafted]] from a [[chest]] and [[stone]] blocks with the following recipe:
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting Table
  |A1= Stone
  |C1= Stone
  |A2= Stone
  |B2= Chest
  |C2= Stone
  |B3= Stone
  |Output= Hopper
}}
{{!}}}
}}
{{History|||snap=13w01b|[[Rail]]s can now be placed on top of hoppers. 
|Hoppers no longer load [[item]]s into [[minecart]]s without [[chest]]s.}}
{{History|||snap=13w02a|[[File:Hopper (item) JE2 BE1.png|32px]] The [[inventory]] sprite of hoppers has been changed.
|[[File:Hopper (item) 13w02a.png|32px]] However, the [[item]] of hoppers appears bugged if [[drops|dropped]] or placed in an [[item frame]].<ref>{{bug|MC-6737}}</ref> This may be due to the game attempting to pull the item sprite from the hopper's equivalent spot in <samp>[[stitched_terrain.png]]</samp> (compare files: [[:File:13w02a stitched terrain.png|terrain]], [[:File:13w02a stitched items.png|items]]), a region which contains parts of the oak planks, end stone and iron bars textures.
|Applying a [[redstone]] signal to a hopper now deactivates the hopper until the signal is removed.
|Hoppers can no longer be used as [[fuel]] in a [[furnace]].
|Hoppers are now [[crafting|crafted]] using 5 [[iron ingot]]s rather than 5 [[stone]] blocks.
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1= Iron Ingot
|C1= Iron Ingot
|A2= Iron Ingot
|B2= Chest
|C2= Iron Ingot
|B3= Iron Ingot
|Output= Hopper
}}
{{!}}}
|Hoppers now pull only from the output slot of [[furnace]]s.
|Hoppers now output 1 signal strengh per 1/3 of a stack (21 [[item]]s) when interacting with a [[redstone comparator]].
|[[File:Hopper (D) JE2.png|32px]] [[File:Hopper (N) JE2.png|32px]] [[File:Hopper (E) JE2.png|32px]] [[File:Hopper (S) JE2.png|32px]] [[File:Hopper (W) JE2.png|32px]] [[File:Hopper (U) JE2.png|32px]] The texture of hoppers has been given a unique texture. Hoppers no longer use the [[cauldron]] texture. Note that the top texture does not rotate with facing direction.
|The preferred tool is now a pickaxe, rather than the axe.}}
{{History|||snap=13w02b|Hoppers now treat large [[chest]]s properly, no longer needing two hoppers connected to them to fill up the entire [[inventory]].
|Hoppers no longer take [[item]]s from containers when powered via a [[redstone]] current.
|Hoppers now display correctly as a [[drops|dropped]] or [[item frame|frame]] [[item]].}}
{{History|||snap=13w03a|Hoppers are now used to [[crafting|craft]] a [[minecart with hopper]].
|Hoppers can now empty a [[minecart with hopper]].}}
{{History|||snap=13w04a|The transfer rate of hoppers has been changed from 7 to 8 [[game tick]]s per [[item]] (2.5 items per second).}}
{{History||1.5.1|snap=pre|Hoppers now take empty [[bucket]]s out of furnace fuel slots.}}
{{History||1.7.2|snap=release|[[File:Hopper (D) JE3.png|32px]] [[File:Hopper (N) JE3.png|32px]] [[File:Hopper (E) JE3.png|32px]] [[File:Hopper (S) JE3.png|32px]] [[File:Hopper (W) JE3.png|32px]] [[File:Hopper (U) JE3.png|32px]] The UV of all blocks is broken on certain sides as a result of {{bug|MC-37106}} (few cases are listed on the wiki so far - this is a future project). This includes hoppers.}}
{{History||1.7.4|snap=13w47a|[[File:Hopper (D) JE4.png|32px]] [[File:Hopper (N) JE4.png|32px]] [[File:Hopper (E) JE4.png|32px]] [[File:Hopper (S) JE4.png|32px]] [[File:Hopper (W) JE4.png|32px]] [[File:Hopper (U) JE4.png|32px]] MC-37106 has been fixed, reverting hoppers to their pre-1.7.2 appearences.}}
{{History|||snap=13w48a|This version fixed {{bug|MC-190}}, which hoppers were allegedly subject to since their introduction. However, a comparison of hopper UV in 13w02a and 14w08a failed to reveal any visible differences, even accounting for the example images on the ticket. More research is needed on this matter.}}
{{History||1.8|snap=?|Hoppers no longer generate [[multiplayer]] lag when idle.}}
{{History|||snap=14w10a|[[File:Hopper (D) JE5.png|32px]] [[File:Hopper (N) JE5.png|32px]] [[File:Hopper (E) JE5.png|32px]] [[File:Hopper (S) JE5.png|32px]] [[File:Hopper (W) JE5.png|32px]] [[File:Missing Model JE2.png|32px]] Hoppers now use block models rather than having a hardcoded shape. This brings multiple changes: the inside texture now rotates with the hopper rather than being constant, the inside planes of hoppers are now shaded/have ambient occlusion, and some minor UV changes have occurred, notably on the smallest cuboid. The directionless hopper also [[Missing model|no longer has a model]].}}
{{History|||snap=14w26a|The directionless hopper has been removed.}}
{{History|||snap=14w31a|Hoppers now no longer use wood [[sound]]s.<ref>{{bug|MC-5991}}</ref>}}
{{History||1.9|snap=15w33c|A hopper now generates as a part of the [[end ship]] in the [[end city|end cities]].}}
{{History|||snap=15w41a|End ships no longer contain a hopper.}}
{{History|||snap=15w43a|[[Loot table]]s have been added; hoppers can now use loot tables.}}
{{History|||snap=15w43c|[[File:Hopper (D) JE6.png|32px]] [[File:Hopper (N) JE6.png|32px]] [[File:Hopper (E) JE6.png|32px]] [[File:Hopper (S) JE6.png|32px]] [[File:Hopper (W) JE6.png|32px]] The UV on the hopper model has changed, resulting in minor differences, particularly to the smallest cuboid. This is likely due to the fix for {{bug|MC-73401}}.}}
{{History|||snap=15w44a|[[File:Hopper (D) JE7.png|32px]] [[File:Hopper (N) JE7.png|32px]] [[File:Hopper (E) JE7.png|32px]] [[File:Hopper (S) JE7.png|32px]] [[File:Hopper (W) JE7.png|32px]] A mapping issue introduced in the previous snapshot for the sides of the large funnel region has been fixed. This may be due to the fix for {{bug|MC-50344}}.}}
{{History||1.9.1|snap=pre1|A hopper can now push into and pull [[item]]s from a blocked [[chest]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 154.}}
{{History||1.14|snap=18w43a|[[File:Hopper (D) JE8.png|32px]] [[File:Hopper (N) JE8.png|32px]] [[File:Hopper (E) JE8.png|32px]] [[File:Hopper (S) JE8.png|32px]] [[File:Hopper (W) JE8.png|32px]]<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}
{{History|||snap=19w03c|Hoppers now use correct cullface arguments, and some redundant faces have also been deleted.}}
{{History||1.19|snap=22w13a|Hoppers no longer drop when breaking a [[minecart with hopper]].}}
{{History||1.19.4|snap=23w07a|Hoppers can now interact with jukeboxes.}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers. Upward hoppers also exist.}}
{{History||v0.15.0|snap=build 1|Hoppers can now be moved by [[piston]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Hopper (D) BE.png|32px]] [[File:Hopper (N) BE.png|32px]] [[File:Hopper (E) BE.png|32px]] [[File:Hopper (S) BE.png|32px]] [[File:Hopper (W) BE.png|32px]] [[File:Hopper (U) BE.png|32px]]<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}
{{History||1.19.70|snap=beta 1.19.70.20|Hoppers can now collect items through all blocks that have a lower height than a full block.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Hopper (D) JE8.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}
{{History||ps=1.91|Hoppers can now fill [[composter]]s.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers.}}
{{History|foot}}

==Issues==
{{Issue list}}

==Trivia==
* A [[wikipedia:Hopper (particulate collection container)|real-world hopper]] is a large, pyramidal or cone-shaped container used in industrial processes to hold particulate matter, like dust, gravel, nuts, seeds, etc., and can then dispense them from the bottom.
* A hopper can transfer 9000 items per hour, or 150 items per minute.

==Gallery==
=== Renders ===
<gallery>
Hopper (N).png
Hopper (E).png
Hopper (S).png
Hopper (W).png
</gallery>
<gallery>
Hopper (N) BE.png
Hopper (E) BE.png
Hopper (S) BE.png
Hopper (W) BE.png
</gallery>

=== Screenshots ===
<gallery>
File:Hopper screenshot 1.png|In snapshot 13w01a, the hopper item uses a 'WIP' sprite, though the item still read "Hopper".
File:13w02a Banner.png|The 13w02a Banner includes a [[minecart with TNT]]  and a hopper.
</gallery>

==References==
{{Reflist}}

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

[[Category:Mechanisms]]
[[Category:Redstone mechanics]]
[[Category:Mechanics]]
[[Category:Storage]]
[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Block entities]]

[[cs:Násypka]]
[[de:Trichter]]
[[el:Hopper]]
[[es:Tolva]]
[[fr:Entonnoir]]
[[it:tramoggia]]
[[ja:ホッパー]]
[[ko:호퍼]]
[[nl:Trechter]]
[[pl:Lej]]
[[pt:Funil]]
[[ru:Загрузочная воронка]]
[[uk:Лійка]]
[[zh:漏斗]]</li></ul></nowiki>
Added buried treasure structures, with a heart of the sea being able to generate in them.
Legacy Console Edition
TU69CU57 1.76 Patch 38Added buried treasure structures, with a heart of the sea being able to generate in them.

Issues

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

Trivia

  • Buried treasures are the smallest naturally-occurring structure in the game.
  • In Java Edition, the player arrow is shown under the X of the treasure, but in Bedrock Edition, the player arrow is shown on top of the X.
  • The buried treasure structure clones the block that the chest replaces into any air or water blocks on the sides and top. Therefore, if a buried treasure chest replaces a spawner, up to five spawners with empty NBT data (pig spawners) can generate around it.[1]
  • In Java Edition, the buried treasure contains the highest number of diamonds per chest among all generated structures, at an average of 1.25 diamonds per chest, while the end city only has an average of 1.06 diamonds per chest.

Gallery

Odd generation

Notes

  1. Random loot; loot table for Java Edition is different from the one in Bedrock Edition and Minecraft Education
  2. If the chest generates in an underwater mountain.
  3. If the chest generates under a cold ocean floor/beach.
  4. If the chest generates under a warm ocean floor/beach.
  5. If the chest generates under a warm ocean floor/beach under sand layer and above stone layer.
  6. A generated chest exposed to water is always waterlogged.

References

Advertisement