Minecraft Wiki
Register
Advertisement
For the enchantment in Minecraft Dungeons, see MCD:Thorns.

Thorns is an armor enchantment that causes attackers to be damaged when they deal damage to the wearer.

Guardians and elder guardians have a Thorns-like effect which inflicts damage when their spikes are out. However, this only affects melee damage, whereas the enchantment applies to all direct attacks, including ranged.

Usage[]

While wearing any piece of armor with the Thorns enchantment, the wearer has a Level × 15% chance of inflicting 1♥–4♥♥ damage on anyone who attacks them, regardless of whether they were hit by a melee attack, arrow, or other projectile. If the entity dies as a result of this damage, the death message, <player> was killed trying to hurt <entity> is displayed. The entity also gets knocked back when being attacked by the enchantment.‌[JE only][1]

Multiple worn armor items with the Thorns enchantment do stack. Each piece confers an independent chance to deal damage to the attacker as described above. The total amount of damage that can be dealt this way is capped at 4♥♥.

Probabilities of inflicting maximum damage and average damage dealt depending on the number of items with Thorns III worn are as follows:

Items with Thorns III Probability of max. damage 4♥♥ Average damage dealt
1 11.25% 1.125♥ × 0.5625
2 28.83% 1.997♥ × 0.9985
3 46.33% 2.637♥ × 1.3185
4 61.18% 3.09♥ × 1.545

Thorns applies a durability penalty to the armor. It reduces durability by an additional 2 points when inflicting damage. If multiple armor pieces are enchanted with Thorns, the durability penalty is applied to one piece chosen at random, regardless of what level of Thorns that piece has. If the item is also enchanted with Unbreaking, the damage penalty has a chance of being ignored.

If a projectile is launched toward an opponent equipped with Thorns, using a shield damages the shield instead of the player when the projectile hits the opponent.

Using commands, the enchantment level can be increased. The maximum possible chance of dealing damage is 100% (at level 7). If the level of Thorns exceeds 10, then it deals Level - 10 damage.

In Java Edition although horse armor cannot be enchanted in Survival, the Thorns enchantment can be applied to horse armor in Creative and it works.

Obtaining[]

In addition to normal enchanting, Thorns I and II can be obtained naturally from drops, fishing, trading with a villager or as loot from generated structures.

Thorns III cannot be directly obtained using an enchanting table, but can be obtained by using an anvil to combine two Thorns II enchantments. It is also possible to obtain Thorns III as a rare trade from a Librarian.

A Thorns III enchanted book can be found within the following structures:

Underground structures

Underwater structures

Aboveground structures

Miscellaneous structures

Pieces of armor enchanted with Thorns III can be found within the following structures:

Underwater structures

Small structures

The Nether

The End

Unaffected mobs[]

Evoker fangs,[2] llamas,[3] goats[4] and wardens with sonic boom attacks are not affected by this enchantment.[5]

Sounds[]

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Thorns prickPlayersWhen a player[more information needed] is damaged by something with Thornsenchant.thorns.hitsubtitles.enchant.thorns.hit1.0 [sound 1]0.8-1.216
  1. Dependent upon the entity being damaged, but it is usually 1.0

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
PlayersWhen an entity is damaged by something with Thorns[upcoming: BE 1.20.30][sound 1]damage.thorns0.51.0
  1. MCPE-37335 — resolved as "Invalid".

Data values[]

ID[]

Java Edition:

NameIdentifierTranslation key
Thornsthornsenchantment.minecraft.thorns

Bedrock Edition:

NameIdentifierNumeric ID Translation key
Thornsthorns5enchantment.thorns

Video[]

History[]

Java Edition
1.4.6
{{Extension DPL}}<ul><li>[[Glow Stick|Glow Stick]]<br/>{{stub}}
{{education feature}}
{{Exclusive|Bedrock|Education}}
{{Item
| image = White Glow Stick.png
| extratext = View [[#Gallery|all renders]]
| renewable = No
| durability = 95
| stackable = No
}}
'''Glow sticks''' are [[Chemistry Update|chemistry]]-related [[item]]s, which can be lit up in the player's hand for a limited time.

== Obtaining ==
{{iN|be}}, glow sticks cannot be obtained by the {{cmd|give}} command. They also cannot be obtained in [[Survival]]. Cheats must be enabled to obtain glow sticks in Survival mode, or in [[Minecraft Education]].

=== Crafting ===

{{Crafting
|showdescription=1
|ingredients=[[Polyethylene]] +<br>[[Hydrogen Peroxide]] +<br>Matching [[Dye]] +<br>[[Luminol]]
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= White Dye; Orange Dye; Magenta Dye; Light Blue Dye; Yellow Dye; Lime Dye; Pink Dye; Gray Dye; Cyan Dye; Purple Dye; Blue Dye; Brown Dye; Green Dye; Red Dye
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= Matching Glow Stick
|description={{only|bedrock|education}}
|type= Miscellaneous
}}

<div style="display:none">

<!--
    This is so the pre-Village & Pillage dyes can have dye-related crafting recipes show on their respective pages.
    They don't need to be displayed on this page because they already intuitively list "Any Matching Dye".
-->

{{Crafting
|showdescription=1
|ingredients=[[Polyethylene]] +<br>[[Hydrogen Peroxide]] +<br>Matching [[Dye]] +<br>[[Luminol]]
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= Bone Meal; Lapis Lazuli; Cocoa Beans  
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= White Glow Stick; Blue Glow Stick; Brown Glow Stick
|description={{only|bedrock|Education}}
|type= Miscellaneous
}}
</div>

== Usage ==

While equipped, [[player]]s can {{control|use}} glow sticks to shake them, causing them to appear bright regardless of the [[light]] level. This is only an aesthetic change, as no light is emitted to the surrounding area. A [[particle]] effect is visible until the [[durability]] runs out. The glow stick's durability depletes while lit{{Info needed}}, in both Survival and Creative modes.

== Sounds ==
{{Sound table
|type=bedrock
|sound=Flint and steel click.ogg
|source=block
|description=While a glowstick is being activated
|id=fire.ignite
|volume=1.0
|pitch=0.5/0.7
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glow Stick
|spritename=glow-sticks
|spritetype=item
|nameid=glow_stick
|id=601
|form=item
|translationkey=item.glow_stick.black.name,item.glow_stick.red.name,item.glow_stick.green.name,item.glow_stick.brown.name,item.glow_stick.blue.name,item.glow_stick.purple.name,item.glow_stick.cyan.name,item.glow_stick.silver.name,item.glow_stick.gray.name,item.glow_stick.pink.name,item.glow_stick.lime.name,item.glow_stick.yellow.name,item.glow_stick.lightBlue.name,item.glow_stick.magenta.name,item.glow_stick.orange.name,item.glow_stick.white.name
|foot=1}}

===Metadata===
{{/DV}}

===Item data===

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

== History ==

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:White Glow Stick.png|32px]] [[File:Orange Glow Stick.png|32px]] [[File:Magenta Glow Stick.png|32px]] [[File:Light Blue Glow Stick.png|32px]] [[File:Yellow Glow Stick.png|32px]] [[File:Lime Glow Stick.png|32px]] [[File:Pink Glow Stick.png|32px]] [[File:Gray Glow Stick.png|32px]] [[File:Cyan Glow Stick.png|32px]] [[File:Purple Glow Stick.png|32px]] [[File:Blue Glow Stick.png|32px]] [[File:Brown Glow Stick.png|32px]] [[File:Green Glow Stick.png|32px]] [[File:Red Glow Stick.png|32px]] Added glow sticks.}}
{{History||1.14.60|snap=?|Making a glow stick results in an edible item called {{code|item.glow_stick.black.name}}.}}
{{History||?|Making a glow stick results in correct items again.
|Making a glow stick with dye has been made an upgrade{{info needed|what is this supposed to mean?}}
|Putting 2 glow sticks in a Crafting Table now outputs a correct glow stick.}}
{{History||1.17.0|snap=?|[[File:Missing Glow Stick.png|32px]] Two black glow sticks, using the [[missing texture]] if Education Edition is disabled, now generate in fake end portal rooms in [[mansion]]s instead of [[ender pearl]]s.}}
{{h||1.18.0|snap=beta 1.18.0.21|Glow sticks no longer generate in [[woodland mansion]]s.}}

{{History|education}}
{{History||1.0.27|[[File:White Glow Stick.png|32px]] [[File:Orange Glow Stick.png|32px]] [[File:Magenta Glow Stick.png|32px]] [[File:Light Blue Glow Stick.png|32px]] [[File:Yellow Glow Stick.png|32px]] [[File:Lime Glow Stick.png|32px]] [[File:Pink Glow Stick.png|32px]] [[File:Gray Glow Stick.png|32px]] [[File:Cyan Glow Stick.png|32px]] [[File:Purple Glow Stick.png|32px]] [[File:Blue Glow Stick.png|32px]] [[File:Brown Glow Stick.png|32px]] [[File:Green Glow Stick.png|32px]] [[File:Red Glow Stick.png|32px]] Added glow sticks.}}
{{History|foot}}

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

== Trivia ==
* The glowing reaction of [[Wikipedia:Luminol|Luminol]] during oxidation exists in real life. It is used for detecting blood in crime scenes.
* Players cannot enchant glow sticks with Unbreaking or Mending, despite the items having [[durability]].
* The black and light gray glow sticks use the same texture as the red glow stick.{{verify|It seems they use the missing texture instead. Was this the case beforehand, and they only started using the missing texture later?}}

== Issues ==
{{issue list}}

{{items}}
{{Education Edition}}

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

[[de:Knicklicht]]
[[ja:ケミカルライト]]
[[ko:발광봉]]
[[pt:Graveto Brilhante]]
[[ru:Химический источник света]]
[[zh:荧光棒]]</li><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image = 
| image2 = 
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;Calculating signal strength from items

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

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

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

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

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

;Calculating items from signal strength

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

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

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

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

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

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

;{{BlockLink|Cake}}

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

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

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

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

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

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

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

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

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

;{{BlockLink|End Portal Frame}}

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

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

;{{EntityLink|Item Frame}}

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

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

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

;{{BlockLink|Jukebox}}

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

;{{BlockLink|Lectern}}

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

;{{BlockLink|Respawn Anchor}}

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

;{{BlockLink|Sculk Sensor}}

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

;{{BlockLink|Chiseled Bookshelf}}

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

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

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

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

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

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

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

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

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

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

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

== Video ==

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

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

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

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki>
12w50aAdded Thorns.
1.9
{{Extension DPL}}<ul><li>[[Pottery Sherd|Pottery Sherd]]<br/>{{Item
| image=Angler Pottery Sherd.png
| extratext = View [[#Items|all items]]
| renewable = No
| stackable = Yes (64)
}}
<!-- IT IS SHERD, NOT SHARD! DO NOT CHANGE TO SHARD, AS IT IS NAMED SHERD IN-GAME! -->
'''Pottery sherds'''<ref group="note">The word "[[wiktionary:sherd#English|sherd]]" or "[[wiktionary:potsherd#English|potsherd]]" is used by archaeologists to refer to fragments of pottery or other ceramics in order to differentiate them from "shards" of glass, metal, minerals and other materials.
</ref> are a set of twenty [[item]]s used to craft [[decorated pot]]s with ornamental designs. They can be obtained only by [[brush]]ing [[suspicious block]]s, with the variants of sherd obtainable being dependent on the structure.

== Obtaining ==

=== Breaking ===
When a [[decorated pot]] is broken with a [[pickaxe]], [[axe]], [[shovel]], [[hoe]] or [[sword]] that is ''not'' enchanted with [[Silk Touch]], it drops all of the pottery sherds and [[brick]]s used to craft it.

=== Suspicious block loot ===
Pottery sherds can be found as [[suspicious block]] loot in [[trail ruins]], [[ocean ruins]], [[desert pyramids]] and [[desert well]]s, and can be extracted from these blocks using a [[brush]].

{{#invoke:LootChest|base3|angler-pottery-sherd,archer-pottery-sherd,arms-up-pottery-sherd,blade-pottery-sherd,brewer-pottery-sherd,burn-pottery-sherd,danger-pottery-sherd,explorer-pottery-sherd,friend-pottery-sherd,heart-pottery-sherd,heartbreak-pottery-sherd,howl-pottery-sherd,miner-pottery-sherd,mourner-pottery-sherd,plenty-pottery-sherd,prize-pottery-sherd,sheaf-pottery-sherd,shelter-pottery-sherd,skull-pottery-sherd,snort-pottery-sherd}}

== Usage ==
=== Crafting ingredient ===
{{Crafting
|ingredients=Any Pottery Sherd or [[Brick]]
|B1= Any Pottery Sherd
|A2= Any Pottery Sherd |C2= Any Pottery Sherd
|B3= Any Pottery Sherd
|Output= Decorated Pot
|type= Decoration block
}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Angler Pottery Sherd
|spritetype=item
|nameid=angler_pottery_sherd
|form=item}}
{{ID table
|displayname=Archer Pottery Sherd
|spritetype=item
|nameid=archer_pottery_sherd
|form=item}}
{{ID table
|displayname=Arms Up Pottery Sherd
|spritetype=item
|nameid=arms_up_pottery_sherd
|form=item}}
{{ID table
|displayname=Blade Pottery Sherd
|spritetype=item
|nameid=blade_pottery_sherd
|form=item}}
{{ID table
|displayname=Brewer Pottery Sherd
|spritetype=item
|nameid=brewer_pottery_sherd
|form=item}}
{{ID table
|displayname=Burn Pottery Sherd
|spritetype=item
|nameid=burn_pottery_sherd
|form=item}}
{{ID table
|displayname=Danger Pottery Sherd
|spritetype=item
|nameid=danger_pottery_sherd
|form=item}}
{{ID table
|displayname=Explorer Pottery Sherd
|spritetype=item
|nameid=explorer_pottery_sherd
|form=item}}
{{ID table
|displayname=Friend Pottery Sherd
|spritetype=item
|nameid=friend_pottery_sherd
|form=item}}
{{ID table
|displayname=Heart Pottery Sherd
|spritetype=item
|nameid=heart_pottery_sherd
|form=item}}
{{ID table
|displayname=Heartbreak Pottery Sherd
|spritetype=item
|nameid=heartbreak_pottery_sherd
|form=item}}
{{ID table
|displayname=Howl Pottery Sherd
|spritetype=item
|nameid=howl_pottery_sherd
|form=item}}
{{ID table
|displayname=Miner Pottery Sherd
|spritetype=item
|nameid=miner_pottery_sherd
|form=item}}
{{ID table
|displayname=Mourner Pottery Sherd
|spritetype=item
|nameid=mourner_pottery_sherd
|form=item}}
{{ID table
|displayname=Plenty Pottery Sherd
|spritetype=item
|nameid=plenty_pottery_sherd
|form=item}}
{{ID table
|displayname=Prize Pottery Sherd
|spritetype=item
|nameid=prize_pottery_sherd
|form=item}}
{{ID table
|displayname=Sheaf Pottery Sherd
|spritetype=item
|nameid=sheaf_pottery_sherd
|form=item}}
{{ID table
|displayname=Shelter Pottery Sherd
|spritetype=item
|nameid=shelter_pottery_sherd
|form=item}}
{{ID table
|displayname=Skull Pottery Sherd
|spritetype=item
|nameid=skull_pottery_sherd
|form=item}}
{{ID table
|displayname=Snort Pottery Sherd
|spritetype=item
|nameid=snort_pottery_sherd
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Angler Pottery Sherd
|spritetype=item
|nameid=angler_pottery_sherd
|id=664
|form=item}}
{{ID table
|displayname=Archer Pottery Sherd
|spritetype=item
|nameid=archer_pottery_sherd
|id=665
|form=item}}
{{ID table
|displayname=Arms Up Pottery Sherd
|spritetype=item
|nameid=arms_up_pottery_sherd
|id=666
|form=item}}
{{ID table
|displayname=Blade Pottery Sherd
|spritetype=item
|nameid=blade_pottery_sherd
|id=667
|form=item}}
{{ID table
|displayname=Brewer Pottery Sherd
|spritetype=item
|nameid=brewer_pottery_sherd
|id=668
|form=item}}
{{ID table
|displayname=Burn Pottery Sherd
|spritetype=item
|nameid=burn_pottery_sherd
|id=669
|form=item}}
{{ID table
|displayname=Danger Pottery Sherd
|spritetype=item
|nameid=danger_pottery_sherd
|id=670
|form=item}}
{{ID table
|displayname=Explorer Pottery Sherd
|spritetype=item
|nameid=explorer_pottery_sherd
|id=671
|form=item}}
{{ID table
|displayname=Friend Pottery Sherd
|spritetype=item
|nameid=friend_pottery_sherd
|id=672
|form=item}}
{{ID table
|displayname=Heart Pottery Sherd
|spritetype=item
|nameid=heart_pottery_sherd
|id=673
|form=item}}
{{ID table
|displayname=Heartbreak Pottery Sherd
|spritetype=item
|nameid=heartbreak_pottery_sherd
|id=674
|form=item}}
{{ID table
|displayname=Howl Pottery Sherd
|spritetype=item
|nameid=howl_pottery_sherd
|id=675
|form=item}}
{{ID table
|displayname=Miner Pottery Sherd
|spritetype=item
|nameid=miner_pottery_sherd
|id=676
|form=item}}
{{ID table
|displayname=Mourner Pottery Sherd
|spritetype=item
|nameid=mourner_pottery_sherd
|id=677
|form=item}}
{{ID table
|displayname=Plenty Pottery Sherd
|spritetype=item
|nameid=plenty_pottery_sherd
|id=678
|form=item}}
{{ID table
|displayname=Prize Pottery Sherd
|spritetype=item
|nameid=prize_pottery_sherd
|id=679
|form=item}}
{{ID table
|displayname=Sheaf Pottery Sherd
|spritetype=item
|nameid=sheaf_pottery_sherd
|id=680
|form=item}}
{{ID table
|displayname=Shelter Pottery Sherd
|spritetype=item
|nameid=shelter_pottery_sherd
|id=681
|form=item}}
{{ID table
|displayname=Skull Pottery Sherd
|spritetype=item
|nameid=skull_pottery_sherd
|id=682
|form=item}}
{{ID table
|displayname=Snort Pottery Sherd
|spritetype=item
|nameid=snort_pottery_sherd
|id=683
|form=item
|foot=1}}

== Achievements ==
{{Load achievements|Careful restoration}}

== Advancements ==
{{Load advancements|Respecting the Remnants;Careful Restoration}}

== History ==
{{History||October 3, 2020|[[File:Blue Ceramic Shard.png|32px]][[File:Orange Ceramic Shard.png|32px]][[File:Ceramic Shard 1.png|32px]][[File:Ceramic Shard 2.png|32px]][[File:Ceramic Shard 3.png|32px]][[File:Ceramic Shard 4.png|32px]] Ceramic shards were announced at [[Minecraft Live 2020]].|link=https://youtu.be/DBvZ2Iqmm3M?t=2216}}
{{History||February 10, 2023|[[Sofia Dankis]] posted an article about upcoming archaeology features, including pottery shards.|link=https://www.minecraft.net/en-us/article/archeology-coming-minecraft-120}}
{{History|java}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Archer Pottery Sherd JE1.png|32px]] [[File:Arms Up Pottery Sherd JE1 BE2.png|32px]] [[File:Prize Pottery Sherd JE1 BE2.png|32px]] [[File:Skull Pottery Sherd JE1 BE2.png|32px]] Added pottery shards behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=1.19.4 Pre-release 3|[[File:Archer Pottery Sherd JE2 BE2.png|32px]] Changed the texture of archer pottery shard.}}
{{History||1.20|snap=23w12a|Pottery shards are now out of the 1.20 experimental data pack.|[[File:Angler Pottery Sherd JE1 BE1.png|32px]] [[File:Blade Pottery Sherd JE1 BE1.png|32px]] [[File:Brewer Pottery Sherd JE1 BE1.png|32px]] [[File:Burn Pottery Sherd JE1 BE1.png|32px]] [[File:Danger Pottery Sherd JE1 BE1.png|32px]] [[File:Explorer Pottery Sherd JE1 BE1.png|32px]] [[File:Friend Pottery Sherd JE1 BE1.png|32px]] [[File:Heart Pottery Sherd JE1 BE1.png|32px]] [[File:Heartbreak Pottery Sherd JE1 BE1.png|32px]] [[File:Howl Pottery Sherd JE1 BE1.png|32px]] [[File:Miner Pottery Sherd JE1 BE1.png|32px]] [[File:Mourner Pottery Sherd JE1 BE1.png|32px]] [[File:Plenty Pottery Sherd JE1 BE1.png|32px]] [[File:Sheaf Pottery Sherd JE1 BE1.png|32px]] [[File:Shelter Pottery Sherd JE1 BE1.png|32px]] [[File:Snort Pottery Sherd JE1 BE1.png|32px]] Added another sixteen pottery shards.
|The probability for the archer, prize, and skull pottery shards to generate in the [[suspicious sand]] in [[desert temple]] and in [[desert well]] has been changed from 1/7 to 1/8, for the arms up pottery sherd to generate in the suspicious sand in [[desert well]] has been changed from 3/7 to 1/4.}}
{{History|||snap=23w16a|Renamed "Pottery Shard" to "Pottery Sherd".|Burn, danger, friend, heart, heartbreak, howl and sheaf pottery sherds 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]]; burn, danger, friend, heart, heartbreak, howl and sheaf pottery sherds now are in the rare loot.}}
{{History|||snap=23w17a|The probability of the burn, danger, friend, heart, heartbreak, howl, and sheaf pottery sherds to generate in [[suspicious gravel]] in [[trail ruins]] has been changed from 1/11 to 1/12.{{verify}}|The player now gets the [[advancement]] "Respecting the remnants" when they brush a [[suspicious sand]] or a [[suspicious gravel]] to obtain a pottery sherd, "Careful restoration" when they craft a decorated pot using 4 pottery sherds.}}

{{History|bedrock}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|[[File:Archer Pottery Sherd BE1.png|32px]] [[File:Arms Up Pottery Sherd BE1.png|32px]] [[File:Prize Pottery Sherd BE1.png|32px]] [[File:Skull Pottery Sherd BE1.png|32px]] Added pottery shards behind the "[[Bedrock Edition 1.20.0|Next Major Update]]" [[experimental]] toggle.}}
{{History|||snap=beta 1.19.80.20|[[File:Archer Pottery Sherd JE2 BE2.png|32px]] Changed the texture of archer pottery shard.}}
{{h|||snap=beta 1.19.80.22|[[File:Angler Pottery Sherd JE1 BE1.png|32px]] [[File:Blade Pottery Sherd JE1 BE1.png|32px]] [[File:Brewer Pottery Sherd JE1 BE1.png|32px]] [[File:Burn Pottery Sherd JE1 BE1.png|32px]] [[File:Danger Pottery Sherd JE1 BE1.png|32px]] [[File:Explorer Pottery Sherd JE1 BE1.png|32px]] [[File:Friend Pottery Sherd JE1 BE1.png|32px]] [[File:Heart Pottery Sherd JE1 BE1.png|32px]] [[File:Heartbreak Pottery Sherd JE1 BE1.png|32px]] [[File:Howl Pottery Sherd JE1 BE1.png|32px]] [[File:Miner Pottery Sherd JE1 BE1.png|32px]] [[File:Mourner Pottery Sherd JE1 BE1.png|32px]] [[File:Plenty Pottery Sherd JE1 BE1.png|32px]] [[File:Sheaf Pottery Sherd JE1 BE1.png|32px]] [[File:Shelter Pottery Sherd JE1 BE1.png|32px]] [[File:Snort Pottery Sherd JE1 BE1.png|32px]] Added another sixteen pottery shards.
|[[File:Arms Up Pottery Sherd JE1 BE2.png|32px]] [[File:Prize Pottery Sherd JE1 BE2.png|32px]] [[File:Skull Pottery Sherd JE1 BE2.png|32px]] Changed the texture of arms up, prize and skull pottery shards.<ref>{{bug|MCPE-167202}}</ref>}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.20.0|snap=beta 1.20.0.20|Miner pottery shard can generate in desert pyramids.}}
{{History||1.20.0|snap=beta 1.20.0.21|Pottery shards are now available without using the "Next Major Update" experimental toggle.}}
{{History|||snap=beta 1.20.0.22|Renamed "Pottery Shard" to "Pottery Sherd".}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Many pottery sherds are based on another in-game mob or item:
** The angler pottery sherd depicts a [[fishing rod]].
** The archer pottery sherd depicts a [[bow]] and [[arrow]].
** The blade pottery sherd depicts a [[sword]].
** The brewer pottery sherd depicts a [[potion]].
** The burn pottery sherd depicts [[fire]].
** The danger pottery sherd depicts a [[creeper]].
** The explorer pottery sherd depicts a [[map]].
** The friend pottery sherd depicts the unibrow and nose of a [[villager]] or [[iron golem]].
** The howl pottery sherd depicts a [[wolf]].
** The miner pottery sherd depicts a [[pickaxe]].
** The mourner pottery sherd depicts an early design for the [[warden]].
** The plenty pottery sherd depicts a [[chest]].
** The sheaf pottery sherd depicts [[wheat]].
** The skull pottery sherd depicts a [[skeleton]].
** The snort pottery sherd depicts a [[sniffer]].
**The prize pottery sherd depicts a diamond cut [[diamond]]
***It could depict a [[MCE:Ruby|ruby]] from ''Minecraft Earth'', as well.
**The arms up pottery sherd depicts a [[character]] with their arms up.
**The heart and heartbreak pottery sherds depict a [[Health|heart]] and broken heart respectively.
**The shelter pottery sherd depicts a [[tree]].

==Gallery==
=== Items ===
<gallery>
Angler Pottery Sherd.png|Angler Pottery Sherd
Archer Pottery Sherd.png|Archer Pottery Sherd
Arms Up Pottery Sherd.png|Arms Up Pottery Sherd
Blade Pottery Sherd.png|Blade Pottery Sherd
Brewer Pottery Sherd.png|Brewer Pottery Sherd
Burn Pottery Sherd.png|Burn Pottery Sherd
Danger Pottery Sherd.png|Danger Pottery Sherd
Explorer Pottery Sherd.png|Explorer Pottery Sherd
Friend Pottery Sherd.png|Friend Pottery Sherd
Heart Pottery Sherd.png|Heart Pottery Sherd
Heartbreak Pottery Sherd.png|Heartbreak Pottery Sherd
Howl Pottery Sherd.png|Howl Pottery Sherd
Miner Pottery Sherd.png|Miner Pottery Sherd
Mourner Pottery Sherd.png|Mourner Pottery Sherd
Plenty Pottery Sherd.png|Plenty Pottery Sherd
Prize Pottery Sherd.png|Prize Pottery Sherd
Sheaf Pottery Sherd.png|Sheaf Pottery Sherd
Shelter Pottery Sherd.png|Shelter Pottery Sherd
Skull Pottery Sherd.png|Skull Pottery Sherd
Snort Pottery Sherd.png|Snort Pottery Sherd
</gallery>

=== Development images ===
<gallery>
JE 1.17 Development Archeology.jpg|Blue ceramic shard.
JE 1.17 Development Archeology 2.jpg|Ceramic shards.
</gallery>

=== Official artwork ===
<gallery>
Pottery Sherd Pixel Art.png|Pixel artwork of [[Ari]] holding a skull pottery sherd.
File:T&T Thumbnail.jpg|Ari holding up a different sherd.
</gallery>

== References ==
<references />

== Notes ==
<references group="note"/>

{{Items}}

[[Category:Non-renewable resources]]

[[de:Töpferscherbe]]
[[es:Fragmento de cerámica]]
[[fr:Tesson de poterie]]
[[ja:壺の欠片]]
[[pt:Óstraco]]
[[zh:陶片]]</li><li>[[Sugar|Sugar]]<br/>{{Item
| image = Sugar.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Sugar''' is a [[food]] ingredient and [[brewing]] ingredient made from [[sugar canes]].

== Obtaining ==

=== Mob loot ===

[[Witch]]es have a chance of dropping 0–2 sugar upon death. This is increased by 1 per level of [[Looting]], for a maximum of 0–5 sugar.

=== Crafting ===
{{Crafting
 |head= 1
 |Sugar Cane
 |Output= Sugar
 |type= Material

}}
{{Crafting
 |Honey Bottle
 |Output= Sugar, 3
 |type= Material
 |foot= 1
}}

=== Compound creation ===

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

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

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Brewing ingredient ===

{{Brewing
  |head=1
  |Sugar
  |Mundane Potion
  |base=Water Bottle
}}
{{brewing
  |foot=1
  |showname=1
  |Sugar
  |Potion of Swiftness
}}

=== Horses ===

Sugar can be fed to [[horse]]s to heal {{hp|1}}, speed growth by 30 seconds, and increase taming probability by 3%.

== Achievements ==
{{load achievements|The Lie}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|notshowbeitemforms=y
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Sugar
|spritetype=item
|nameid=sugar
|id=416
|form=item
|foot=1}}

== Video ==

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

== History ==

{{History|java beta}}
{{History||1.2|[[File:Sugar JE1 BE1.png|32px]] Sugar has been introduced as an ingredient for [[cake]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Sugar is now used to craft [[fermented spider eye]]s.}}
{{History|||snap=Beta 1.9 Prerelease 3|Sugar can now be [[brewing|brewed]] in a [[water bottle]] to create a [[Mundane Potion]], or in an [[Awkward Potion]] to create a [[Potion of Swiftness]].}}
{{History||1.4.2|snap=12w37a|Sugar is now used to make [[pumpkin pie]].}}
{{History|||snap=12w38b|[[Witch]]es can now [[drops|drop]] sugar.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 353.}}
{{History||1.14|snap=18w43a|[[File:Sugar JE2 BE2.png|32px]] The texture of sugar has been changed.}}
{{History||1.15|snap=19w34a|Sugar can now can be created using 1 [[honey bottle]].}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Sugar JE1 BE1.png|32px]] Added sugar. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.0|Sugar is now [[craft]]able using [[sugar cane]].}}
{{History||v0.7.0|Sugar is now used to craft [[cake]].}}
{{History||v0.8.0|snap=build 1|Sugar is now used to craft [[pumpkin pie]].}}
{{History||v0.12.1|snap=build 1|Sugar has been added to the [[creative]] [[inventory]].|Sugar is now used to craft [[fermented spider eye]]s.
|Sugar can now be used for [[brewing]], to get mundane [[potion]]s and potions of [[Swiftness]].}}
{{History||v0.14.0|snap=build 1|Added [[witch]]es, which can [[drops|drop]] sugar upon [[death]].}}
{{History||v0.15.0|snap=build 1|Sugar can now be used to feed [[horse]]s, which can increase their temper, heal them, and speed up the growth of foals.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|Sugar can now be created using 6 Carbon, 12 Hydrogen, and 6 Oxygen in the [[compound creator]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Sugar JE2 BE2.png|32px]] The texture of sugar has been changed.}}
{{History||1.14.0|snap=beta 1.14.0.1|Sugar can now be created using 1 [[honey bottle]].}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Sugar JE1 BE1.png|32px]] Added sugar.
|Sugar is used to craft [[cake]].}}
{{History||xbox=TU7|Sugar is now used to craft [[fermented spider eye]]s.|Sugar can now be [[brewing|brewed]] in a [[water bottle]] to create a [[Mundane Potion]], or in an [[Awkward Potion]] to create a [[Potion of Swiftness]].}}
{{History||xbox=TU14|ps=1.04|Sugar is now used to make [[pumpkin pie]].}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[Witch]]es can now [[drops|drop]] sugar.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Sugar JE2 BE2.png|32px]] The texture of sugar has been changed.}}

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

== Issues ==
{{issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--sugar Taking Inventory: Sugar] – Minecraft.net on January 27, 2022

{{Items}}

[[cs:Cukr]]
[[de:Zucker]]
[[es:Azúcar]]
[[fr:Sucre]]
[[hu:Cukor]]
[[it:Zucchero]]
[[ja:砂糖]]
[[ko:설탕]]
[[nl:Suiker]]
[[pl:Cukier]]
[[pt:Açúcar]]
[[ru:Сахар]]
[[th:น้ำตาล]]
[[uk:Цукор]]
[[zh:糖]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li></ul>
15w42aWhen multiple pieces of Thorns armor are worn, one is chosen at random to lose durability instead of always using the "bottommost" piece.
15w47bSounds for Thorns have been added.
1.16.2
{{Extension DPL}}<ul><li>[[:Category:Armor|Category:Armor]]<br/>[[Category:Items]]</li><li>[[Dye|Dye]]<br/>{{Item
| title = Dyes
| image = White Dye.png
| extratext = View [[#Gallery|all renders]]
| renewable = Yes
| stackable = Yes (64)
}}
'''Dyes''' are a set of sixteen items used to change the color of [[wool]], [[carpet]]s, [[terracotta]], [[concrete powder]], [[glass]], [[shulker box]]es, [[bed]]s, [[candle]]s, the patterns on [[banner]]s, [[firework star]]s, certain mobs, and text on [[sign]]s and [[hanging sign]]s. {{IN|bedrock}} they can also be used to dye water in a [[cauldron]] (which is thereafter used to dye leather [[armor]]); {{in|java}} leather armor can be dyed directly. {{IN|education}} dyes can also be used to dye [[balloon]]s and [[glow stick]]s.

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

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

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

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

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

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

=== Trading ===

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

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

=== Chest loot ===

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

=== Other ===

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

== Usage ==

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

=== Dyeing wool and mobs ===

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

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

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

=== Dyeing carpets ===

Carpets can be dyed.

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

=== Dyeing terracotta ===

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

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

=== Creating concrete powder ===

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

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

=== Staining glass ===

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

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

=== Dyeing shulker boxes ===

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

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

=== Dyeing beds ===

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

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

=== Dyeing candles ===

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

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

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

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

=== Dyeing armor ===

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

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

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

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

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

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

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

=== Dyeing firework stars ===

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

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

=== Creating balloons ===

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

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

=== Creating glow sticks ===

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

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

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

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

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

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

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

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

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

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

== Video ==

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

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

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

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

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

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

==Issues==
{{issue list}}

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

== References ==
{{reflist}}

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

{{Items}}

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

[[cs:Barvivo]]
[[de:Farbstoff]]
[[es:Tinte]]
[[fr:Teinture]]
[[hu:Színezés]]
[[it:Colorante]]
[[ja:染料]]
[[ko:염료]]
[[nl:Kleurstof]]
[[pl:Barwniki]]
[[pt:Corante]]
[[ru:Красители]]
[[th:สีย้อม]]
[[uk:Барвники]]
[[zh:染料]]</li></ul>
20w28aThorns now takes away less durability.[6]
Pocket Edition Alpha
v0.12.1
{{Extension DPL}}<ul><li>[[Blaze Rod|Blaze Rod]]<br/>{{Item
| image = Blaze Rod.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Blaze rods''' are [[item]]s exclusively obtained from [[blaze]]s. They act as a fuel for both brewing and [[smelting]], and are required to craft [[eye of ender|eyes of ender]] used to access to [[the End]].

== Obtaining ==

=== Mob loot ===
When killed by a player or tamed [[wolf]], a [[blaze]] has a 50% chance to drop a blaze rod. The [[Looting]] [[enchantment]] can increase the drops by one per level, for a maximum of 4 blaze rods. Blazes do not drop any blaze rods if killed by any other source.

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Fuel ===

When used in a [[furnace]], a blaze rod lasts 120 seconds (12 items).

== Achievements ==
{{load achievements|Into Fire}}

== Advancements ==
{{load advancements|Into Fire}}

== Video ==
{{Video note|This video does not mention the crafting of [[End Rod]]s.|minor}}

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

== Data values ==
=== ID ===
{{el|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Blaze Rod
|spritetype=item
|nameid=blaze_rod
|form=item
|foot=1}}

{{el|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Blaze Rod
|spritetype=item
|nameid=blaze_rod
|id=423
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods.}}
{{History|||snap=Beta 1.9 Prerelease 2|Blaze rods are now used to craft [[blaze powder]].}}
{{History|||snap=Beta 1.9 Prerelease 3|Blaze rods are now used to craft [[brewing stand]]s.}}
{{History||1.8|snap=14w07a|Blaze rods are now held similarly to [[tools]].}}
{{History||1.9|snap=15w44b|Blaze rods are now used to craft [[end rod]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 369.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods. 
|Blaze rods can be used to craft [[blaze powder]] and [[brewing stand]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Blaze rods are now used to craft [[end rod]]s.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods.
|Blaze rods can be used to craft [[blaze powder]] and [[brewing stand]]s.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|Blaze rods are now used to craft [[end rod]]s.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods.
|Blaze rods can be used to craft [[blaze powder]] and [[brewing stand]]s.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* As part of an official collaboration, blaze rods are included in a free add-on for the roleplaying game [https://en.wikipedia.org/wiki/Dungeons_%26_Dragons ''Dungeons and Dragons''].<ref>https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwj9uvqlwIT-AhV7LUQIHYlVDiwQFnoECBAQAQ&url=https%3A%2F%2Fwww.minecraft.net%2Fcontent%2Fdam%2Fgames%2Fminecraft%2Fsoftware%2FMinecraft-Monstrous-Compendium.pdf&usg=AOvVaw0aKOqpKAHSH11qgZhN_Bhx</ref> In the game, they are worth 100 gold pieces, create light, and can be broken to create an explosion.
* They are the spinning things surrounding the blaze's head

{{items}}

== References ==
{{Reflist}}

[[Category:Renewable resources]]

[[cs:Ohnivá hůl]]
[[de:Lohenrute]]
[[el:Οι ράβδοι των Blaze]]
[[es:Vara de blaze]]
[[fr:Bâton de Blaze]]
[[hu:Lángrúd]]
[[it:Verga di blaze]]
[[ja:ブレイズロッド]]
[[ko:블레이즈 막대]]
[[lzh:炎靈桿]]
[[nl:Blazestaf]]
[[pl:Płomienna różdżka]]
[[pt:Vara de blaze]]
[[ru:Огненный стержень]]
[[th:แท่งเบลซ]]
[[tr:Alaz Çubuğu]]
[[uk:Стрижень Блейза]]
[[zh:烈焰棒]]</li><li>[[Photo|Photo]]<br/>{{exclusive|education}}
{{Item
| image = Photo EE2.png
| renewable = No (unless [[portfolio]] is available)
| stackable = 
}}

A '''photo''' is an [[item]] containing a picture taken with a [[camera]].<ref>{{cite|url=https://web.archive.org/web/20210925044841mp_/https://educommunity.minecraft.net/hc/en-us/articles/4407489082644-Feature-Walkthrough-Minecraft-Education-Edition-GOAT-Beta-version-1-17-30-| title = Feature Walkthrough Minecraft: Education Edition GOAT Beta (version 1.17.30)|website=Minecraft: Education Edition Support|date=September 24, 2021}}</ref><ref>{{cite|url=https://education.minecraft.net/en-us/blog/new-update-and-anniversary-for-mee| title = The GOAT Update Celebrates a Minecraft Milestone!|website=Minecraft: Education Edition|date=November 2, 2021}}</ref><ref>{{ytl|2Wd0J-EIfws|GOAT Release Playthrough|Minecraft: Education Edition|December 2, 2021}}</ref>

== Obtaining ==
A photo in a [[portfolio]] can be saved as a photo item by selecting the "Save to Inventory" button underneath it.

== Usage ==
Photos display an image when held in the hand or when placed in an [[item frame]], similarly to [[map]]s. Photos can have captions added to them by renaming them in an [[anvil]] or by adding a caption while they are in a portfolio. Photos can be added to [[book and quill]]s and portfolios by selecting the "Add Photo" button in the book and quill or portfolio.

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Photo
|spritetype=item
|nameid=photo_item
|id=?
|form=item
|foot=1}}

== History ==
{{History|education}}
{{History||1.17.30|snap=1.17.30.2|[[File:Photo EE1.png|32px]] Added photos.}}
{{History||1.17.30|snap=release|[[File:Photo EE2.png|32px]] Changed photo texture.}}
{{History|foot}}

== Gallery ==
<gallery>
Photo Item 1.png|A photo being placed in an item frame.
Photo Item 2.png|A photo being saved from a portfolio.
Photo Item 3.png|A photo being added to a book and quill.
</gallery>

== References ==
{{Reflist}}

{{Items}}
{{Education Edition}}

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

[[ja:写真]]
[[pl:Zdjęcie]]
[[zh:相片]]</li></ul>
build 1Added Thorns.

Issues[]

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

References[]

  1. MCPE-56212
  2. MC-225312
  3. MC-234880
  4. MC-223301
  5. MC-250157 — resolved as "Works As Intended".
  6. MC-34661
Advertisement