| “ |
|
„ | |
| — Nathan Adams[1] |
Buried treasure is a naturally generated structure consisting of a buried loot chest. The chest is buried primarily in beaches, and rarely in the ocean floor. Buried treasure is the only source of the heart of the sea, which can be used to craft a conduit.
Generation
Buried treasure structures generate in beach biomes, and can also generate underwater.
Buried treasure can be located using buried treasure maps.
Structure
Buried treasure structures contain a single chest. The 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. If the chest is exposed to water, it generates waterlogged.[needs in-game testing]
Loot
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] |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1× | 5–8× | 1–4× | 0–1× | 2× | 0–2× | 1× | 5–8× | 1–4× | 0–1× | 2× | 0–2× | ||||
| Heart Of The Sea | 1 | — | — | — | — | — | 1⁄1 | — | — | — | — | — | 100.0% | 1.000 | 1.0 |
| Iron Ingot | — | 1–4 | — | — | — | — | — | 20⁄35 | — | — | — | — | 99.4% | 9.286 | 1.0 |
| Gold Ingot | — | 1–4 | — | — | — | — | — | 10⁄35 | — | — | — | — | 88.0% | 4.643 | 1.1 |
| Cooked Cod | — | — | — | — | 2–4 | — | — | — | — | — | 1⁄2 | — | 75.0% | 3.000 | 1.3 |
| Cooked Salmon | — | — | — | — | 2–4 | — | — | — | — | — | 1⁄2 | — | 75.0% | 3.000 | 1.3 |
| Potion of Water Breathing | — | — | — | — | — | 1 | — | — | — | — | — | 1⁄1 | 66.7% | 1.000 | 1.5 |
| TNT | — | 1–2 | — | — | — | — | — | 5⁄35 | — | — | — | — | 62.7% | 1.393 | 1.6 |
| Emerald | — | — | 4–8 | — | — | — | — | — | 5⁄15 | — | — | — | 59.9% | 5.000 | 1.7 |
| Prismarine Crystals | — | — | 1–5 | — | — | — | — | — | 5⁄15 | — | — | — | 59.9% | 2.500 | 1.7 |
| Diamond | — | — | 1–2 | — | — | — | — | — | 5⁄15 | — | — | — | 59.9% | 1.250 | 1.7 |
| Leather Tunic | — | — | — | 1 | — | — | — | — | — | 1⁄2 | — | — | 25.0% | 0.250 | 4.0 |
| Iron Sword | — | — | — | 1 | — | — | — | — | — | 1⁄2 | — | — | 25.0% | 0.250 | 4.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] |
||
|---|---|---|---|---|---|---|---|
| 1× | 5–12× | 1× | 5–12× | ||||
| Heart Of The Sea | 1 | — | 1⁄1 | — | 100.0% | 1.000 | 1.0 |
| Iron Ingot | — | 3–5 | — | 20⁄204 | 57.2% | 3.333 | 1.7 |
| Chainmail Helmet | — | 1 | — | 20⁄204 | 57.2% | 0.833 | 1.7 |
| Chainmail Chestplate | — | 1 | — | 20⁄204 | 57.2% | 0.833 | 1.7 |
| Chainmail Leggings | — | 1 | — | 20⁄204 | 57.2% | 0.833 | 1.7 |
| Chainmail Boots | — | 1 | — | 20⁄204 | 57.2% | 0.833 | 1.7 |
| Potion of Water Breathing | — | 1 | — | 15⁄204 | 46.9% | 0.625 | 2.1 |
| Diamond | — | 1 | — | 15⁄204 | 46.9% | 0.625 | 2.1 |
| Gold Ingot | — | 1–5 | — | 10⁄204 | 34.3% | 1.250 | 2.9 |
| Lead | — | 1–3 | — | 10⁄204 | 34.3% | 0.833 | 2.9 |
| TNT | — | 1–2 | — | 10⁄204 | 34.3% | 0.625 | 2.9 |
| Name Tag | — | 1 | — | 10⁄204 | 34.3% | 0.417 | 2.9 |
| Potion of Regeneration | — | 1 | — | 10⁄204 | 34.3% | 0.417 | 2.9 |
| Prismarine Crystals | — | 1–5 | — | 5⁄204 | 18.9% | 0.625 | 5.3 |
| Book and Quill | — | 1–2 | — | 5⁄204 | 18.9% | 0.312 | 5.3 |
| Music Disc (mellohi) | — | 1 | — | 5⁄204 | 18.9% | 0.208 | 5.3 |
| Music Disc (wait) | — | 1 | — | 5⁄204 | 18.9% | 0.208 | 5.3 |
| Bottle o' Enchanting | — | 1 | — | 3⁄204 | 11.8% | 0.125 | 8.5 |
| Cake | — | 1 | — | 1⁄204 | 4.1% | 0.042 | 24.5 |
- ↑ a b The size of stacks (or for unstackable items, number) of this item on any given roll.
- ↑ a b The weight of this item relative to other items in the pool.
- ↑ a b The odds of finding any of this item in a single chest.
- ↑ a b The number of items expected per chest, averaged over a large number of chests.
- ↑ 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 Hunter | Acquire a map from a cartographer villager, then enter the revealed structure | Visit the structure indicated while the purchased map is in your main hand (hotbar). | 40G | Silver | ||
| Me Gold! | Dig up a buried treasure | Open a buried treasure chest | 30G | Silver | ||
History
| Java Edition | |||||
|---|---|---|---|---|---|
1.13{{Extension DPL}}<ul><li>[[Arrow|Arrow]]<br/>{{ItemEntity
|title=Arrow
|image=Arrow.png
|image2=Spectral Arrow.png
|renewable='''Uncraftable and Luck{{only|java|short=1}}''': No <br/>
'''All others''': Yes
|stackable='''Normal / Spectral:''' Yes (64)<br/>
'''Tipped:''' Yes (64, only if same effect)
|size=Height: 0.5 Blocks<br>Width: 0.5 Blocks
|networkid='''Normal / Tipped:'''<br>'''[[JE]]''': 60<br>
'''Spectral:'''<br>'''[[JE]]''': 91
}}
An '''arrow''' serves as ammunition for [[bow]]s, [[crossbow]]s, and [[dispenser]]s. Arrows can be modified to give [[status effects]] to [[player]]s and [[mob]]s.
== Obtaining ==
=== Picking up arrows ===
Arrows shot by players can always be [[#Retrieving|picked up]] in Creative mode.
An arrow ''cannot'' be picked up by a player in [[Survival]] or [[Adventure]] mode if:
* It is shot by a player in [[Creative]] mode.
* It is shot by any [[mob]] able to shoot arrows, such as [[skeleton]]s, [[stray]]s, [[pillager]]s, or [[piglin]]s. This includes mobs that do not shoot arrows in normal gameplay, such as [[illusioner]]s and bow-wielding [[wither skeleton]]s.
** This is the case even in Creative mode.<ref>{{bug|MC-128845|||WAI}}</ref>
* It is shot with an [[Infinity]]-enchanted [[bow]].
* It is one of the two extra arrows shot with a [[Multishot]]-enchanted [[crossbow]].
=== Mob loot ===
[[Skeleton]]s and [[stray]]s drop 0-2 arrows upon death. The maximum drop is increased by 1 per level of [[Looting]], for a maximum of 0–5 arrows with Looting III.
Strays have a 50% chance of dropping 1 arrow of [[Slowness]] when killed by a player. Each level of Looting increases the chance of this drop by 50% of the previous chance. This results in a maximum of 93.75% with Looting III.
{{IN|bedrock}}, [[pillager]]s also drop 0–2 arrows upon death. The maximum drop is increased by 1 per level of Looting, for a maximum of 0-5 arrows with Looting III.
=== Trading ===
Novice-level fletcher [[villager]]s have a 50% chance {{in|bedrock}}, or a {{frac|2|3}} chance {{in|java}}, to sell 16 arrows for one [[emerald]] as part of their trades.
{{IN|bedrock}}, master-level fletcher villagers have a {{frac|1|2}} chance to sell 5 tipped arrows for 2 emeralds and 5 arrows. {{IN|java}}, they have a {{frac|2|3}} chance to sell 5 tipped arrows for 2 emeralds and 5 arrows. Trades {{in|java}} can be the base effect, level II, or extended; {{in|bedrock}}, only the arrow of decay is level II.<!-- A check should be made if it chooses randomly from the whole of the list of possible arrows variants, or it it chooses a base arrow potion effect, then randomly choose from that arrow's options. The first one would make arrow's without a level II, like Fire Resistance for example, slightly less likely than ones with all three options like Swiftness. -->
<!-- None are extended duration, but villagers can trade level 2 arrows. -->
* Arrow of [[Fire Resistance]]
* Arrow of [[Harming]]
* Arrow of [[Healing]]
* Arrow of [[Invisibility]]
* Arrow of [[Leaping]]
* Arrow of [[Night Vision]]
* Arrow of [[Poison]]
* Arrow of [[Regeneration]]
* Arrow of [[Slowness]]
* Arrow of [[Strength]]
* Arrow of [[Swiftness]]
* Arrow of the [[Potion of the Turtle Master|Turtle Master]]
* Arrow of [[Water Breathing]]
* Arrow of [[Weakness]]
* Arrow of [[Slow Falling]]{{only|java}}<!-- bedrock fletchers never sell arrows of slow falling -->
* Arrow of [[Decay]]{{only|bedrock}}
These are all potion effects except Slow Falling {{in|bedrock}} and [[Luck]] {{in|java}}. Trading is the only legitimate way to obtain arrows of Decay in [[Survival]] mode.
=== Bartering ===
Spectral arrows{{only|java}}/normal arrows{{only|bedrock}} can be obtained through [[bartering]] with [[piglin]]s, and have a ~8.71% chance to give the [[player]] 6-12 arrows.
=== Villager gifts ===
{{IN|java}}, any regular or tipped arrow (except for [[luck]] and [[Bad Luck]] arrows) can be obtained as a reward item from [[fletcher]] [[villager]]s when the player has the [[Hero of the Village]] status effect.
=== Crafting ===
{{Crafting
|head=1
|B1= Flint
|B2= Stick
|B3= Feather
|Output = Arrow,4
|type = Combat
|showdescription=1
}}
{{Crafting
|A2= Glowstone Dust
|B1= Glowstone Dust
|B2= Arrow
|B3= Glowstone Dust
|C2= Glowstone Dust
|Output = Spectral Arrow,2
|type = Combat
|description = {{only|java}}
}}
{{Crafting
|foot=1
|description=Arrows of Decay are exclusive to {{el|be}} unless obtained via [[creative]] or [[commands]]. Arrows of luck are exclusive to {{el|je}}. A custom potion obtained via [[commands]] cannot craft arrows with the potion's custom name, lore, or the <code>CustomPotionColor</code>.
|A1= Arrow
|A2= Arrow
|A3= Arrow
|B1= Arrow
|B2= Matching Lingering Potion
|B3= Arrow
|C1= Arrow
|C2= Arrow
|C3= Arrow
|Output = Matching Tipped Arrow,8
|type = Combat
}}
=== Chest loot ===
{{LootChestItem|arrow}}
{{LootChestItem|spectral-arrow}}
=== Retrieving ===
Arrows stuck in a block that were originally shot by dispensers or by players in [[Survival]] without the [[Infinity]] enchantment may be collected. Arrows originally shot by [[skeleton]]s, [[stray]]s, [[illusioner]]s, [[pillager]]s, [[piglin]]s, players in [[Creative]], players using the [[Infinity]] enchantment, or duplicate arrows created by [[Crossbow]]s with the [[Multishot]] enchantment cannot be collected. Arrows cannot be retrieved when they are stuck in a player or mob, and players or mobs do not drop them when killed. Retrievable arrows have a despawn timer of 60 seconds.
=== Cauldrons ===
{{main|Cauldron#Potions}}
{{IN|bedrock}}, tipped arrows can also be obtained by using arrows on [[Cauldron#Potions|cauldrons]] that contain [[potion]]s. The number of tipped arrows created depends on the potion inside the cauldron. When the cauldron is {{frac|1|3}} full, 16 arrows can be tipped. When the cauldron is {{frac|2|3}} full, up to 32 arrows can be tipped and when the cauldron is full, an entire stack of 64 arrows can be tipped. This is more efficient than using lingering potions as up to 21.33 arrows can be tipped per potion.
== Usage ==
{{see also|Bow}}
When fired, arrows fly in a [[wikipedia:Trajectory of a projectile|ballistic trajectory]] affected by gravity and drag in [[air]], [[water]], and [[lava]]. The arrow's velocity is multiplied by 0.99 every game tick, and it also experiences 20 block/s<sup>2</sup> of downward acceleration induced by gravity.
Arrows travel approximately 3 [[block]]s when fired parallel to a flat plane with no charge, 15 blocks average with medium charge, and 24 blocks average with maximum charge. When fired from a fully charged bow, arrows can travel 120 blocks if fired from an optimal angle. The maximum height an arrow fired by a bow can reach is around 66 blocks.
An arrow fired in water experiences much more drag than in air: it moves less than 8 blocks before completely losing horizontal speed and falling straight down, although the knockback of the arrow remains unaffected. It also leaves a trail of bubbles in its wake.
There is a random variable to the trajectory of an arrow, given by <code>this.rand.nextGaussian() * 0.0075 * (double)inaccuracy</code> for the x, y and z coordinate. The inaccuracy is relatively small, becoming noticeable over larger distances. The inaccuracy of different arrow delivery devices may differ. Dispensers fire with an inaccuracy of 6, while bows fire with an inaccuracy of 1.
An arrow's speed determine the damage it inflicts. The damage inflicted is calculated by multiplying the arrow's [[#Entity data|damage value]] with its velocity in blocks per [[Tick#Game tick|game tick]]. When fired from a fully-charged unenchanted bow, arrows do {{hp|6}} of damage, with a smaller chance to damage for up to {{hp|11}} via critical hits. They inflict up to {{hp|5}} damage from a medium-charged bow, and {{hp|1}} from a bow with no charge. Arrows fired from dispensers always do {{hp|3}} of damage unless their velocity is modified by an external source. Arrows fired from [[crossbow]]s do {{hp|6}} to {{hp|11}} of damage.
Arrows trigger [[Damage#Immunity|damage immunity]] on hit. However, unlike other methods of damage that may bypass invulnerability under certain conditions, arrows hitting the mob while it is invulnerable lose all speed and drop to the ground, dealing no damage unless they contact another mob.
[[File:ArrowShotInTree.png|thumb|An arrow shot into a [[tree]].]]
Arrows also stick into objects they come in contact with and remain there for one minute before disappearing; the distance from the object and the angle determine how far into the target the arrow penetrates. Such arrows may be [[#Retrieving|retrieved]].
If the arrow has any custom potion effects (NBT tag <code>CustomPotionEffects</code>), all potion effects, including vanilla potion effects (NBT tag <code>Potion</code>) are removed 30 seconds after the arrow stops moving.
If an arrow is stuck in a block, and that block is broken or disappears (e.g., [[leaves]] upon decay), then the arrow falls straight down and damages entities below, but never deals a critical hit. The 1-minute despawn timer is then refreshed, meaning it will take another minute for the arrow to despawn.
Arrows bounce off players and mobs immune to damage, like a player in Creative mode, a [[wither]] under the "wither armor" effect, and a perching [[ender dragon]].
Arrows shot through [[lava]] or (if there's at least a 2 block gap) [[fire]] catch on fire and show an appropriate animation until they pass through water. Like arrows shot from a bow with the Flame enchantment, they can set other entities they hit on fire for 5 seconds as well as ignite TNT and campfires.
An arrow shot at any kind of boat{{only|java|short=1}} or minecart causes the vehicle to break, dropping any components (including container contents).
Arrows can get visually stuck in players {{in|java}}, although not any mobs. They appear as regular arrows regardless of type.<ref>{{bug|MC-83933|||WAI}}</ref>
<gallery>
Steve got shot.png|Steve got shot.
Alex got shot.png|Alex got shot.
</gallery>
=== Redstone circuits ===
An arrow can activate a wooden [[button]], wooden [[pressure plate]], a [[tripwire]], or a [[target]]. An arrow will continue to power these blocks until it is removed, either due to despawning, or being picked up. Target blocks emit a redstone pulse for one second, as opposed to the static depressed state of the other switches. Non-wooden switches are not affected by arrows.
When arrows are fired into the sides of blocks, they change their orientation to point more downward than their original flight path might indicate. This can cause them to intersect and thus trigger switches above them that they didn't actually hit, or block rails above them.
=== Explosions ===
Arrows are affected by explosions while they are in flight. Since explosions can increase the speed of an arrow, they can also increase the damage dealt by them. {{only|Java}}
== Variants ==
=== Tipped arrows ===
{{See also|#Crafting}}
Tipped arrows are arrows that imbue a potion effect when hitting a mob or player. The duration of the effect is {{frac|1|8}} that of the corresponding potion, if applicable, and is not affected by the power of the arrow. The status effect is the same as the regular power effect for the potion. If a bow is enchanted with [[Infinity]], tipped arrows are still consumed.
The types of arrows are:
<div class="list-style-none" style="-moz-column-width:19em;-webkit-column-width:19em;column-width:19em">
* {{ItemLink|link=none|Arrow of Regeneration}}
* {{ItemLink|link=none|Arrow of Swiftness}}
* {{ItemLink|link=none|Arrow of Fire Resistance}}
* {{ItemLink|link=none|Arrow of Healing}}
* {{ItemLink|link=none|Arrow of Night Vision}}
* {{ItemLink|link=none|Arrow of Strength}}
* {{ItemLink|link=none|Arrow of Leaping}}
* {{ItemLink|link=none|Arrow of Invisibility}}
* {{ItemLink|link=none|Arrow of Poison}}
* {{ItemLink|link=none|Arrow of Weakness}}
* {{ItemLink|link=none|Arrow of Slowness}}
* {{ItemLink|link=none|Arrow of Harming}}
* {{ItemLink|link=none|Arrow of Water Breathing}}
* {{ItemLink|link=none|Arrow of Luck}}{{only|java|short=1}}
* {{ItemLink|link=none|Arrow of Decay}}{{only|bedrock|short=1}}
* {{ItemLink|link=none|Arrow of the Turtle Master}}
* {{ItemLink|link=none|Arrow of Slow Falling}}
</div>
Arrows of Harming (and arrows of Healing when used against undead mobs) do not add a static amount of damage to the arrow.<ref>{{bug|MC-107856||Arrows of harming/healing do not stack with bow damage}}</ref> Instead, the arrow's damage is first calculated, then checked to see if it is below {{Health|12}}. If the arrow's damage is less than 12, the Harming effect of the arrow makes up the difference, to ensure the arrow does exactly {{Health|12}}. Therefore, an unenchanted bow cannot deal more than 12 damage using Harming (or Healing) arrows, as it can deal a maximum of {{Health|11}} damage on level ground. However, if the arrow would deal more than 12 damage, the harming effect is entirely neutralized. This means that bows enchanted with Power I through Power III has a chance to not utilize the arrow at full charge, and any Power level above III never utilizes Arrows of Harming effectively at full charge when against unarmored mobs/players.
==== No-effect tipped arrows ====
It is possible to craft tipped arrows using [[Lingering Potion#Lingering water bottle|Lingering Water Bottles]] as well as Awkward, Thick, and Mundane [[Lingering Potion|Lingering potions]]. If crafted with a water bottle, the arrow is called an arrow of Splashing. If crafted with Mundane, Awkward, or Thick potions, it is called a tipped arrow.<ref>{{bug|MC-158539}}</ref> Tipped arrows crafted from different potions do not stack, as resultant tipped arrows all have different potion tags.
In Bedrock Edition, all four kinds as well as the long mundane tipped arrow aren't obtainable either in creative, by cauldrons, by crafting, or by commands.
All four kinds generate blue particles in flight and upon landing, but otherwise behave like regular arrows. In particular, arrow of Splashing has no effect on fire and campfires and when shot from a bow with the Flame enchantment, can light campfires and TNT just like regular arrows on fire.
{| class="wikitable" style="text-align: center;" data-description="Unused potions"
! Icon
! Name
|-
| {{Slot|Arrow of Splashing|link=none}}
! Arrow of Splashing
|-
| {{Slot|Tipped Arrow|link=none}}
! Tipped Arrow
|}
==== Uncraftable tipped arrows ====
{{IN|java}}, the uncraftable tipped arrow is a tipped arrow with no effect that is unobtainable in regular gameplay. It is available in two variants that don't stack together:
* {{cmd|/give @s minecraft:tipped_arrow{Potion:"minecraft:empty"} }} - arrow assigned an effect placeholder "empty"
* {{cmd|/give @s minecraft:tipped_arrow }} - arrow not assigned any effect.
The uncraftable arrow doesn't differ from regular arrows in behavior when used as a projectile.
{| class="wikitable" style="text-align: center;" data-description="Unused potions"
! Icon
! Name
|-
| {{Slot|Uncraftable Tipped Arrow|link=none}}
! Uncraftable Tipped Arrow
|}
=== Spectral arrows ===
{{exclusive|java}}
A spectral arrow confers the [[Glowing]] status effect for 10 seconds. The Glowing effect creates an outline of the target, which is visible through blocks, and colored based on the target's [[team]] (white by default). Even if a bow is enchanted with [[Infinity]], spectral arrows are still consumed. Spectral arrows can be acquired through [[bartering]] or crafted by combining 4 [[Glowstone Dust#Crafting ingredient|glowstone dust]] with one arrow, yielding 2 spectral arrows.
{| class="wikitable" style="text-align: center;"
! Icon
! Name
|-
| {{Slot|Spectral Arrow|link=none}}
! Spectral Arrow
|}
== Sounds ==
{{edition|java}}:<br>
Arrows and spectral arrows use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|subtitle=Arrow hits
|source=Friendly Creatures
|description=When an arrow impacts something
|id=entity.arrow.hit
|translationkey=subtitles.entity.arrow.hit
|volume=1.0
|pitch={{frac|12|11}} - {{frac|4|3}}
|distance=16}}
{{Sound table
|sound=Succesfull Hit.ogg
|subtitle=Player hit
|source=Players
|description=When an arrow shot by a player hits another player
|id=entity.arrow.hit_player
|translationkey=subtitles.entity.arrow.hit_player
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=3
|sound=Bow shoot.ogg
|subtitle=Arrow fired
|source=Players
|description=When an arrow is fired by a player
|id=entity.arrow.shoot
|translationkey=subtitles.entity.arrow.shoot
|volume=1.0
|pitch=Around 1.2<ref group=sound>Depends on how long the bow is charged for, around 1.2 with a fully charged bow. The exact formula is <math>\frac{1}{\operatorname{randomFloat()}\times 4+1.2}+\frac{\text{progress}}{2}</math> </ref>
|distance=16}}
{{Sound table
|subtitle=Skeleton shoots
|source=Hostile Creatures
|description=When a skeleton shoots an arrow
|id=entity.skeleton.shoot
|translationkey=subtitles.entity.skeleton.shoot
|volume=1.0
|pitch={{frac|5|6}} - 1.25
|distance=16}}
{{Sound table
|subtitle=Dispensed item
|source=Blocks
|description=When a dispenser shoots an arrow
|id=block.dispenser.launch
|translationkey=subtitles.block.dispenser.dispense
|volume=1.0
|pitch=1.2
|distance=16}}
{{Sound table
|sound=Crossbow shoot1.ogg
|sound2=Crossbow shoot2.ogg
|sound3=Crossbow shoot3.ogg
|subtitle=Crossbow fires
|source=Players
|description=When a crossbow shoots an arrow
|id=item.crossbow.shoot
|translationkey=subtitles.item.crossbow.shoot
|volume=0.8 / 0.9
|pitch=0.9 / 1.0
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|source=player
|description=When an arrow impacts something
|id=random.bowhit
|volume=1.0
|pitch=1.09-1.3}}
{{Sound table
|sound=Bow shoot.ogg
|source=player
|description=When something shoots an arrow
|id=random.bow
|volume=1.0
|pitch=0.83-1.25}}
{{Sound table
|sound=Crossbow shoot1.ogg
|sound2=Crossbow shoot2.ogg
|sound3=Crossbow shoot3.ogg
|source=player
|description=When a crossbow shoots an arrow
|id=crossbow.shoot
|volume=1.0
|pitch=1.0
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Arrow
|spritetype=item
|nameid=arrow
|itemtags=arrows
|form=item}}
{{ID table
|displayname=Spectral Arrow
|spritetype=item
|nameid=spectral_arrow
|itemtags=arrows
|form=item}}
{{ID table
|displayname=Tipped Arrow
|spritetype=item
|nameid=tipped_arrow
|itemtags=arrows
|form=item
|translationkey=item.minecraft.tipped_arrow, item.minecraft.tipped_arrow.effect.empty, item.minecraft.tipped_arrow.effect.water, item.minecraft.tipped_arrow.effect.mundane, item.minecraft.tipped_arrow.effect.thick, item.minecraft.tipped_arrow.effect.awkward, item.minecraft.tipped_arrow.effect.night_vision, item.minecraft.tipped_arrow.effect.invisibility, item.minecraft.tipped_arrow.effect.leaping, item.minecraft.tipped_arrow.effect.fire_resistance, item.minecraft.tipped_arrow.effect.swiftness, item.minecraft.tipped_arrow.effect.slowness, item.minecraft.tipped_arrow.effect.water_breathing, item.minecraft.tipped_arrow.effect.healing, item.minecraft.tipped_arrow.effect.harming, item.minecraft.tipped_arrow.effect.poison, item.minecraft.tipped_arrow.effect.regeneration, item.minecraft.tipped_arrow.effect.strength, item.minecraft.tipped_arrow.effect.weakness, item.minecraft.tipped_arrow.effect.levitation, item.minecraft.tipped_arrow.effect.luck, item.minecraft.tipped_arrow.effect.turtle_master, item.minecraft.tipped_arrow.effect.slow_falling
|foot=1}}
{{ID table
|edition=java
|showentitytags=y
|generatetranslationkeys=y
|displayname=Arrow
|spritetype=entity
|nameid=arrow
|entitytags=arrows, impact_projectiles}}
{{ID table
|displayname=Spectral Arrow
|spritetype=entity
|nameid=spectral_arrow
|entitytags=arrows, impact_projectiles
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|notshowbeitemforms=y
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Arrow
|spritetype=item
|nameid=arrow
|id=301
|itemtags=minecraft:arrow
|form=item
|translationkey=item.arrow.name, item.tipped_arrow.name, tipped_arrow.effect.water, tipped_arrow.effect.mundane, tipped_arrow.effect.thick, tipped_arrow.effect.awkward, tipped_arrow.effect.nightVision, tipped_arrow.effect.invisibility, tipped_arrow.effect.jump, tipped_arrow.effect.fireResistance, tipped_arrow.effect.moveSpeed, tipped_arrow.effect.moveSlowdown, tipped_arrow.effect.waterBreathing, tipped_arrow.effect.heal, tipped_arrow.effect.harm, tipped_arrow.effect.poison, tipped_arrow.effect.regeneration, tipped_arrow.effect.damageBoost, tipped_arrow.effect.weakness, tipped_arrow.effect.wither, tipped_arrow.effect.turtleMaster, tipped_arrow.effect.slowFalling
|foot=1}}
{{ID table
|edition=bedrock
|shownumericids=y
|generatetranslationkeys=y
|displayname=Arrow
|spritetype=entity
|nameid=arrow
|id=80
|foot=1}}
=== Metadata ===
{{IN|bedrock}}, arrows use the following item data values:
{{/DV}}
=== Entity data ===
==== Normal and tipped arrows ====
Arrows have entity data that define various properties of the entity.
{{el|java}}:
{{main|Entity format}}
{{/ED}}
{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]].
==== Spectral arrows ====
Spectral arrows also have entity data that define various properties of the entity.
{{el|java}}:
{{main|Entity format}}
{{/ED1}}
{{el|bedrock}}
: See [[Bedrock Edition level format/Entity format]].
== Achievements ==
{{load achievements|Sniper Duel;Archer;Bullseye}}
== Advancements ==
{{load advancements|Take Aim;Sniper Duel;Not Today;Bullseye;Ol' Betsy;Two Birds;Who's the Pillager Now;Arbalistic;How Did We Get Here}}
== Video ==
<div style="text-align:center">{{yt|STQkD1Oa65s}}</div>
== History ==
{{History|java classic}}
{{History||0.24_SURVIVAL_TEST|[[File:Arrow JE1.png|42px]] Arrows have been added as an object and are fired by pressing {{Key|Tab}}.}}
{{History||0.25 SURVIVAL TEST|[[File:Arrow JE2 BE1.png|42px]] The texture of arrows has been changed.
|Arrows now deal more [[damage]], and can damage the player.
|The [[player]] now spawns with 20 arrows; the remaining amount is shown above the hotbar labeled as "Arrows".
|[[File:Purple Arrow JE1.png|42px]] [[Skeleton]]s now fire purple arrows, instead of hitting the [[player]] directly. These arrows can't be collected by the [[player]].
|When a skeleton is killed, it now drops 6-9 normal arrows for the player to gather.}}
{{History||0.29|Arrows can no longer be shot by the player in Creative Mode.}}
{{History|java indev}}
{{History||0.31|snap=20100122|[[File:Arrow (item) JE1 BE1.png|32px]] Arrows have been added as [[item]]s alongside with [[bow]]s.
|The "Arrows" display above the hotbar has been removed.}}
{{History|||snap=20100124|Arrows now have a [[sound]] effect. What this sound effect is is completely unknown; it could be for hitting a block, for being fired or for something else entirely.}}
{{History|||snap=20100128|Arrows can now be [[craft]]ed using [[apple]]s.}}
{{History|||snap=20100129|Arrows can no longer be crafted.}}
{{History|||snap=20100130|Arrows are once again now craftable. Iron is used instead of steel.}}
{{History||20100219|Arrows are now dropped by [[skeleton]]s.}}
{{History|java infdev}}
{{History||20100316|Arrows now have a high chance of spawning either a [[sheep]], a [[pig]], a [[skeleton]], a [[creeper]], a [[spider]], or a [[zombie]] upon hitting a [[block]].
|The player now spawns with 999 arrows.}}
{{History||20100320|The player now spawns with 64 arrows.}}
{{History||20100327|The player no longer spawns with any arrows in new worlds.}}
{{History||20100413|Arrows no longer spawn [[mob]]s.}}
{{History|java alpha}}
{{History||v1.0.14|The tip of an arrow in crafting is now made from [[flint]] rather than an [[iron ingot]].}}
{{History|java beta}}
{{History||1.2|Arrows can now be fired by [[dispenser]]s.}}
{{History||1.6|snap=Test Build 3|Arrows could be used to stick in any [[block]] before this update, even some non-solid ones. For example, they could stick in [[torch]]es, [[sugar cane]] and [[nether portal]]s.}}
{{History||1.8|snap=Pre-release|Arrows can no longer be rapid-fired from [[bow]]s; they must be charged first.
|Arrows (with a bow at full strength) can now travel 120 blocks when fired from the optimal angle, and stick to [[mob]]s.}}
{{History||Sound Update|Arrow firing [[sound]]s have been changed - see sounds section}}
{{History|java}}
{{History||November 21, 2011|link={{ytl|BES9EKK4Aw4}}|Exploding arrows are mentioned.}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Arrows no longer stick to [[mob]]s.
|Arrows remain visible in players.{{verify|then when were they removed? bug fix in 1.4.3 implies it was removed for players as well in this version}}}}
{{History|||snap=RC1|Arrow landing [[sound]]s have been changed.}}
{{History||1.1|snap=release|Arrows on [[fire]] now set the [[entity|entities]] they hit on fire. Before, arrows could be on fire (like other [[entities]]), but they did not set what they hit on fire, and there was no [[enchanting|enchantment]] to fire flaming arrows.}}
{{History||1.3.1|snap=12w21a|Farmer [[villager]]s now [[trading|sell]] 9–12 arrows for 1 [[emerald]].}}
{{History|||snap=12w22a|Arrows can now be found inside [[dispenser]]s in the newly added [[jungle temple]]s.}}
{{History|||snap=12w23a|Arrows can now activate [[tripwire]] switches and wooden [[pressure plate]]s.}}
{{History||1.4.2|snap=12w34a|Arrows can now activate wooden [[button]]s.}}
{{History|||snap=12w34b|Arrows on [[fire]] can now ignite [[TNT]].}}
{{History||1.4.4|snap=1.4.3|Arrows now stick to [[player]]s again, but not [[mob]]s.}}
{{History||1.4.6|snap=pre|Arrows now make a "ding" sound when they hit a player.}}
{{History||1.8|snap=14w02a|Farmer [[villager]]s no longer [[trading|sell]] arrows.
|Fletcher villagers now sell 8–12 arrows for 1 [[emerald]].}}
{{History|||snap=14w25a|An underwater arrow now loses all velocity after a few blocks and slowly falls.
|A flaming arrow underwater now gets extinguished.}}
{{History|||snap=14w26a|Fire arrows can now be used to detonate [[minecarts with TNT]].}}
{{History||1.9|snap=15w31a|[[File:Tipped Arrow Revision 1.png|32px]] [[File:Tipped Arrow MC-84253.png|32px]] Added 14 new tipped arrows. Due to a bug<ref>{{bug|MC-84253}}</ref>, all tipped arrows except arrow of Splashing are black.
|[[File:Spectral Arrow JE1.png|42px]] [[File:Spectral Arrow (item) JE1.png|32px]] Added spectral arrows. They show [[mob]] and [[player]] outlines in their team color when hit. They have no texture when shot.}}
{{History|||snap=15w31b|[[File:Spectral Arrow JE2.png|42px]] Spectral arrows now use their intended texture.<ref>{{bug|MC-82809}}</ref>}}
{{History|||snap=15w32a|[[File:Arrow of Night Vision JE1 BE1.png|32px]] [[File:Arrow of Invisibility JE1 BE1.png|32px]] [[File:Arrow of Leaping JE1 BE1.png|32px]] [[File:Arrow of Fire Resistance JE1 BE1.png|32px]] [[File:Arrow of Swiftness JE1 BE1.png|32px]] [[File:Arrow of Slowness JE1 BE1.png|32px]] [[File:Arrow of Water Breathing JE1 BE1.png|32px]] [[File:Arrow of Healing JE1 BE1.png|32px]] [[File:Arrow of Harming JE1 BE1.png|32px]] [[File:Arrow of Poison JE1 BE1.png|32px]] [[File:Arrow of Regeneration JE1 BE1.png|32px]] [[File:Arrow of Strength JE1 BE1.png|32px]] [[File:Arrow of Weakness JE1 BE1.png|32px]] 13 tipped arrows now have the correct textures.}}
{{History|||snap=15w33c|Added [[shield]]s; though they fully block [[damage]] from arrows, arrows still visually stick into the [[player]].}}
{{History|||snap=15w37a|Arrows now ricochet off of [[shield]]s.}}
{{History|||snap=15w44b|Added the initial method for obtaining tipped arrows, which lasted until snapshot [[16w06a]] – firing arrows into a [[lingering potion]] cloud.
|[[File:Arrow of Luck JE1 BE1.png|32px]] Added the Arrow of [[Luck]].
|[[File:Tipped Arrow Revision 1.png|32px]] [[File:Tipped Arrow Revision 1.png|32px]] [[File:Tipped Arrow Revision 1.png|32px]] [[File:Tipped Arrow Revision 1.png|32px]] Add tipped arrows for uncraftable potions, mundane potions, thick potions, and awkward potions. These are all available in the creative inventory.
|Add tipped arrows for all enhanced and extended potions
|[[File:Tipped Arrow Revision 1.png|32px]] Arrow of Splashing has been added to the creative inventory.}}
{{History|||snap=15w47b|Arrows now ricochet off of [[creative]] mode [[player]]s, whereas before they would pass straight through.}}
{{History|||snap=15w49a|Arrows now take the archer's motion into account. For example, if the player is falling, an arrow fired upward travels slower than if the player was standing still, and an arrow fired downward flies faster.
|Tipped and spectral arrows are no longer affected by the [[Infinity]] [[enchanting|enchantment]].}}
{{History|||snap=16w06a|Tipped arrows have been given a crafting recipe, and are no longer obtained by shooting them into a [[lingering potion]] cloud.}}
{{History||1.10|snap=16w20a|Arrows of [[slowness]] may now drop from [[stray]]s when they are killed by a [[player]].}}
{{History||1.11|snap=16w32a|The [[entity]] IDs have been changed from {{cd|Arrow}} and {{cd|SpectralArrow}} to {{cd|arrow}} and {{cd|spectral_arrow}}.|Tipped arrows of instant healing and instant damage now function. Previously, the fact that tipped arrows have 1/8th the duration was reducing 1 game tick to zero game ticks.}}{{History|||snap=16w42a|Arrows now have a {{cd|crit}} tag that determines whether it deals [[critical hit|critical damage]].}}
{{History||1.11|snap=16w39a|Tipped arrows without effects and the uncraftable tipped arrow have been removed from the creative inventory.<ref name="removed tipped arrow">https://bugs.mojang.com/browse/MC-92139</ref>}}
{{History||1.11.1|snap=16w50a|The arrow [[entity]] now has a {{cd|Color}} integer tag, for displaying the custom [[potion]] color of a fired arrow item that has a {{cd|CustomPotionColor}} tag.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 262, 439 and 440.}}
{{History|||snap=18w07a|[[File:Arrow of the Turtle Master JE1 BE1.png|32px]] Added the Arrow of the Turtle Master.}}
{{History|||snap=18w14a|[[File:Arrow of Slow Falling JE1 BE1.png|32px]] Added the Arrow of [[Slow Falling]].}}
{{History||1.14|snap=18w43a|Arrows are now used as ammo for [[crossbow]]s.
|Arrows can now break [[chorus flower]]s.
|[[File:Uncraftable Tipped Arrow JE2.png|32px]] [[File:Arrow of Splashing JE2.png|32px]] [[File:Arrow of Night Vision JE2 BE2.png|32px]] [[File:Arrow of Invisibility JE2 BE2.png|32px]] [[File:Arrow of Leaping JE2 BE2.png|32px]] [[File:Arrow of Fire Resistance JE2 BE2.png|32px]] [[File:Arrow of Swiftness JE2 BE2.png|32px]] [[File:Arrow of Slowness JE2 BE2.png|32px]] [[File:Arrow of the Turtle Master JE2 BE2.png|32px]] [[File:Arrow of Water Breathing JE2 BE2.png|32px]] [[File:Arrow of Healing JE2 BE2.png|32px]] [[File:Arrow of Harming JE2 BE2.png|32px]] [[File:Arrow of Poison JE2 BE2.png|32px]] [[File:Arrow of Regeneration JE2 BE2.png|32px]] [[File:Arrow of Strength JE2 BE2.png|32px]] [[File:Arrow of Weakness JE2 BE2.png|32px]] [[File:Arrow of Luck JE2 BE2.png|32px]] [[File:Arrow of Slow Falling JE2 BE2.png|32px]] The [[item]] sprite textures of tipped arrows has been changed.
|[[File:Spectral Arrow (item) JE2.png|32px]] The [[item]] sprite texture for spectral arrows has been changed.}}
{{History|||snap=18w47a|Arrows can now be generated inside of [[pillager outpost]] chests.}}
{{History|||snap=18w50a|Arrows can now be found in chests in fletcher houses.}}
{{History|||snap=19w11a|Fletcher [[villager]]s now [[trading|sell]] tipped arrows.}}
{{History|||snap=19w13a|Any regular or tipped arrow can be obtained as a reward [[item]] from fletcher villagers when the [[player]] has the [[Hero of the Village]] status effect.}}
{{History||1.14.1|snap=Pre-Release 2|Flaming arrows can now light [[campfire]]s.}}
{{History||1.16|snap=20w16a|Arrows and spectral arrows now generate in [[bastion remnant]] chests.}}
{{History||1.16.2|snap=20w28a|Spectral arrows can now be obtained through [[bartering]] with [[piglin]]s.}}
{{History|||snap=20w30a|The average yield of spectral arrows from bastion remnant chests have been substantially increased.}}
{{History||1.17|snap=21w11a|[[File:Spectral Arrow JE3.png|42px]] The texture of the spectral arrow is now have been changed.}}
{{History|||snap=21w13a|The unused original texture of the arrow<ref>[[File:Arrow (texture) JE2.png|48px]] <code>/asset/minecraft/textures/entity/arrow.png</code></ref> have been removed.}}
{{History||1.19.3|snap=22w43a|Tipped arrows for mundane, thick, and awkward potions, and the no-effect tipped arrow, are now available again in the Creative inventory.}}
{{History||1.19.4|snap=Pre-release 3|[[File:Arrow of Night Vision JE3.png|32px]] [[File:Arrow of Invisibility JE3.png|32px]] [[File:Arrow of Leaping JE3.png|32px]] [[File:Arrow of Fire Resistance JE3.png|32px]] [[File:Arrow of Swiftness JE3.png|32px]] [[File:Arrow of Slowness JE3.png|32px]] [[File:Arrow of the Turtle Master JE3.png|32px]] [[File:Arrow of Water Breathing JE3.png|32px]] [[File:Arrow of Harming JE3.png|32px]] [[File:Arrow of Poison JE3.png|32px]] [[File:Arrow of Strength JE3.png|32px]] Changed colors of the following tipped arrows: Night Vision, Invisibility, Leaping, Fire Resistance, Swiftness, Slowness, Turtle Master, Water Breathing, Harming, Poison, Strength, Resistance.}}
{{History||1.20|snap=23w12a|Wither [[effect]] particle colors have been adjusted to make them more distinguishable.
|The arrow of [[Slow Falling]] has had its color tweaked to make it more distinguishable from the arrow of [[Invisibility]].}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Arrow (item) JE1 BE1.png|32px]] Added arrows. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.3|[[File:Arrow JE2 BE1.png|42px]] Arrows now serve as ammunition for bows.
|Added skeletons, which drop arrows when they die.
|Arrows are now craftable.}}
{{History||v0.5.0|Arrows can now be obtained after activating the [[nether reactor]].}}
{{History||v0.12.1|snap=build 1|Arrows on [[fire]] now set the [[entity|entities]] they hit on fire. Before, arrows could be on fire (like other entities), but they would not set what they hit on fire, and there was no [[enchantment]] to fire flaming arrows.
|Arrows on fire can now ignite [[TNT]].
|An underwater arrow now loses all velocity after a few [[block]]s and slowly falls.
|Arrows are no longer available from the [[nether reactor]].}}
{{History||v0.13.0|snap=build 1|Arrows now update [[sand]] and [[gravel]].}}
{{History||v0.15.0|snap=build 1|[[File:Arrow of Night Vision JE1 BE1.png|32px]] [[File:Arrow of Invisibility JE1 BE1.png|32px]] [[File:Arrow of Leaping JE1 BE1.png|32px]] [[File:Arrow of Fire Resistance JE1 BE1.png|32px]] [[File:Arrow of Swiftness JE1 BE1.png|32px]] [[File:Arrow of Slowness JE1 BE1.png|32px]] [[File:Arrow of Water Breathing JE1 BE1.png|32px]] [[File:Arrow of Healing JE1 BE1.png|32px]] [[File:Arrow of Harming JE1 BE1.png|32px]] [[File:Arrow of Poison JE1 BE1.png|32px]] [[File:Arrow of Regeneration JE1 BE1.png|32px]] [[File:Arrow of Strength JE1 BE1.png|32px]] [[File:Arrow of Weakness JE1 BE1.png|32px]] Added tipped arrows.
|Tipped arrows are made by using [[cauldron]]s filled with [[potion]]s.
|Arrows can now be found inside [[dispenser]]s in [[jungle temple]]s.}}
{{History||v0.16.0|snap=build 4|[[File:Arrow of Decay BE1.png|32px]] Added the Arrow of [[Wither (status effect)|Decay]].
|Arrows of Decay currently have a white pixelated texture.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Tipped arrows are now [[crafting|craftable]], but they can still be obtained by using [[cauldron]]s filled with [[potion]]s.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Arrows are now [[trading|sold]] by fletcher [[villager]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|The [[entity]] ID has been changed from {{cd|arrow.skeleton}} to {{cd|arrow}}.}}
{{History|||snap=alpha 1.1.0.9|[[File:Arrow of Decay BE2.png|32px]] The texture of arrows of [[Wither (status effect)|Decay]] has been changed.}}
{{History|bedrock}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Arrow of the Turtle Master JE1 BE1.png|32px]] Added the Arrow of the Turtle Master.}}
{{History||1.6.0|snap=beta 1.6.0.5|[[File:Arrow of Slow Falling JE1 BE1.png|32px]] Added the Arrow of [[Slow Falling]].}}
{{History||1.8.0|snap=beta 1.8.0.10|Arrows can now be used as ammo for the new [[crossbow]]s.}}
{{History||1.9.0|snap=beta 1.9.0.0|Added [[pillager]]s, which [[drops|drop]] arrows upon [[death]].}}
{{History|||snap=beta 1.9.0.2|Arrows and tipped arrows can now be used to craft [[fletching table]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Arrow of Night Vision JE2 BE2.png|32px]] [[File:Arrow of Invisibility JE2 BE2.png|32px]] [[File:Arrow of Leaping JE2 BE2.png|32px]] [[File:Arrow of Fire Resistance JE2 BE2.png|32px]] [[File:Arrow of Swiftness JE2 BE2.png|32px]] [[File:Arrow of Slowness JE2 BE2.png|32px]] [[File:Arrow of Water Breathing JE2 BE2.png|32px]] [[File:Arrow of Healing JE2 BE2.png|32px]] [[File:Arrow of Harming JE2 BE2.png|32px]] [[File:Arrow of Poison JE2 BE2.png|32px]] [[File:Arrow of Regeneration JE2 BE2.png|32px]] [[File:Arrow of Strength JE2 BE2.png|32px]] [[File:Arrow of Weakness JE2 BE2.png|32px]] [[File:Arrow of Decay BE3.png|32px]] [[File:Arrow of the Turtle Master JE2 BE2.png|32px]] [[File:Arrow of Slow Falling JE2 BE2.png|32px]] The [[item]] sprite textures of tipped arrows have been changed.
|Arrows can now be found in [[pillager outpost]] chests.
|Arrows can now break [[chorus flower]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Arrows can now be found in [[village]] fletcher [[chest]]s.
|Flaming arrows can now light [[campfire]]s.}}
{{History|||snap=beta 1.11.0.4|Fletcher [[villager]]s now [[trading|sell]] 5 arrows for one [[emerald]].
|Various regular tipped arrows can now be obtained via [[trading]] with fletcher villagers.}}
{{History|||snap=beta 1.11.0.7|Arrow no longer can be used to craft [[fletching table]].}}
{{History||1.12.0|snap=beta 1.12.0.3|Novice-level fletcher villagers now [[trading|sell]] 16 regular arrows instead of 5 arrows.}}
{{History||1.16.0|snap=beta 1.16.0.51|Added [[piglin]]s, which [[drops|drop]] arrows upon [[death]].}}
{{History|||snap=beta 1.16.0.57|Arrows now generate in [[bastion remnants]] chests.
|Master-level fletcher villager now always offer 1 of 15 tipped arrows.
|Piglins no longer drop arrows upon death.}}
{{History||1.16.100|snap=beta 1.16.100.54|Arrows can now be obtained through [[bartering]].}}
{{History||1.19.80|snap=beta 1.19.80.21|Changed potion colors for the following tipped arrows: Fire Resistance, Harming, Invisibility, Leaping, Night Vision, Poison, Slowness, Strength, Swiftness, Turtle Master, and Water Breathing.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Arrow JE2 BE1.png|42px]] [[File:Arrow (item) JE1 BE1.png|32px]] Added arrows.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|An underwater arrow now loses all velocity after a few [[block]]s and slowly falls.
|A flaming arrow underwater now gets extinguished.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|[[File:Arrow of Night Vision JE1 BE1.png|32px]] [[File:Arrow of Invisibility JE1 BE1.png|32px]] [[File:Arrow of Leaping JE1 BE1.png|32px]] [[File:Arrow of Fire Resistance JE1 BE1.png|32px]] [[File:Arrow of Swiftness JE1 BE1.png|32px]] [[File:Arrow of Slowness JE1 BE1.png|32px]] [[File:Arrow of Water Breathing JE1 BE1.png|32px]] [[File:Arrow of Healing JE1 BE1.png|32px]] [[File:Arrow of Harming JE1 BE1.png|32px]] [[File:Arrow of Poison JE1 BE1.png|32px]] [[File:Arrow of Regeneration JE1 BE1.png|32px]] [[File:Arrow of Strength JE1 BE1.png|32px]] [[File:Arrow of Weakness JE1 BE1.png|32px]] [[File:Arrow of Luck JE1 BE1.png|32px]] Added tipped arrows.
|[[File:Spectral Arrow (item) JE1.png|32px]] Added spectral arrows.
|Spectral arrows are currently unobtainable and do not any effects.}}
{{History||xbox=TU57|xbone=CU49|ps=1.56|wiiu=Patch 27|switch=1.0.7|Spectral arrows now have effects but are not craftable. They can be obtained only via inventory editing.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[File:Arrow of Decay BE2.png|32px]] [[File:Arrow of the Turtle Master JE1 BE1.png|32px]] [[File:Arrow of Slow Falling JE1 BE1.png|32px]] Added the Arrow of the [[Wither (status effect)|Decay]], Turtle Master, and [[Slow Falling]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Arrow of Night Vision JE2 BE2.png|32px]] [[File:Arrow of Invisibility JE2 BE2.png|32px]] [[File:Arrow of Leaping JE2 BE2.png|32px]] [[File:Arrow of Fire Resistance JE2 BE2.png|32px]] [[File:Arrow of Swiftness JE2 BE2.png|32px]] [[File:Arrow of Slowness JE2 BE2.png|32px]] [[File:Arrow of Water Breathing JE2 BE2.png|32px]] [[File:Arrow of Healing JE2 BE2.png|32px]] [[File:Arrow of Harming JE2 BE2.png|32px]] [[File:Arrow of Poison JE2 BE2.png|32px]] [[File:Arrow of Regeneration JE2 BE2.png|32px]] [[File:Arrow of Strength JE2 BE2.png|32px]] [[File:Arrow of Weakness JE2 BE2.png|32px]] [[File:Arrow of Luck JE2 BE2.png|32px]] [[File:Arrow of Decay BE3.png|32px]] [[File:Arrow of the Turtle Master JE2 BE2.png|32px]] [[File:Arrow of Slow Falling JE2 BE2.png|32px]] The [[item]] sprite textures of tipped arrows have been changed.
|[[File:Spectral Arrow (item) JE2.png|32px]] The [[item]] sprite texture for spectral arrow has been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Arrow JE2 BE1.png|42px]] [[File:Arrow (item) JE1 BE1.png|32px]] Added arrows.
|[[File:Arrow of Night Vision JE1 BE1.png|32px]] [[File:Arrow of Invisibility JE1 BE1.png|32px]] [[File:Arrow of Leaping JE1 BE1.png|32px]] [[File:Arrow of Fire Resistance JE1 BE1.png|32px]] [[File:Arrow of Swiftness JE1 BE1.png|32px]] [[File:Arrow of Slowness JE1 BE1.png|32px]] [[File:Arrow of Water Breathing JE1 BE1.png|32px]] [[File:Arrow of Healing JE1 BE1.png|32px]] [[File:Arrow of Harming JE1 BE1.png|32px]] [[File:Arrow of Poison JE1 BE1.png|32px]] [[File:Arrow of Regeneration JE1 BE1.png|32px]] [[File:Arrow of Strength JE1 BE1.png|32px]] [[File:Arrow of Weakness JE1 BE1.png|32px]] Added tipped arrows.}}
{{History||1.3.12|[[File:Arrow of Decay BE2.png|32px]] Added arrows of [[Wither (effect)|Decay]].}}
{{History|foot}}
Historical sounds:
{| class="wikitable"
! Sound
! From
! to
! Pitch
|-
| {{sound||Arrow Old.ogg}}
| ?
| ?
| ?
|}
== Issues ==
{{issue list}}
== Trivia ==
* By default, arrows fly slightly offset to the right. If the player stands close to a wall and fires several arrows without moving the crosshair, the arrows cluster around a point slightly to the right of the crosshair. If the player switches their main hand to be the left hand in options, the arrows instead cluster to the left.
* Arrows fired at [[Nether Portal]]s often skip through the portal block completely and fail to collide, thus continuing through to the opposite side of the block.
* Arrows stuck in blocks vibrate upon a world reload.<ref>{{bug|MC-93992}} – "Arrow shakes when world loads" resolved as "Won't Fix"</ref>
* Although [[enderman|endermen]] teleport when hit by any tipped arrow, they are still given the said effects while avoiding arrow damage.
* {{IN|bedrock}}, even if a tipped arrow is blocked with a shield, while the direct damage from the arrows is negated, the player still gets the effect from the tipped arrow.<ref>{{bug|MCPE-52904}}</ref>
== Gallery ==
===Renders===
<gallery>
Arrow (item).png|Arrow
Spectral Arrow (item) JE2.png|Spectral Arrow
</gallery>
;Tipped Arrows
<gallery>
Arrow of Splashing JE2.png|Splashing
Arrow of Night Vision.png|Night Vision
Arrow of Invisibility.png|Invisibility
Arrow of Leaping.png|Leaping
Arrow of Fire Resistance.png|Fire Resistance
Arrow of Swiftness.png|Swiftness
Arrow of Slowness.png|Slowness
Arrow of the Turtle Master.png|Turtle Master
Arrow of Water Breathing.png|Water Breathing
Arrow of Healing.png|Healing
Arrow of Harming.png|Harming
Arrow of Poison.png|Poison
Arrow of Regeneration.png|Regeneration
Arrow of Strength.png|Strength
Arrow of Weakness.png|Weakness
Arrow of Slow Falling.png|Slow Falling
Arrow of Luck.png|Luck
Arrow of Decay.png|Decay
Uncraftable Tipped Arrow JE2.png|Uncraftable
</gallery>
===Other Media===
<gallery>
Tipped Arrow Ultra High Resolution Screenshot.png|Teaser image from [[Searge]] showing tipped arrows.
AllArrowTypes.png|All the arrow types present in [[Minecraft]].
Custom arrows.png|Examples of custom arrow types using {{cmd|/give}}.
Arrow in Sugar Cane.png|Some arrows stick into [[sugar cane]]s. This no longer works since Java Edition Beta 1.6.
Arrow Burning.gif|An arrow caught on [[fire]].
Flaming_stuck_spectral_arrow.png|A flaming spectral arrow stuck in a tree.
arrows_in_player.png|Many arrows stuck in the player, seen through the [[inventory]] screen.
Arrow Debugging.png|[[Searge]] with a bunch of arrows summoned above him.
Inventory Tipped Arrows 1.jpg|Tipped arrows in the inventory.
Inventory Tipped Arrows 2.jpg|Tipped arrows in the inventory.
Inventory Tipped Arrows 3.jpg|Tipped arrows in the inventory.
Inventory Tipped Arrows 4.jpg|Tipped arrows in the inventory.
Tipped Arrow (empty texture) BE1.png|Unused old texture file for an empty tipped arrow on ''Bedrock Edition''.
</gallery>
== References ==
{{reflist}}
{{Items}}
{{Entities}}
[[Category:Combat]]
[[Category:Renewable resources]]
[[de:Pfeil]]
[[es:Flecha]]
[[fr:Flèche]]
[[hu:Nyíl]]
[[it:Freccia]]
[[ja:矢]]
[[ko:화살]]
[[nl:Pijl]]
[[pl:Strzała]]
[[pt:Flecha]]
[[ru:Стрела]]
[[th:ลูกธนู]]
[[zh:箭]]</li><li>[[Spider Eye|Spider Eye]]<br/>{{Item
| title = Spider Eye
| image = Spider Eye.png
| renewable = Yes
| heals = {{Hunger|2}}
|effects={{EffectLink|Poison}} (0:05)
| stackable = Yes (64)
}}
A '''spider eye''' is a poisonous [[food]] and [[brewing]] item.
== Obtaining ==
=== Mob loot ===
==== Spiders ====
[[Spider]]s and [[cave spider]]s have a {{frac|1|3}} chance of dropping a [[spider eye]] when killed by a player or tamed wolf, but not when killed by environmental damage (such as falling). The maximum amount of spider eyes is increased by 1 per level of [[Looting]]. The chance of a spider '''not''' dropping any spider eyes can be found using the formula <code>2 / (Looting Level + 3)</code>. For example, Looting III gives a {{frac|1|3}} chance of not dropping any spider eyes. All other amounts have an equal chance of occurring.
==== Witches ====
[[Witch]]es have a chance of dropping 0–6 spider eyes upon death. This is increased by 3 per level of [[Looting]], for a maximum of 0-15 spider eyes.
=== Chest loot ===
{{LootChestItem|spider-eye}}
== Usage ==
=== Food ===
When [[Food|eaten]], a spider eye restores {{hunger|2}} [[Hunger|hunger points]] and 3.2 [[Hunger#Mechanics|saturation points]], giving a nourishment value of 1.6. It also applies a [[Poison]] [[effect]] lasting 5 seconds to the player, causing {{hp|4|poisoned=1}} damage, which reduces hunger/saturation by 6 points.
=== Crafting ingredient ===
{{crafting usage}}
=== Brewing ingredient ===
{{brewing
|showname=1
|head=1
|Spider Eye
|Mundane Potion
|base=Water Bottle
}}
{{brewing
|foot=1
|Spider Eye
|Potion of Poison
}}
==Sounds==
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Spider Eye
|spritetype=item
|nameid=spider_eye
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Spider Eye
|spritetype=item
|nameid=spider_eye
|id=278
|form=item
|foot=1}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
== Video ==
<div style="text-align:center">{{yt|-PD-wX07TCg}}</div>
== History ==
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes.
|Spider eyes can be used to craft [[fermented spider eye]]s.}}
{{History|||snap=Beta 1.9 Prerelease 3|Spider eyes can now be [[brewing|brewed]] in a [[water bottle]] to create a [[Mundane Potion]], or in an [[Awkward Potion]] to create a [[Potion of Poison]].}}
{{History||1.4.2|snap=12w38b|Spider eyes can now be dropped by [[witch]]es.}}
{{History||1.9|snap=15w44a|Spider eyes can now be found in [[desert pyramid|desert temple]] [[chest]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 375.}}
{{History||1.14|snap=18w43a|[[File:Spider Eye JE2 BE2.png|32px]] The texture of spider eyes has been changed.}}
{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes.|Spider eyes can be used to craft [[fermented spider eye]]s and for [[brewing]].}}
{{History||v0.13.0|snap=build 1|Spider eyes can now be found in [[desert pyramid|desert temple]] [[chest]]s.}}
{{History||v0.14.0|snap=build 1|Spider eyes can now dropped by [[witch]]es.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Spider Eye JE2 BE2.png|32px]] The texture of spider eyes has been changed.}}
{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|[[File:Spider Eye JE2 BE2.png|32px]] The texture of spider eyes has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes.}}
{{History|foot}}
== Issues ==
{{issue list}}
== References ==
{{reflist}}
{{items}}
[[cs:Pavoučí oko]]
[[de:Spinnenauge]]
[[es:Ojo de araña]]
[[fr:Œil d'araignée]]
[[hu:Pókszem]]
[[it:Occhio di ragno]]
[[ja:クモの目]]
[[ko:거미 눈]]
[[nl:Spinnenoog]]
[[pl:Oko pająka]]
[[pt:Olho de aranha]]
[[ru:Паучий глаз]]
[[zh:蜘蛛眼]]
[[Category:Food]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li></ul> | 18w10a | Added buried treasure structures. | |||
| 18w19a | A heart of the sea now generates in buried treasure chests. | ||||
| Bedrock 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>[[Bookshelf|Bookshelf]]<br/>{{About|the bookshelf used with an enchanting table|the bookshelf that can hold books|Chiseled Bookshelf}}
{{Block
|image=Bookshelf.png
|transparent=No
|light=No
|tool=Axe
|renewable=Yes
|stackable=Yes (64)
|flammable=Yes (30)
|lavasusceptible=Yes
}}
'''Bookshelves''' are [[blocks]] that improve [[enchanting|enchantments]] applied with an [[enchanting table]] when placed around one, up to a maximum of fifteen bookshelves, at the expense of [[Enchanting/Levels|level]] requirement.
== Obtaining ==
=== Natural generation ===
Bookshelves can generate in village libraries and sometimes village houses.
[[Stronghold]]s may contain up to two libraries, each of which may be single-level or have an upper balcony. These feature some bookshelves arranged in pillars, and more bookshelves arranged in pillars in the walls. Single-level libraries contain 161 bookshelves, while libraries with balconies contain 233.
Bookshelves also naturally generate in certain [[woodland mansion]] rooms.
=== Breaking ===
Bookshelves can be broken fairly easily by hand, but can be broken faster by using an [[axe]]. In either case, they drop 3 books when broken, allowing the reconstruction of the bookshelf with the addition of six wood planks. When broken by an item that is [[enchanted]] with [[Silk Touch]], a bookshelf drops itself.
{{breaking row|horizontal=1|Bookshelf|Axe}}
=== Crafting ===
{{Crafting
|A1=Any Planks
|B1=Any Planks
|C1=Any Planks
|A2=Book
|B2=Book
|C2=Book
|A3=Any Planks
|B3=Any Planks
|C3=Any Planks
|Output=Bookshelf
|type=Building block
}}
=== Trading ===
Novice-level librarian [[Villager|villagers]] have a 50% chance to sell 1 bookshelf for 9 [[Emerald|emeralds]] as part of their trades.{{only|bedrock}}
Novice-level librarian villagers have a {{frac|2|3}} chance to sell 1 bookshelf for 9 emeralds.{{only|java}}
== Usage ==
=== Enchanting ===
{{main|Enchantment mechanics#Bookshelf placement}}
If an [[enchanting table]] is placed near a bookshelf, glyph [[particles]] fly from the bookshelf toward the enchanting table. Having bookshelves in the proper position near the table allows the table to apply higher-level enchantments.
=== Crafting ingredient ===
{{crafting usage}}
=== Fuel ===
Bookshelves can be used as a [[fuel]] in [[furnace]]s, smelting 1.5 items per block.
=== Villager ===
Librarian [[villager]]s can interact with bookshelves.
=== Note Blocks ===
Bookshelf can be placed under [[note block]]s to produce "bass" sounds.
== Sounds ==
{{Sound table/Block/Wood}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Bookshelf
|spritetype=block
|nameid=bookshelf
|showblocktags=y|blocktags=mineable/axe
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Bookshelf
|spritetype=block
|nameid=bookshelf
|id=47
|foot=1}}
== Achievements ==
{{load achievements|Librarian}}
== History ==
{{History|java classic}}
{{History||October 24, 2009|link=https://notch.tumblr.com/post/221308991/the-new-block-types-and-new-graphics-for-the-gold|Bookshelves were teased by [[Notch]].}}
{{History||0.26 SURVIVAL TEST|[[File:Bookshelf JE1.png|32px]] Added bookshelves.
|Bookshelves are currently impossible to obtain without loading a pre-edited map.
|Bookshelves are currently destroyed in [[explosion]]s.
|When bookshelves are broken, they currently do not drop anything.}}
{{History||0.28|Bookshelves can now be freely placed.}}
{{History|java alpha}}
{{History||v1.0.11|Bookshelves can now be [[crafting|crafted]] from 3 [[book]]s and 6 [[planks]].}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Bookshelves can now be found generated in libraries in [[village]]s, and libraries in [[stronghold]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Bookshelves now drop 3 [[book]]s when broken by a non-[[Silk Touch]] [[item]].
|They are now necessary to [[enchanting|enchant]] with higher levels for better enchanted items.
|The number of bookshelves required to reach the maximum enchantment level is 30.}}
{{History|||snap=Beta 1.9 Prerelease 5|[[File:Bookshelf JE2 BE1.png|32px]] The top texture of bookshelves have now been updated as a result of the [[planks]] texture update.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft bookshelves.}}
{{History||1.3.1|snap=12w21a|Librarian [[villager]]s now [[trading|sell]] 1 bookshelf for 3 [[emerald]]s.}}
{{History|||snap=12w22a|The number of bookshelves required to reach the maximum enchantment level has been now decreased to 15.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft bookshelves.}}
{{History||1.8|snap=14w02a|Librarian villagers now sell 1 bookshelf for 3–4 [[emerald]]s.}}
{{History||1.11|snap=16w39a|Bookshelves now generate in [[woodland mansion]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 47.}}
{{History||1.14|snap=18w43a|[[File:Bookshelf JE3.png|32px]] The texture of bookshelves has now been changed.}}
{{History|||snap=18w47a|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has now been changed, once again.}}
{{History|||snap=19w02a|Bookshelves can now be used to craft [[lectern]]s.}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft bookshelves.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft bookshelves.}}
{{History|pocket alpha}}
{{History||v0.2.1|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves.|Bookshelves are currently obtainable only in [[Creative]] mode.}}
{{History||v0.3.0|Bookshelves are now obtainable in [[Survival]] mode.}}
{{History||v0.9.0|snap=build 1|Bookshelves now naturally spawn in [[stronghold]]s and [[village]]s.}}
{{History||v0.12.1|snap=build 1|Bookshelves can now be used to increase [[enchantment table]] levels.|Bookshelves can now be obtained by using a [[tool]] with the [[Silk Touch]] enchantment.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian [[villager]]s now [[trading|sell]] 1 bookshelf for 3-4 [[emerald]]s as their second tier trade.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Bookshelves now generate in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|Bookshelves can now be used to craft [[lectern]]s.|Bookshelves now get inspected by librarian [[villager]]s.|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, librarian villagers now have a 50% chance to sell a bookshelf for 6 [[emerald]]s as part of their first trade.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves. Whether they actually used this texture is unknown.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves.}}
{{History|foot}}
== Issues ==
{{Issue list}}
== Trivia ==
* Bookshelves' top and bottom textures by default use the same texture as [[oak planks]].
* It takes 90 planks, 45 [[leather]] and 135 [[paper]] to make 15 bookshelves in order to get a level 30 [[enchantment]].
* A bookshelf is the icon for [[Education Edition]].
== Gallery ==
<gallery>
File:Library in Village.png|Naturally occurring bookshelves in a [[village]]. (Before Village & Pillage).
File:Large Stronghold Library.png|Naturally occurring bookshelves in a [[stronghold]].
File:Achievement get! Trading emeralds for bookshelves.png|Bookshelves obtained by [[trading]] with a [[villager]].
File:Enchanting-Table.png|Bookshelves powering an [[enchanting table]].
</gallery>
== References ==
{{Reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/block-week-bookshelf Block of the Week: Bookshelf] – Minecraft.net on December 16, 2016
{{Blocks|Building}}
[[Category:Manufactured blocks]]
[[Category:Natural blocks]]
[[Category:Generated structure blocks]]
[[Category:Utility blocks]]
[[Category:Bedrock Edition]]
[[Category:Java Edition]]
[[Category:Items]]
[[Category:Flammable blocks]]
[[cs:Knihovna]]
[[de:Bücherregal]]
[[es:Librería]]
[[fr:Bibliothèque]]
[[hu:Könyvespolc]]
[[it:Libreria]]
[[ja:本棚]]
[[ko:책장]]
[[nl:Boekenkast]]
[[pl:Biblioteczka]]
[[pt:Estante de livros]]
[[ru:Книжные полки]]
[[th:ชั้นหนังสือ]]
[[uk:Книжкова полиця]]
[[zh:书架]]</li></ul></nowiki> | beta 1.2.14.2 | Added buried treasure structures. | |||
| beta 1.2.20.1 | A heart of the sea now generates in buried treasure chests. | ||||
| Education Edition | |||||
1.4.0{{Extension DPL}}<ul><li>[[:Category:Plants|Category:Plants]]<br/>All pages covering blocks of such things as tall grass and flowers.
[[Category:Blocks]]
[[Category:Items]]
[[cs:Kategorie:Rostliny]]
[[es:Categoría:Plantas]]
[[fr:Catégorie:Plante]]
[[hu:Kategória:Növények]]
[[it:Categoria:Piante]]
[[ja:カテゴリ:植物]]
[[ko:분류:식물]]
[[nl:Categorie:Planten]]
[[pl:Kategoria:Rośliny]]
[[pt:Categoria:Plantas]]
[[ru:Категория:Растения]]
[[th:หมวดหมู่:พืช]]
[[zh:Category:植物]]</li><li>[[Smithing Template|Smithing Template]]<br/>{{for|the block|Smithing Table}}
{{Item
| title = Smithing Template
| image = <gallery>
Netherite Upgrade Smithing Template.png | Netherite Upgrade
Sentry Armor Trim Smithing Template.png | Armor Trim
</gallery>
| rarity = Rare
| renewable = No<!--Smithing templates are not renewable because diamonds, their only other method of creation, are not renewable.-->
| stackable = Yes (64)
}}
'''Smithing templates''' are items used in [[Smithing Table|smithing tables]] to alter [[Tool|tools]] and [[armor]]. They are consumed when used, but can be [[Crafting|duplicated]] using an existing template, its material and [[Diamond|diamonds]].
The sixteen '''armor trim smithing templates''' are found in a variety of [[Generated structures|structures]], and are used to apply various decorative trims (dependent on the variant) to armor using certain minerals.
'''Netherite upgrade smithing templates''' are required to upgrade diamond equipment with [[Netherite Ingot|netherite]]. They are only found in [[Bastion Remnant|bastion remnants]], but are guaranteed only in [[:en:Bastion_Remnant#Treasure_room|treasure rooms]].
== Obtaining ==
Smithing templates can be found in various [[Generated structures|structures]] and can be duplicated by using seven diamonds and a block based on what the template is.
=== Crafting ===
{{Crafting
|A1=Diamond |B1=Matching Smithing Template |C1=Diamond
|A2=Diamond |B2=Netherrack;Cobblestone;Sandstone;End Stone;Terracotta;Terracotta;Netherrack;Cobblestone;Terracotta;Cobbled Deepslate;Blackstone;Purpur Block;Prismarine;Cobblestone;Cobbled Deepslate;Terracotta;Mossy Cobblestone |C2=Diamond
|A3=Diamond |B3=Diamond |C3=Diamond
|Output=Matching Smithing Template,2
}}
{| class="article-table"
|+ Duplication
! Item !! Material
|-
| {{ItemSprite|netherite-upgrade|text=Netherite Upgrade}} || {{BlockSprite|Netherrack|text=Netherrack}}
|-
| {{ItemSprite|sentry-armor-trim|text=Sentry Armor Trim}} || {{BlockSprite|Cobblestone|text=Cobblestone}}
|-
| {{ItemSprite|vex-armor-trim|text=Vex Armor Trim}} || {{BlockSprite|Cobblestone|text=Cobblestone}}
|-
| {{ItemSprite|wild-armor-trim|text=Wild Armor Trim}} || {{BlockSprite|Mossy Cobblestone|text=Mossy Cobblestone}}
|-
| {{ItemSprite|coast-armor-trim|text=Coast Armor Trim}} || {{BlockSprite|Cobblestone|text=Cobblestone}}
|-
| {{ItemSprite|dune-armor-trim|text=Dune Armor Trim}} || {{BlockSprite|Sandstone|text=Sandstone}}
|-
| {{ItemSprite|wayfinder-armor-trim|text=Wayfinder Armor Trim}} || {{BlockSprite|Terracotta|text=Terracotta}}
|-
| {{ItemSprite|raiser-armor-trim|text=Raiser Armor Trim}} || {{BlockSprite|Terracotta|text=Terracotta}}
|-
| {{ItemSprite|shaper-armor-trim|text=Shaper Armor Trim}} || {{BlockSprite|Terracotta|text=Terracotta}}
|-
| {{ItemSprite|host-armor-trim|text=Host Armor Trim}} || {{BlockSprite|Terracotta|text=Terracotta}}
|-
| {{ItemSprite|ward-armor-trim|text=Ward Armor Trim}} || {{BlockSprite|Cobbled Deepslate|text=Cobbled Deepslate}}
|-
| {{ItemSprite|silence-armor-trim|text=Silence Armor Trim}} || {{BlockSprite|Cobbled Deepslate|text=Cobbled Deepslate}}
|-
| {{ItemSprite|tide-armor-trim|text=Tide Armor Trim}} || {{BlockSprite|Prismarine|text=Prismarine}}
|-
| {{ItemSprite|snout-armor-trim|text=Snout Armor Trim}} || {{BlockSprite|Blackstone|text=Blackstone}}
|-
| {{ItemSprite|rib-armor-trim|text=Rib Armor Trim}} || {{BlockSprite|Netherrack|text=Netherrack}}
|-
| {{ItemSprite|eye-armor-trim|text=Eye Armor Trim}} || {{BlockSprite|End Stone|text=End Stone}}
|-
| {{ItemSprite|spire-armor-trim|text=Spire Armor Trim}} || {{BlockSprite|Purpur Block|text=Purpur Block}}
|}
{{IN|bedrock}}, spire, tide, and dune armor trims can be duplicated with more blocks than {{in|java}}. In addition to the normal blocks, Tide armor trims can be duplicated using Prismarine Bricks or Dark Prismarine, dune armor trims can be duplicated with smooth sandstone, cut sandstone, or chiseled sandstone, and spire armor trims can be duplicated with purpur pillars.<ref>{{bug|MCPE-172711||Tide, Spire, and Dune Armor Trims can be crafted from more blocks than in Java Edition}}</ref>
=== Mob loot ===
[[Elder guardian]]s have a 20% chance to drop 1 tide armor trim upon death. [[Looting]] doesn't affect this percentage, and the elder guardian doesn't need to be killed by a player in order for the trim to drop.
=== Chest loot ===
{{#invoke:LootChest|base3|netherite-upgrade-smithing-template,sentry-armor-trim-smithing-template,vex-armor-trim-smithing-template,wild-armor-trim-smithing-template,coast-armor-trim-smithing-template,dune-armor-trim-smithing-template,ward-armor-trim-smithing-template,silence-armor-trim-smithing-template,snout-armor-trim-smithing-template,rib-armor-trim-smithing-template,eye-armor-trim-smithing-template,spire-armor-trim-smithing-template}}
Note: In Woodland Mansions, only chests with random loot have the chance to contain the Vex Smithing Template, chests in the "Allium room", "Sapling farm", "Tree-chopping room" and "Fake End portal room" always generate with the same, room specific, loot.
=== Suspicious block loot ===
Items can only be extracted from [[Suspicious Block|suspicious blocks]] using a [[brush]].{{#invoke:LootChest|base3|wayfinder-armor-trim-smithing-template,raiser-armor-trim-smithing-template,shaper-armor-trim-smithing-template,host-armor-trim-smithing-template}}
== Usage ==
=== Crafting ingredient ===
{{Crafting
|A1=Diamond |B1=Matching Smithing Template |C1=Diamond
|A2=Diamond |B2=Netherrack;Cobblestone;Sandstone;End Stone;Terracotta;Terracotta;Netherrack;Cobblestone;Terracotta;Cobbled Deepslate;Blackstone;Purpur Block;Prismarine;Cobblestone;Cobbled Deepslate;Terracotta;Mossy Cobblestone |C2=Diamond
|A3=Diamond |B3=Diamond |C3=Diamond
|Output=Matching Smithing Template,2
}}
=== Smithing ingredient ===
Smithing templates are used at a [[smithing table]]. Netherite upgrade smithing templates are used to upgrade diamond gear into netherite gear by using a netherite upgrade, a piece of diamond gear, and a [[netherite ingot]].
{{Smithing
|head=1
|ingredients=Netherite Upgrade +<br>Any Diamond Gear +<br>[[Netherite Ingot]]
|Netherite Upgrade
|Diamond Helmet; Diamond Chestplate; Diamond Leggings; Diamond Boots; Diamond Sword; Diamond Pickaxe; Diamond Axe; Diamond Shovel
|Netherite Ingot
|Netherite Helmet; Netherite Chestplate; Netherite Leggings; Netherite Boots; Netherite Sword; Netherite Pickaxe; Netherite Axe; Netherite Shovel
|tail=1
}}
{{FakeImage|{{Animate|Iron_Armor_with_Iron_Shaper_Trim.png; Golden_Armor_with_Golden_Shaper_Trim.png; Diamond_Armor_with_Diamond_Shaper_Trim.png; Netherite_Armor_with_Netherite_Shaper_Trim.png|180px}}|If the armor material and the trimming material are the same, the color palette used for the armor trim is darker.}}
Armor trim smithing templates are used to customize an armor piece's appearance by using a smithing template, an armor piece, and an ingot or crystal ([[emerald]], [[redstone dust]], [[lapis lazuli]], [[amethyst shard]], [[nether quartz]], [[netherite ingot]], [[diamond]], [[gold ingot]], [[iron ingot]], or [[copper ingot]]). Including all dyed leather armor colors and regular armor, there are ≈3.679x10<sup>9</sup> different possible armor pieces<!--5713438 leather colors, plus the 4 other armor materials = 5713442. 5713442 * 161 (the 160 trim combos (16 trims, 10 materials) + untrimmed) = 919864162. 919864162 * 4 (helmet, chestplate, leggings, boots) = 3679456648 ≈ 3.679x10^9-->, and 7.16x10<sup>35</sup> <!--919864162 + 1 (no armor in that slot) = 919864163. 919864163^4 = 715969952015045562662444917041515536 ≈ 7.16x10^35 total possible armor combinations-->total possible armor combinations excluding enchantments and the player not wearing armor.
Already trimmed armor can be trimmed again by applying another template on it; the old trim pattern is overwritten in the process.<ref>{{bug|MC-262538||When combining armor trims the new trim deletes the old one|WAI}}</ref> Therefore, one piece of armor cannot possess multiple trims at the same time.
Most armor trims cover a small portion of the armor piece's surface with the trim material, except for the silence armor trim, which allows the trim material to cover a majority of the armor piece's surface.
All of the trims are purely decorative, and don't impact gameplay or strength of the armor they are applied to in any way. [[Piglin]]s do not pick up any gold-trimmed armor pieces, and they are not pacified by players wearing even a full set of gold-trimmed armor (unless, of course, the armor pieces in question are themselves golden), and netherite-trimmed armor pieces can still be burned by [[fire]].
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br>Any Armor Piece +<br>Any Ingot/Crystal
|Any Armor Trim Smithing Template
|Iron Helmet; Netherite Chestplate;Golden Leggings;Diamond Boots
|Amethyst Shard; Copper Ingot; Diamond; Emerald; Gold Ingot; Iron Ingot; Lapis Lazuli; Nether Quartz; Netherite Ingot; Redstone Dust; Diamond; Emerald
|Amethyst Trim Iron Helmet; Copper Trim Netherite Chestplate; Diamond Trim Golden Leggings; Emerald Trim Diamond Boots; Gold Trim Iron Helmet; Iron Trim Netherite Chestplate; Lapis Trim Golden Leggings; Quartz Trim Diamond Boots; Netherite Trim Iron Helmet; Redstone Trim Netherite Chestplate; Diamond Trim Golden Leggings; Emerald Trim Diamond Boots
|tail=1
}}
;List of color palettes for all materials
*{{ItemSprite|emerald }} - {{TrimPalette| emerald }}
*{{ItemSprite|redstone dust }} - {{TrimPalette| redstone dust }}
*{{ItemSprite|lapis lazuli }} - {{TrimPalette| lapis lazuli }}
*{{ItemSprite|amethyst shard }} - {{TrimPalette| amethyst shard }}
*{{ItemSprite|nether quartz }} - {{TrimPalette| nether quartz }}
*{{ItemSprite|netherite ingot }} - {{TrimPalette| netherite ingot }} (Darker: {{TrimPalette| netherite ingot |darker=1}})
*{{ItemSprite|diamond }} - {{TrimPalette| diamond }} (Darker: {{TrimPalette| diamond |darker=1}})
*{{ItemSprite|gold ingot }} - {{TrimPalette| gold ingot }} (Darker: {{TrimPalette| gold ingot |darker=1}})
*{{ItemSprite|iron ingot }} - {{TrimPalette| iron ingot }} (Darker: {{TrimPalette| iron ingot |darker=1}})
*{{ItemSprite|copper ingot }} - {{TrimPalette| copper ingot }}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Smithing Template
|showforms=y
|generatetranslationkeys=y
|displayname=Netherite Upgrade
|spritename=netherite-upgrade-smithing-template
|spritetype=item
|nameid=netherite_upgrade_smithing_template
|form=item}}
{{ID table
|displayname=Sentry Armor Trim
|spritename=sentry-armor-trim-smithing-template
|spritetype=item
|nameid=sentry_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Vex Armor Trim
|spritename=vex-armor-trim-smithing-template
|spritetype=item
|nameid=vex_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Wild Armor Trim
|spritename=wild-armor-trim-smithing-template
|spritetype=item
|nameid=wild_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Coast Armor Trim
|spritename=coast-armor-trim-smithing-template
|spritetype=item
|nameid=coast_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Dune Armor Trim
|spritename=dune-armor-trim-smithing-template
|spritetype=item
|nameid=dune_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Wayfinder Armor Trim
|spritename=wayfinder-armor-trim-smithing-template
|spritetype=item
|nameid=wayfinder_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Raiser Armor Trim
|spritename=raiser-armor-trim-smithing-template
|spritetype=item
|nameid=raiser_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Shaper Armor Trim
|spritename=shaper-armor-trim-smithing-template
|spritetype=item
|nameid=shaper_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Host Armor Trim
|spritename=host-armor-trim-smithing-template
|spritetype=item
|nameid=host_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Ward Armor Trim
|spritename=ward-armor-trim-smithing-template
|spritetype=item
|nameid=ward_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Silence Armor Trim
|spritename=silence-armor-trim-smithing-template
|spritetype=item
|nameid=silence_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Tide Armor Trim
|spritename=tide-armor-trim-smithing-template
|spritetype=item
|nameid=tide_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Snout Armor Trim
|spritename=snout-armor-trim-smithing-template
|spritetype=item
|nameid=snout_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Rib Armor Trim
|spritename=rib-armor-trim-smithing-template
|spritetype=item
|nameid=rib_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Eye Armor Trim
|spritename=eye-armor-trim-smithing-template
|spritetype=item
|nameid=eye_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Spire Armor Trim
|spritename=spire-armor-trim-smithing-template
|spritetype=item
|nameid=spire_armor_trim_smithing_template
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Smithing Template
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Netherite Upgrade
|spritename=netherite-upgrade-smithing-template
|spritetype=item
|nameid=netherite_upgrade_smithing_template
|id=685
|form=item
|translationkey=item.smithing_template.name, upgrade.netherite_upgrade.name}}
{{ID table
|displayname=Sentry Armor Trim
|spritename=sentry-armor-trim-smithing-template
|spritetype=item
|nameid=sentry_armor_trim_smithing_template
|id=686
|form=item
|translationkey=item.smithing_template.name, trim_pattern.sentry.name}}
{{ID table
|displayname=Vex Armor Trim
|spritename=vex-armor-trim-smithing-template
|spritetype=item
|nameid=vex_armor_trim_smithing_template
|id=692
|form=item
|translationkey=item.smithing_template.name, trim_pattern.vex.name}}
{{ID table
|displayname=Wild Armor Trim
|spritename=wild-armor-trim-smithing-template
|spritetype=item
|nameid=wild_armor_trim_smithing_template
|id=689
|form=item
|translationkey=item.smithing_template.name, trim_pattern.wild.name}}
{{ID table
|displayname=Coast Armor Trim
|spritename=coast-armor-trim-smithing-template
|spritetype=item
|nameid=coast_armor_trim_smithing_template
|id=688
|form=item
|translationkey=item.smithing_template.name, trim_pattern.coast.name}}
{{ID table
|displayname=Dune Armor Trim
|spritename=dune-armor-trim-smithing-template
|spritetype=item
|nameid=dune_armor_trim_smithing_template
|id=687
|form=item
|translationkey=item.smithing_template.name, trim_pattern.dune.name}}
{{ID table
|displayname=Wayfinder Armor Trim
|spritename=wayfinder-armor-trim-smithing-template
|spritetype=item
|nameid=wayfinder_armor_trim_smithing_template
|id=698
|form=item
|translationkey=item.smithing_template.name, trim_pattern.wayfinder.name}}
{{ID table
|displayname=Raiser Armor Trim
|spritename=raiser-armor-trim-smithing-template
|spritetype=item
|nameid=raiser_armor_trim_smithing_template
|id=699
|form=item
|translationkey=item.smithing_template.name, trim_pattern.raiser.name}}
{{ID table
|displayname=Shaper Armor Trim
|spritename=shaper-armor-trim-smithing-template
|spritetype=item
|nameid=shaper_armor_trim_smithing_template
|id=700
|form=item
|translationkey=item.smithing_template.name, trim_pattern.shaper.name}}
{{ID table
|displayname=Host Armor Trim
|spritename=host-armor-trim-smithing-template
|spritetype=item
|nameid=host_armor_trim_smithing_template
|id=701
|form=item
|translationkey=item.smithing_template.name, trim_pattern.host.name}}
{{ID table
|displayname=Ward Armor Trim
|spritename=ward-armor-trim-smithing-template
|spritetype=item
|nameid=ward_armor_trim_smithing_template
|id=690
|form=item
|translationkey=item.smithing_template.name, trim_pattern.ward.name}}
{{ID table
|displayname=Silence Armor Trim
|spritename=silence-armor-trim-smithing-template
|spritetype=item
|nameid=silence_armor_trim_smithing_template
|id=697
|form=item
|translationkey=item.smithing_template.name, trim_pattern.silence.name}}
{{ID table
|displayname=Tide Armor Trim
|spritename=tide-armor-trim-smithing-template
|spritetype=item
|nameid=tide_armor_trim_smithing_template
|id=693
|form=item
|translationkey=item.smithing_template.name, trim_pattern.tide.name}}
{{ID table
|displayname=Snout Armor Trim
|spritename=snout-armor-trim-smithing-template
|spritetype=item
|nameid=snout_armor_trim_smithing_template
|id=694
|form=item
|translationkey=item.smithing_template.name, trim_pattern.snout.name}}
{{ID table
|displayname=Rib Armor Trim
|spritename=rib-armor-trim-smithing-template
|spritetype=item
|nameid=rib_armor_trim_smithing_template
|id=695
|form=item
|translationkey=item.smithing_template.name, trim_pattern.rib.name}}
{{ID table
|displayname=Eye Armor Trim
|spritename=eye-armor-trim-smithing-template
|spritetype=item
|nameid=eye_armor_trim_smithing_template
|id=691
|form=item
|translationkey=item.smithing_template.name, trim_pattern.eye.name}}
{{ID table
|displayname=Spire Armor Trim
|spritename=spire-armor-trim-smithing-template
|spritetype=item
|nameid=spire_armor_trim_smithing_template
|id=696
|form=item
|translationkey=item.smithing_template.name, trim_pattern.spire.name
|foot=1}}
== Achievements ==
{{load achievements|Smithing with style}}
== Advancements ==
{{load advancements|Crafting a New Look;Smithing with Style}}
== Video ==
{{yt|klP9SrJFDU8}}
== History ==
{{History|java}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|[[File:Netherite Upgrade Smithing Template JE1 BE1.png|32px]] [[File:Sentry Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Vex Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Wild Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Coast Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Dune Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Ward Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Tide Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Snout Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Rib Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Eye Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Spire Armor Trim Smithing Template JE1 BE1.png|32px]] Added smithing templates behind the "Update 1.20" experimental datapack.}}
{{History|||snap=23w05a|Smithing templates can be used to trim leather armor.
|Gold, iron, diamond, and netherite armor can be trimmed with their respective material.
|The dune, coast, wild, and sentry armor trims now always generate two templates in a chest when found.
|Increased the chances for all smithing templates that generate in chest loot to spawn:
*Netherite upgrade chance to find increased from 3.2% to 10%.
*Coast chance to find increased from 11.1% to 16.7%.
*Dune chance to find increased from 11.1% to 14.3%.
*Eye chance to find increased from 4.7% to 10% in alter chests, and to 100% in library chests.
*Rib chance to find increased from 4.7% to 6.7%.
*Sentry chance to find increased from 20% to 25%.
*Snout chance to find increased from 4.7% to 8.3%.
*Spire chance to find increased from 4.7% to 6.7%.
*Vex chance to find increased from 4.7% to 50%.
*Ward chance to find increased from 4.7% to 5%.
*Wild chance to find increased from 20% to 33%.}}
{{History||1.20|snap=23w12a|Smithing templates are now available without using the "Update 1.20" experimental datapack.|[[File:Wayfinder Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Raiser Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Shaper Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Host Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Silence Armor Trim Smithing Template JE1 BE1.png|32px]] Added wayfinder, raiser, shaper, host, and silence armor trim smithing templates.
|[[File:Sentry Armor Trim Smithing Template JE2 BE2.png|32px]] [[File:Dune Armor Trim Smithing Template JE2 BE2.png|32px]] Changed the textures of the sentry and dune armor trim smithing templates.
|The pattern textures of dune and sentry armor trims are changed from [[File:Armor Trim Dune (sample model) JE1 BE1.png|24px]] [[File:Armor Trim Sentry (sample model) JE1 BE1.png|24px]] to [[File:Armor Trim Dune (sample model) JE2 BE2.png|24px]] [[File:Armor Trim Sentry (sample model) JE2 BE2.png|24px]].<br>
Those previous patterns were left with different names: dune was renamed sentry and sentry was renamed shaper.}}
{{History|||snap=23w16a|Wayfinder, raiser, shaper, and host armor trim no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; wayfinder, raiser, shaper, and host armor trim now are in the rare loot.}}
{{History|||snap=23w17a|The probability of the wayfinder, raiser, shaper, and host armor trim to generate in [[suspicious gravel]] in [[trail ruins]] has been changed from 1/11 to 1/12.|The player now get the [[advancement]] "Crafting a new look" when they craft a trimmed armor at a [[smithing table]] using a smithing template, "Smithing with style" when they apply these smithing templates at least once on their armor: Spire, Snout, Rib, Ward, Silence, Vex, Tide, and Wayfinder.}}
{{History|bedrock}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|[[File:Netherite Upgrade Smithing Template JE1 BE1.png|32px]] [[File:Sentry Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Vex Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Wild Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Coast Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Dune Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Ward Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Tide Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Snout Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Rib Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Eye Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Spire Armor Trim Smithing Template JE1 BE1.png|32px]] Added smithing templates behind the "[[Bedrock Edition 1.20.0|Next Major Update]]" [[experimental]] toggle.}}
{{History|||snap=beta 1.19.80.22|[[File:Wayfinder Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Raiser Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Shaper Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Host Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Silence Armor Trim Smithing Template JE1 BE1.png|32px]] Added wayfinder, raiser, shaper, host, and silence armor trim smithing templates.
|[[File:Sentry Armor Trim Smithing Template JE2 BE2.png|32px]] [[File:Dune Armor Trim Smithing Template JE2 BE2.png|32px]] Changed the textures of the sentry and dune armor trim smithing templates.
|The pattern textures of dune and sentry armor trims are changed from [[File:Armor Trim Dune (sample model) JE1 BE1.png|24px]] [[File:Armor Trim Sentry (sample model) JE1 BE1.png|24px]] to [[File:Armor Trim Dune (sample model) JE2 BE2.png|24px]] [[File:Armor Trim Sentry (sample model) JE2 BE2.png|24px]].<br>
Those previous patterns were left with different names: dune was renamed sentry and sentry was renamed shaper.}}
{{History||1.20.0|snap=beta 1.20.0.21|Smithing templates are now available without using the "Next Major Update" experimental toggle.}}
{{History|foot}}
== Issues ==
{{Issue list}}
== Trivia ==
* Smithing templates were named "Smithing Blueprints" in the prototype but was changed because the word "blueprint" sounded modern and technical.<ref>{{ytl|klP9SrJFDU8|Minecraft 1.20: Armor Trims - What Do They Mean?|Minecraft|May 4, 2023|t=98}}</ref>
* When Mojang developer Gnembon was working on armor trims, he accidentally messed up their rendering, making them jet through the player's body in a weird fashion, similar to what appears in {{w|Salvador Dalí}}'s paintings where a hand might poke through a forehead.<ref>{{ytl|ghQODkq4ITI|Mojang Dev Comes To Hermitcraft! (Mojang Developer Gnembom Interview)|GoodVodsWithScar|June 23, 2023|t=1980}}</ref>
* Some of the armor trims feature patterns based on a [[mob]] or [[block]] that is found in the same [[Generated structures|structure]] as the corresponding smithing template.<ref name=":0">"Some of the armor trims reflect the place where you found the template, for example bastions contain a piglin-inspired trim."-[[Sofia Dankis]]-{{Mcnet|armor-trims-coming-minecraft-1-20|Armor Trims Coming to Minecraft 1.20|January 24, 2023}}</ref>
** The spire armor trim resembles a [[shulker]].
** The vex armor trim resembles an [[evoker]]. As an item in the [[inventory]], it resembles the wing or the vein texture of a [[vex]].
** The wild armor trim has moss growing on 3 of its corners.
** The coast armor trim appears to have barnacles attached to it.
** The ward armor trim, as an item in the inventory, resembles the faces inside a [[warden]]'s chest.
** The silence armor trim appears to have sculk creeping onto / infecting it.
** The tide armor trim resembles [[Prismarine|prismarine bricks]].
** The snout armor trim resembles a [[piglin]]<ref name=":0" />.
** The rib armor trim resembles a [[wither skeleton]].
** The eye armor trim resembles an [[eye of ender]]. There are also two eyes on the head part of the armor trim that resemble those of an [[enderman]].
* ''Netherite upgrade smithing template'' (35 characters with "_" and 32 characters without "_") and ''sentry armor trim smithing template'' (35 characters with "_" and 31 characters without "_") are the current longest name for item ID, while ''[[polished blackstone pressure plate]]'' and ''[[cracked polished blackstone bricks]]'' have 34 characters with "_" and 31 characters without "_".
* The silence armor trim is the rarest trim, due to being found in ancient cities in the deep dark, and having only a 1.2% chance to be per chest.
* When [[lapis lazuli]] is used as trim material, it is called "Lapis" instead of its full name "Lapis Lazuli"; this is the only instance of the abbreviation "Lapis" being used in-game.<ref>{{bug|MC-262486|||WAI}}</ref>
== Gallery ==
=== Sprites ===
<gallery>
Netherite Upgrade Smithing Template.png|Netherite Upgrade
Sentry Armor Trim Smithing Template.png|Sentry Armor Trim
Vex Armor Trim Smithing Template.png|Vex Armor Trim
Wild Armor Trim Smithing Template.png|Wild Armor Trim
Coast Armor Trim Smithing Template.png|Coast Armor Trim
Dune Armor Trim Smithing Template.png|Dune Armor Trim
Wayfinder Armor Trim Smithing Template.png|Wayfinder Armor Trim
Raiser Armor Trim Smithing Template.png|Raiser Armor Trim
Shaper Armor Trim Smithing Template.png|Shaper Armor Trim
Host Armor Trim Smithing Template.png|Host Armor Trim
Ward Armor Trim Smithing Template.png|Ward Armor Trim
Silence Armor Trim Smithing Template.png|Silence Armor Trim
Tide Armor Trim Smithing Template.png|Tide Armor Trim
Snout Armor Trim Smithing Template.png|Snout Armor Trim
Rib Armor Trim Smithing Template.png|Rib Armor Trim
Eye Armor Trim Smithing Template.png|Eye Armor Trim
Spire Armor Trim Smithing Template.png|Spire Armor Trim
</gallery>
=== Armor trim patterns ===
<gallery>
Armor Trim Sentry (sample model).png|Sentry Armor Trim
Armor Trim Vex (sample model).png|Vex Armor Trim
Armor Trim Wild (sample model).png|Wild Armor Trim
Armor Trim Coast (sample model).png|Coast Armor Trim
Armor Trim Dune (sample model).png|Dune Armor Trim
Armor Trim Wayfinder (sample model).png|Wayfinder Armor Trim
Armor Trim Raiser (sample model).png|Raiser Armor Trim
Armor Trim Shaper (sample model).png|Shaper Armor Trim
Armor Trim Host (sample model).png|Host Armor Trim
Armor Trim Ward (sample model).png|Ward Armor Trim
Armor Trim Silence (sample model).png|Silence Armor Trim
Armor Trim Tide (sample model).png|Tide Armor Trim
Armor Trim Snout (sample model).png|Snout Armor Trim
Armor Trim Rib (sample model).png|Rib Armor Trim
Armor Trim Eye (sample model).png|Eye Armor Trim
Armor Trim Spire (sample model).png|Spire Armor Trim
</gallery>
=== Official Artwork ===
<gallery>
T&T Thumbnail.jpg|[[Sunny]] wearing amethyst armor trims.
Warden Chasing Alex with Silence Trim Pixel Art.png|A [[warden]] chasing Alex holding the silence armor trim.
Alex Trimming Armor in Smithing Table Pixel Art.png|Alex adding the silence armor trim and amethyst on iron armor.
Alex Wearing Iron Armor with Amethyst Pixel Art.jpg|Alex wearing the trimmed iron armor.
File:Live2023-01.jpeg|Noor working on trimmed iron armor.
</gallery>
=== Screenshots ===
<gallery>
Kingbdogz Armor Trim 1.jpg|Redstone trims on diamond armor.
Kingbdogz Armor Trim 2.jpg|Gold trims on netherite armor.
Too Many Trims.jpg|A large amount of armor trims.
Kingbdogz Armor Trim 3.jpg|Gold on netherite.
Kingbdogz Armor Trim 4.jpg|Diamond on diamond.
New Armor Trims in 23W12A.jpg|<ref>{{Tweet|kingbdogz|1638580472962850831|new trims got the drip The new "Silence" armor trim to the left is now the hardest trim to get, with only a 1% chance per chest to spawn in Ancient Cities. Definitely gonna be a challenge to get!|March 22, 2023}}</ref>
Emerald Armor.png|Emerald on gold.
Xilefian Armor Trims 1.png|[[Xilefian]] showing how armor trims work.
Xilefian Armor Trims 2.png|[[Xilefian]] showing how armor trims work.
Xilefian Armor Trims 3.png|[[Xilefian]] showing how armor trims work.
Armor Trims On Netherite Armors.png|A display of all eleven (before [[Java Edition 23w12a]]) armor trims and ten colors on netherite armors.
Armor Trim Showcase.png|A display of all eleven (before [[Java Edition 23w12a]]) armor trims, on netherite armor using emerald as the trim material.
Armor Trim Colors.png|A display of all ten armor trim colors, using the ward trim on a netherite helmet.
Silence Armor Trim on All Armors.png|A display of all ten colors of the silence armor trim on all armors.
Image 2023-06-07 154100087.png|A screenshot of every armor trim in every color(besides quartz) on leather armor.
Armor Trim Friends.jpg|Official screenshot of [[Alex]] and [[Zuri]] wearing armor trims.
LadyAgnes Armor Trims.jpg|Copper trims on netherite armor.
Trim Lineup.jpg
Fancy Delta.jpg|[[Kai]] wearing trimmed armor in a [[Basalt Delta]].
Trims & Pots.jpg
Noor Gold Armor Trim .jpeg
Noor Diamond Armor Trim.jpeg
Noor Netherite Armor Trim.jpeg
Noor Iron Armor Trim.jpeg
</gallery>
== References ==
{{Reflist}}
{{Items}}
[[Category:Bedrock Edition]]
[[Category:Non-renewable resources]]
[[de:Schmiedevorlage]]
[[es:Molde de herrería]]
[[fr:Modèle de forge]]
[[ja:鍛冶型]]
[[pl:Szablon kowalski]]
[[pt:Molde de ferraria]]
[[ru:Кузнечный шаблон]]
[[uk:Ковальський шаблон]]
[[zh:锻造模板]]</li></ul> | Added buried treasure structures, with a heart of the sea being able to generate in them. | ||||
| Legacy Console Edition | |||||
| TU69 | CU57 | 1.76 | Patch 38 | Added 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 treasure are the smallest naturally-occurring structures in the game.
Gallery
A dug-up chest in a buried treasure structure that barely generated on land.
Buried treasure generated on land under a village.
A buried treasure dug up from the sand.
Odd generation
A buried treasure generated naturally on land above the ground, close to a shipwreck.
A buried treasure chest that generated exposed in a mountain.
A buried treasure chest exposed in an oceanic hillside in Java Edition.
A buried treasure generated naturally on a woodland mansion.
Notes
- ↑ Random loot; loot table for Java Edition is different from the one in Bedrock Edition and Minecraft Education
- ↑ If the chest generates in an underwater mountain.
- ↑ If the chest generates under a cold ocean floor/beach.
- ↑ If the chest generates under a warm ocean floor/beach.
- ↑ If the chest generates under a warm ocean floor/beach under sand layer and above stone layer.
- ↑ A generated chest exposed to water is always waterlogged.
References
- ↑ "Minecraft Snapshot 18w10a" – Minecraft.net, March 6, 2018









