Minecraft Wiki
Advertisement

Template:BlockTileEntity

A redstone comparator is a block used in redstone circuits to maintain, compare, or subtract signal strength, or to measure certain block states (primarily the fullness of containers).

Obtaining

To remove a redstone comparator, mine it. A redstone comparator can be broken instantly with anything, and drops itself as an item.

A redstone comparator will also be removed and drop itself as an item:

  • if its attachment block is moved, removed, or destroyed.
  • if water flows into its space.
  • if 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 will be destroyed without dropping itself as an item.

Crafting

Name Ingredients Crafting recipe Description
Redstone Comparator Redstone Torch +
Nether Quartz +
Stone

Can use stone only, no variants.‌[Java and Bedrock editions only]
Redstone Comparator Redstone Torch +
Nether Quartz +
Any Stone

Can use stone and its variants interchangeably.‌[Legacy Console Edition only]

Usage

A redstone comparator can be placed on the top of any opaque block with a solid full-height top surface (including upside-down slabs and upside-down stairs), as well as on hoppers. In Bedrock edition, a comparator can also be placed on top of glass, stone walls, fences and cauldrons. To place a redstone comparator, use the Place Block control.

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 will face 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 which can be toggled with the Use Item control:

  • 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 only accepted from redstone blocks, redstone dust, redstone repeaters, and other comparators. 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 usually will not respond to 1-tick fluctuations of power or signal strength — for example, a 1-clock input will be treated as always off from the side, and always on from the rear.

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 side inputs will output the same signal strength as its rear input.

Compare signal strength

File:ComparatorsExplained.PNG

Comparators in comparison mode.

A redstone comparator in comparison mode (front torch down and unpowered) will compare 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.

Subtract signal strength

A redstone comparator in subtraction mode (front torch up and powered) will subtract the signal strength of the highest side input from the signal strength of the rear input (minimum 0 signal strength).

For example, if the rear input signal strength is 7, the left side is 2, and the right side is 4, then the output will be a signal strength of 3, because 7 - MAX(2,4) = 3.

Measure block state

A redstone comparator can measure the fullness of a chest, as well as other block states, even through a block.

A redstone comparator will treat certain blocks behind it as power sources and output a signal strength proportional to the block's state. The comparator may be separated from the measured block by a solid block. However, in Java Edition, if the solid block is powered to signal strength 15 the comparator will output 15 no matter the fullness of the container.[1]

Containers

Minimum Items for Container Signal Strength
Power
Level
Containers and Slots





3 5 9 27 54
0 0i 0i 0i 0i 0i No music disc inserted
1 1i 1i 1i 1i 1i "13"
2 14i 23i 42i 1s
60i
3s
55i
"cat"
3 28i 46i 1s
19i
3s
55i
7s
46i
"blocks"
4 42i 1s
5i
1s
60i
5s
51i
11s
37i
"chirp"
5 55i 1s
28i
2s
37i
7s
46i
15s
28i
"far"
6 1s
5i
1s
51i
3s
14i
9s
42i
19s
19i
"mall"
7 1s
19i
2s
10i
3s
55i
11s
37i
23s
10i
"melohi"
8 1s
32i
2s
32i
4s
32i
13s
32i
27s "stal"
9 1s
46i
2s
55i
5s
10i
15s
28i
30s
55i
"strad"
10 1s
60i
3s
14i
5s
51i
17s
23i
34s
46i
"ward"
11 2s
10i
3s
37i
6s
28i
19s
19i
38s
37i
"11"
12 2s
23i
3s
60i
7s
5i
21s
14i
42s
28i
"wait"
13 2s
37i
4s
19i
7s
46i
23s
10i
46s
19i
14 2s
51i
4s
42i
8s
23i
25s
5i
50s
10i
15 3s 5s 9s 27s 54s

A redstone comparator used to measure the state of a container outputs a signal strength in proportion to how full the container is (0 for empty, 15 for full, etc.).

Containers which can be measured by a comparator include:

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 which cannot be opened (either because it has an opaque block or ocelot above it) will always produce an output of 0 no matter how many items are in the container.

The Minimum Items for Container Signal Strength table (right) shows the minimum number of 64-stackable items required to produce specific signal strengths from various containers. A number followed by an "s" indicates the number of full item stacks required (not displayed if a full stack is not required), and a number followed by an "i" indicates the number of additional items required (not displayed if no items are required beyond some number of item stacks). For items which stack up to a maximum of 16 (snowballs, signs, ender pearls, etc.), divide the "i" number by 4 and round up. For non-stackable items, count any "i" number as one additional item.

For example, to produce a signal strength of 10 from a hopper requires a minimum of 3 full stacks plus 14 more items (or 4 16-stackable items).

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:
signal strength = floor(1 + ((sum of all slots' fullnesses) / (number of slots in container)) * 14)
fullness of a slot = (number of items in slot) / (max stack size for this type of item)
Example: 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64, produces output with a signal strength of 8:

1 + ((300 items / 64 items per slot) / 9 slots) * 14 = 8.292, floored is 8

Note that a non-stackable item is counted as a full slot (1 item in a slot, with a max stack size of 1: 1 / 1 = 1.0), and items which stack up to 16 (such as ender pearls and snowballs and eggs) are similarly considered a full slot at 16.
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:
items required = max(desired signal strength, roundup((total slots in container * 64 / 14) * (desired signal strength - 1) ) )
Example: To use a furnace (which has 3 slots) to create a strength 9 signal, you need 110 items:

max(9, (3*64/14)*(9-1)) = 109.714, rounded up is 110

Miscellaneous

Comparator storage

Comparators used to measure containers.

Some non-container blocks can also be measured by a redstone comparator:

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.
Cauldron Redstone Strength Values

Cauldron signal strength

Cauldron
A cauldron outputs different signal strengths depending on how much water is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3.
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 only succeed once per execution, but certain commands (such as those which accept players as arguments) can succeed multiple times, and the comparator will output the number of times it succeeded (maximum 15).
A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator will continue 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).
End Portal Frame
An end portal frame outputs a full signal of 15 if it contains an eye of ender and zero otherwise.
Item frame and comparator

A comparator can measure the presence and rotation of an item frame's contents.

Item Frame
A comparator can measure the state of an item frame's contents. In order for a comparator to measure an item frame's contents, it must be placed behind the block the item frame is attached to, facing away from the item frame. An item frame comparator will output 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 right-click rotation to a maximum of 8, then wrapping back to 1).
Jukebox
A jukebox outputs a signal strength which indicates which music disc is currently playing. For which music disc produce which signal strengths, see the Minimum Items for Container Signal Strength table above.

Data values

A redstone comparator is defined by its ID, block data, and block entity. A redstone comparator also has a block state which is expected to replace the functionality of block data in a future version.

ID

Redstone Comparator/ID

Block data

See also: Data values

In Bedrock Edition, redstone comparators use the following data values: A redstone comparator's block data specifies its orientation, mode, and powered status.

Bits Values
0x1
0x2
A two-bit field storing a value from 0 to 3 specifying the redstone comparator's orientation:
  • 0: Facing north.
  • 1: Facing east.
  • 2: Facing south.
  • 3: Facing west.
0x4 Set if in subtraction mode (front torch up and powered).
0x8 Set if powered (at any power level).

Block states

See also: Block states

Java Edition:

Name Default value Allowed values Description
facingnortheast
north
south
west
The direction from the output side to the input side of the comparator,
or the opposite from the direction the player faces while placing the comparator.
modecomparecompare
subtract
Specifies the current mode of the redstone comparator.
poweredfalsefalse
true
True if the redstone comparator is being powered.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
direction
(Deprecated)
0x1
0x2
00
1
2
3
0
1
2
3
The direction the repeater directs power.
  • 0: Facing north.
  • 1: Facing east.
  • 2: Facing south.
  • 3: Facing west.
minecraft:cardinal_directionNot Supportedsoutheast
north
south
west
UnsupportedThe direction from the output side to the input side of the comparator,
or the opposite from the direction the player faces while placing the comparator.
output_lit_bit0x8falsefalse
true
0
1
True if the redstone comparator is being powered.
output_subtract_bit0x4falsefalse
true
0
1
Specifies the current mode of the redstone comparator.

Block entity

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

  • Block entity data
    • Tags common to all block entities
    •  OutputSignal: Represents the strength of the analog signal output of this redstone comparator.

Video

Redstone Comparator/video

History

Java Edition
24 November 2012Jeb stated that there may be a "capacitor" in Minecraft.
27 December 2012Dinnerbone released pictures of the first version of the "comparator", stating it was a replacement for the "capacitor" idea which has variable, alternate inputs.
2 January 2013Dinnerbone released one more picture of the comparator. The picture itself showing a digital-to-analog converter, using the comparator as the main block.
1.5
{{Extension DPL}}<ul><li>[[Green Dye|Green Dye]]<br/>{{redirect|Cactus Green|the plant|Cactus}}{{Item
| title = Green Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Green dye''' is a [[primary color dye]].

== Obtaining ==

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

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

=== Trading ===

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

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

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

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

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

== History ==

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

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

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

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

== Issues ==

{{issue list}}

{{Items}}

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

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li><li>[[Bread|Bread]]<br/>{{dungeons hatnote|type=item}}
{{Item
| title = Bread
| image = Bread.png
| renewable = Yes
| heals = {{hunger|5}}
| stackable = Yes (64)
}}
'''Bread''' is a [[food]] [[item]] that can be eaten by the [[player]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |A2=Wheat
  |B2=Wheat
  |C2=Wheat
  |Output=Bread
  |type=Foodstuff
}}

=== Chest loot ===

{{LootChestItem|bread}}

=== Trading ===

Novice-level farmer [[Villager|villagers]] sell 6 bread for one [[emerald]] as part of their [[Trading|trades]]. {{IN|java}} they only have a 40% chance of offering this trade.

=== Villager gifts ===

Farmer villagers may use wheat they have harvested to craft bread, which they can trade with other villagers.

Farmer villagers may throw bread at players under the [[Hero of the Village]] effect.{{only|java}}

== Usage ==

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

Bread can be eaten with the use control while it is selected in the [[hotbar]]. Eating bread restores {{hunger|5}} [[hunger]] and 6.0 [[Hunger#Mechanics|hunger saturation]].

=== Breeding ===

Villagers can pick up bread items to become willing, allowing them to breed. Villagers require 3 bread to become willing.

=== Composting ===
Placing bread into a [[composter]] has an 85% chance of raising the compost level by 1. It is more efficient to compost [[wheat]] than bread made from wheat.

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Bread
|spritetype=item
|nameid=bread
|id=261
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Bake Bread}}

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

== History ==

{{History|java indev}}
{{History||20100206|[[File:Bread JE1 BE1.png|32px]] Bread has been added, which now restores {{hp|5}}.}}
{{History||20100223|Bread now requires 3 [[wheat]] (1 row of 3) instead of 6 (2 rows of 3) to be crafted.}}
{{History|java infdev}}
{{History||?|Bread is no longer stackable.}}
{{History||20100625-2|Bread can now be found in the new [[dungeon]] [[chest]]s.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Bread is now stackable to 64.
|Bread now restores {{hunger|5}} instead of {{hp|5}}.
|[[Dungeon]] [[chests]] now contain more bread, now that it stacks.
|Bread can now be found in the new [[stronghold]] storerooms and [[mineshaft]] [[chest]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Bread can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History||1.1|snap=12w01a|Bread can now be found in the new [[village]] blacksmith chests.}}
{{History||1.3.1|snap=12w16a|Bread can now be found in the new [[bonus chest]]s.}}
{{History|||snap=12w21a|Farmer [[villager]]s now [[trading|sell]] 3–4 loaves of bread for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Bread JE2 BE2.png|32px]] The dark outline has now been removed from the bread texture.}}
{{History||1.6.1|snap=13w16a|Bread can now be used to feed [[horse]]s.}}
{{History||1.8|snap=14w02a|Farmer [[villager]]s now [[trading|sell]] 2–4 loaves of bread for 1 [[emerald]].}}
{{History|||snap=14w26c|[[Horse]]s no longer can eat bread.}}
{{History||1.9|snap=15w44a|The average yield of bread from [[mineshaft]] and [[dungeon]] [[chest]]s has now been decreased.}}
{{History||1.11|snap=16w39a|Bread can now found in the new [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 297.}}
{{History||1.14|snap=18w43a|[[File:Bread JE3 BE3.png|32px]] The texture of bread has now been changed.}}
{{History|||snap=18w48a|Bread can now generate inside chests in cartographer houses, tanneries and plains [[village]] houses.}}
{{History|||snap=18w49a|Bread can now generate inside chests in mason houses, and savanna and snowy [[village]] houses.}}
{{History|||snap=18w50a|Bread can now generate inside chests in village temples, toolsmith, and desert and taiga [[village]] houses.}}
{{History|||snap=19w03a|Placing bread into the new [[composter]] now has an 80% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Bread now has an 85% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w13a|Farmer villagers now give bread to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Bread JE1 BE1.png|32px]] Added bread.}}
{{History||v0.5.0|Bread now restores {{hp|5}} instead of {{hp|2}}.}}
{{History||v0.8.0|snap=build 1|[[File:Bread JE2 BE2.png|32px]] The dark outline has now been removed from the bread texture.}}
{{History||v0.12.1|snap=build 1|Bread now restores [[hunger]] instead of [[health]].}}
{{History||v0.14.0|snap=build 1|Bread can now be found inside [[minecart with chest]]s in [[mineshaft]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|[[Villager]]s now require bread to become willing, in order to [[breeding|breed]].
|Farmer [[villager]]s now [[trading|sell]] 2-4 loaves of bread for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Bread can now be found in [[woodland mansion]] [[chest]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Bread can now be found inside [[bonus chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Bread JE3 BE3.png|32px]] The texture of bread has now been changed.
|Bread can now be found inside [[plains]] [[village]] houses [[chest]]s, plains tannery house chests, village cartographer house chests and plains weaponsmith chests.}}
{{History||1.11.0|snap=beta 1.11.0.1|Bread can now be found in village chests other than plains.
|Bread can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Farmer [[villager]]s now [[trading|sell]] 6 bread for one [[emerald]].}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Bread JE1 BE1.png|32px]] Added bread.}}
{{History||xbox=TU5|Bread is now stackable to 64. 
|Bread now restores [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|[[File:Bread JE2 BE2.png|32px]] The dark outline has now been removed from the bread texture.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Bread JE3 BE3.png|32px]] The texture of bread has now been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Bread JE2 BE2.png|32px]] Added bread.}}
{{History|foot}}

== Issues ==
{{issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--bread Taking Inventory: Bread] – Minecraft.net on February 25, 2021

{{Items}}

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

[[cs:Chléb]]
[[de:Brot]]
[[es:Pan]]
[[fr:Pain]]
[[hu:Kenyér]]
[[it:Pane]]
[[ja:パン]]
[[ko:빵]]
[[nl:Brood]]
[[pl:Chleb]]
[[pt:Pão]]
[[ru:Хлеб]]
[[th:ขนมปัง]]
[[uk:Хліб]]
[[zh:面包]]</li></ul>
13w01aFile:Redstone Comparator Revision 1.pngFile:Active Redstone Comparator Revision 1.pngAdded redstone comparator, with 0 delay.
13w01bAdded delay of 1 game tick (1/2 redstone tick) to comparator to fix bugs.
Added ability to measure containers to redstone comparator.
13w02aRedstone ComparatorFile:Active Redstone Comparator.pngUpdated texture to show quartz in the middle.
Changed algorithm for measuring containers so that comparators output a signal with as few as 1 item in the container.
13w02bComparators now treat large chests as a single container.
13w03aComparators now output success count of command blocks.
Comparators now measure container minecarts on detector rails.
13w04aComparators now measure jukeboxes.
13w05aComparators no longer cause constant block updates, the delay is made consistent, and side input no longer causes a pulse output.
Block 150 (powered_comparator) is no longer used; powered state is now represented by the 8s bit on block 149 (unpowered_comparator).
13w05bComparator delay changed from 1 game tick (1/2 redstone tick) to 2 game ticks (1 redstone tick).
13w09cThe redstone signal strength from a comparator next to a brewing stand with 3 water bottles in it is the same as one with 3 water bottles and 1 ingredient in it.
1.6.1
{{Extension DPL}}<ul><li>[[:Category:Tools|Category:Tools]]<br/>[[Category:Items]]

[[fr:Catégorie:Outil]]
[[it:Categoria:Attrezzi]]</li><li>[[:Category:Fungi|Category:Fungi]]<br/>All pages covering blocks that are fungi.

[[Category:Blocks]]
[[Category:Items]]

[[ja:カテゴリ:菌類]]</li></ul>
13w18aComparators now measure cauldrons and end portal frames.
1.7.2
{{Extension DPL}}<ul><li>[[Green Dye|Green Dye]]<br/>{{redirect|Cactus Green|the plant|Cactus}}{{Item
| title = Green Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Green dye''' is a [[primary color dye]].

== Obtaining ==

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

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

=== Trading ===

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

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

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

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

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

== History ==

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

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

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

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

== Issues ==

{{issue list}}

{{Items}}

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

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li><li>[[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>
13w37aThe item forms of blocks 149 (unpowered_comparator) and 150 (powered_comparator) were removed from the game. They can no longer exist in inventories, only as blocks in the world.
1.8
{{Extension DPL}}<ul><li>[[Suspicious Stew|Suspicious Stew]]<br/>{{For|the block|Suspicious Sand}}
{{Item
| title = Suspicious Stew
| heals = {{hunger|6}}
| renewable = Yes 
| stackable = No
|effects=See {{slink||Food}}
}}
'''Suspicious stew''' is a [[food]] item that can give the [[player]] a [[effect|status effect]] that depends on the [[flower]] used to craft it.

== Obtaining ==
{{IN|Bedrock}}, suspicious stew is the only food item in the game that can be obtained from the [[Creative]] inventory only by searching. However, it can be crafted and can also be found in [[shipwreck]] chests. Suspicious stew can be given with [[commands]] like {{cmd|give}}, but {{in|java}}, unless NBT data like that listed in the data values section is included, consuming it has no effect and still restores the same hunger points as a normal suspicious stew. In [[Bedrock Edition]], giving the player a suspicious stew through commands causes the stew to choose an allowable status effect at random.

=== Harvesting ===
Suspicious stew can be obtained by "milking" a brown [[mooshroom]] with a [[bowl]] after using a small flower on it. When a small flower is used on a brown mooshroom, the brown mooshrom produces a suspicious stew related to that small flower the next time it is milked with a bowl. Red mooshrooms do not produce suspicious stew. The brown mooshroom returns to producing [[mushroom stew]] until fed another small flower.

=== Crafting ===
{{Crafting
|Red Mushroom
|Brown Mushroom
|Bowl
|Any Flower
|Output=Suspicious Stew
|shapeless=true
|type=Foodstuff
}}
Suspicious stew is not listed in the recipe book. However, it can be quickly assembled by clicking the [[Mushroom Stew|mushroom stew]] recipe and adding one small flower to it.

=== Chest loot ===
{{LootChestItem|suspicious-stew}}

=== Mob loot ===
After being given a flower, a brown [[mooshroom]] can be "milked" for suspicious stew by {{control|using}} a [[bowl]] on it. The flower type determines the stew's effect using the same rule as a crafted stew. Milking a red mooshroom after feeding it a flower does not yield a suspicious stew specific to that flower.

=== Trading ===
{{IN|java}}, expert-level farmer [[villager]]s can offer either 1 or 2 suspicious stew trades, each stew for one [[emerald]].

{{IN|bedrock}}, expert-level farmer villager offers to sell suspicious stew for one emerald as well.

The [[trading]] interface does not indicate the type of suspicious stew being sold, but each trade entry consistently yields the same type of stew, so the player can remember or make a note of the types offered by a given villager, such as "this villager's first stew gives [[blindness]], and their second entry gives saturation".

== Usage ==
=== Food ===
{{see also|Tutorials/Hunger management}}
To eat suspicious stew, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} hunger and 7.2 hunger [[Hunger#Mechanics|saturation]] and gives a few seconds of a [[effect|status effect]] that varies depending on which flower was used to craft it. The effect is not displayed in the tooltip, texture, etc., meaning that the player cannot know in advance what the effect is without knowing which flower was used.

{{/Effects}}
The [[bowl]] is emptied and returned to the player after the suspicious stew has been eaten, and can be re-used to craft more stews. Unlike most foods, suspicious stew can be eaten even if the player's hunger bar is full.

The Saturation effect effectively makes those two stews a superfood: In those 6 or 7 ticks it can restore up to 6(7) hunger and 12(14) saturation points ''on top of'' their food value, for a total of at least {{hunger|12}} hunger, and effectively maximizing saturation. This is the largest amount of hunger and saturation the player can get from a single food item. Regeneration can restore up to {{Health|3}} health, and Poison or Wither can inflict up to {{Health|4}} damage.

Consuming suspicious stew is the only way to obtain the Saturation and Blindness effects in vanilla ''Minecraft'' without the use of commands.

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

=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Mooshroom eat1.ogg
|sound2=Mooshroom eat2.ogg
|sound3=Mooshroom eat3.ogg
|sound4=Mooshroom eat4.ogg
|subtitle=Mooshroom eats 
|source=neutral
|description=Plays when a brown mooshroom is fed a flower.
|id=entity.mooshroom.eat
|translationkey=subtitles.entity.mooshroom.eat
|volume=2.0
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.95, or 1.05 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|subtitle=Mooshroom gets milked suspiciously
|source=neutral
|description=Plays when a brown mooshroom is milked with a bowl after being fed a flower.
|id=entity.mooshroom.suspicious_milk
|translationkey=subtitles.entity.mooshroom.suspicious_milk
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.9, or 1.1 for each sound</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Mooshroom eat1.ogg
|sound2=Mooshroom eat2.ogg
|sound3=Mooshroom eat3.ogg
|sound4=Mooshroom eat4.ogg
|subtitle=Mooshroom eats 
|source=Friendly Creatures
|description=When a brown mooshroom is fed a flower
|id=mob.mooshroom.eat
|volume=1.0/0.95/1.05
|pitch=0.8-1.2}}
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|subtitle=Mooshroom gets milked 
|source=Friendly Creatures
|description=When a mooshroom is milked with a bowl
|id=mob.mooshroom.suspicious_milk
|volume=1.0/0.9/1.1
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Suspicious Stew
|spritetype=item
|nameid=suspicious_stew
|id=590
|form=item
|foot=1}}

=== Item data ===

{{IN|je}}, suspicious stew uses the following NBT data:
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat format/Suspicious Stew}}
</div>

=== Metadata ===
{{IN|be}}, suspicious stew uses the following data values:
{{dvt|spritetype=item|sprite=suspicious-stew|{{EffectLink|Night Vision}} from {{BlockLink|Poppy}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Jump Boost}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Weakness}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Blindness}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Poison}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Saturation}} from {{BlockLink|Dandelion}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Saturation}} from {{BlockLink|Blue Orchid}}}}
{{dvt|spritetype=item|sprite=suspicious-stew|{{EffectLink|Fire Resistance}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Regeneration}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Wither}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Night Vision}} from {{BlockLink|Torchflower}}|foot=1}}

== Achievements ==
{{load achievements|Time for Stew}}

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

== History ==
{{History|java}}
{{History||1.14|snap=18w43a|[[File:Suspicious Stew JE1 BE1.png|32px]] Added suspicious stew.
|Suspicious stew is not obtainable in the [[Creative inventory]].}}
{{History|||snap=19w08a|Suspicious stew can be obtained by milking brown [[mooshroom]]s.}}
{{History|||snap=19w11a|[[Trading]] has been changed, expert-level farmer villagers now sell suspicious stew for an [[emerald]].}}
{{History||1.14.4|snap=Pre-Release 1|Suspicious stew made from [[poppies]] now gives [[Night Vision]] to the [[player]] instead of [[Speed]].}}
{{History||1.16|snap=Pre-release 1|Mooshrooms can now be milked for suspicious stew in Creative mode.<ref>{{bug|MC-90969}}</ref>}}
{{History||1.17|snap=21w13a|Suspicious stew can now be eaten even if the player is at full [[hunger]].}}
{{History||1.19|snap=22w13a|Suspicious stew may now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.3|snap=22w45a|Suspicious stew is now available in the [[Creative]] [[inventory]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|Suspicious stew now drops when brushing [[suspicious sand]] in [[desert well]]s.}}
{{History|||snap=1.19.4-pre1|[[Torchflower]]s can now be used to make suspicious stew.}}
{{History||1.20|snap=23w12a|The probability for the suspicious stew to generate in the [[suspicious sand]] in [[desert well]] has been changed from 1/7 to 1/8.}}

{{History|bedrock}}
{{History||1.13.0|snap=beta 1.13.0.9|[[File:Suspicious Stew JE1 BE1.png|32px]] Added suspicious stew.
|Suspicious stew is not obtainable in the Creative inventory.}}
{{History|||snap=beta 1.13.0.15|Master-level farmer [[villager]]s can now [[trading|sell]] suspicious stew.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Trading]] has been changed, expert-level farmer villagers now sell suspicious stew for an [[emerald]].}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Suspicious stew now drops when brushing [[suspicious sand]] in [[desert well]]s.}}
{{History||1.20.10|Added one type of suspicious stew to the Items tab in the Creative inventory.}}
{{History||1.20.30|snap=beta 1.20.20.20|Suspicious stew can no longer be found in the Creative inventory.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
* Suspicious stew was introduced because developers wanted a way of communicating that [[wikipedia:Lily_of_the_valley|lilies of the valley]] are poisonous.<ref>{{ytl|YUM7XiEX1DI|Items: Ten Things You Probably Didn't Know About Minecraft @ 3:32|Minecraft|November 29, 2019|t=212s}}</ref>

== References ==
{{Reflist}}
<references group="loot"/>

{{Items}}

[[Category:Food]]

[[de:Seltsame Suppe]]
[[es:Estofado sospechoso]]
[[fr:Soupe suspecte]]
[[ja:怪しげなシチュー]]
[[ko:수상한 스튜]]
[[nl:Geheimzinnige stoofpot]]
[[pl:Podejrzana potrawka]]
[[pt:Ensopado suspeito]]
[[ru:Подозрительный суп]]
[[th:สตูว์พิศวง]]
[[zh:迷之炖菜]]
[[Category:Renewable resources]]</li><li>[[Trident|Trident]]<br/>{{For|the Hidden Depths DLC weapon in ''Minecraft Dungeons''|MCD:Trident}} 
{{ItemEntity
|durability= 250
|renewable= Yes
|stackable= No
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
|title=Trident|image= <gallery>
Trident (item).png | Item
Trident.png | Entity
</gallery>}}

A '''trident''' is a [[weapon]] used in both melee and ranged combat and is a rare drop from [[drowned]].

==Obtaining==
Tridents are not craftable. A trident can be obtained only when dropped by a [[drowned]], Converted drowned are never equipped with tridents. 

===Mob loot===

==== '''''Java Edition''''' ====
6.25% (or 1 in 16) of [[Drowned]] in Java Edition spawn with a trident of random durability as their natural weapon. They have an 8.5% chance to drop their trident when killed by a player. The chance is increased by 1% for each level of [[Looting]] up to a max of 11.5% with Looting III. This means the overall chance of obtaining a trident from any given drowned is 0.53125% (about 1 in 188) or 0.71875% (about 1 in 140) with looting III.

{{IN|Java}}, a trident held by a drowned has a chance to be enchanted, but the trident's enchantments have no effects for drowned.<ref>{{bug|MC-127321}}</ref>

==== '''''Bedrock Edition''''' ====
Only 15% (or 3 in 20) of [[Drowned]] in Bedrock Edition spawn with tridents. Of these, they have a 25% chance to drop their trident when killed by a player. This chance is increased by 4% for each level of looting up to a max of 37% with looting III. This means the overall chance of obtaining a trident from any given drowned is 3.75% (or 3 in 80) or 5.55% with looting III.

===Thrown tridents===
Tridents thrown onto the ground by a player can be picked up; however, tridents thrown by [[drowned]] cannot be picked up, similar to arrows shot by [[skeleton]]s, [[stray]]s, and [[pillager]]s. Only the owner of a trident thrown in Creative mode or enchanted with Loyalty can pick it up; other players in Creative and players in Survival mode including its own owner can't pick up the trident thrown in Creative.

===Trading===
Drowned who are holding tridents will sometimes drop their trident at full durability if given a nautilus shell when they aren't attacking anything.{{only|BE}}

==Usage==

===Drowned===
{{main|Drowned}}
15% of drowned {{in|bedrock}}, and 6.25% {{in|java}}, spawn with a trident as its natural weapon. It throws the trident at its opponent every 1.5 seconds, dealing {{hp|9}} [[damage]] in normal difficulty. A drowned can throw unlimited tridents, and these tridents cannot be picked up by the [[player]].

A [[villager]] can be turned into a [[zombie villager]] if it is killed by a trident thrown by a drowned: the chance of conversion is 0% on Easy [[difficulty]], 50% on Normal, and 100% on Hard and [[Hardcore]].

{{IN|bedrock}}, a drowned can use the trident's melee attack if its target is within three blocks. The melee attack deals {{hp|9}} damage.

===Melee attack===

Pressing {{control|attack}} while holding a trident deals damage to both [[mob]]s and players. Tridents deal {{hp|9}} melee damage. A successful hit consumes durability of the trident.

===Ranged attack===
[[File:Steve aiming with Trident.png|150px]] [[File:Alex aiming with Trident.png|150px]]

Pressing and holding {{control|use}} while holding a trident charges it. When released at half charge or more, the trident is thrown and deals damage to any [[entity]] it hits. Note that it doesn't have to be full charge for the complete damage and length. It flies on a ballistic trajectory similar to that of an [[arrow]], but at 80% strength. If the trident hits a block, it sticks to the block. If it hits an entity, it bounces off the entity and lands nearby. It is also blocked by [[shield]]s and can be retrieved once it lands in the ground. Thrown tridents can trigger wooden [[button]]s, wooden [[pressure plate]]s, and [[target]] blocks. A trident can be thrown at a [[chorus flower]] or [[pointed dripstone]] to break it, which causes the block to be dropped as its respective item.

{{IN|bedrock}} and [[Java Edition Combat Test 4]], tridents can be shot by [[dispenser]]s regardless of enchantment.

Tridents [[Enchanting#Summary_of_enchantments_by_item|enchanted]] with [[Loyalty]] return to the thrower after hitting an entity{{only|java}}/hitting and bouncing off an entity then hitting a block{{only|bedrock}}<ref>{{bug|MCPE-51726}}</ref> or just a block. A Loyalty-enchanted trident fired from a [[dispenser]] just sticks to the block it strikes. Higher levels of enchantment result in shorter recovery times. {{IN|java}}, throwing a trident enchanted with Loyalty into the [[void]] destroys it,<ref>{{bug|MC-125755|||WAI}}</ref> while {{in|bedrock}} it automatically returns to the player. Tridents (if enchanted with Loyalty), can take [[fire]] damage but still return to the player if thrown in [[lava]]. This is especially helpful in [[the Nether]] should the [[player]] be using a trident instead of a [[bow]]. If a trident enchanted with Loyalty attempts to return to a player with no available inventory space, the trident floats near the player until inventory space becomes available.

Thrown tridents take 1 durability damage, regardless of whether it hit an entity or not. Tridents with 1 durability remaining cannot be thrown.

Tridents enchanted with [[Riptide]] launch the player a certain distance when thrown, with the distance increasing for higher enchantment levels. They can be thrown only if the player is standing in [[water]], or if it is raining on the block they are standing on. If the player charges it but walks into a nearby dry area, the charge is canceled. If the player throws a Riptide trident and collides with a mob, the mob takes melee damage (including critical damage if the player is falling). {{IN|java}} tridents enchanted with Riptide take one durability damage upon throwing, and lose an additional 1 durability if it collides with an entity on both editions. Each level of Riptide increases the distance traveled by six blocks. The enchantment at level one launches the player nine blocks, fifteen blocks at level two, and twenty-one blocks at level three.

Tridents enchanted with [[Channeling]] summon a lightning bolt if there is a thunderstorm, although only upon hitting a mob or player standing in the rain as well as a [[Lightning Rod|lightning rod]] placed in the rain.

Unlike other projectiles, the trident does not slow down when thrown through water or lava.

{{IN|java}}, the [[Impaling]] enchantment affects ''all water mobs''. {{IN|bedrock}}, it deals extra damage to [[player]]s and mobs in water or rain.

Unlike arrows, thrown tridents do not despawn.{{only|bedrock}} Tridents despawn after 60 seconds if they are not picked up.{{only|java}}<ref>{{bug|MC-125817}}</ref>

;Magical damage
Using [[Riptide]], nearby players or mobs are dealt [[Harming|splash damage]] within an 8.25×8.25×4.25 cubical area. It stacks with the [[Impaling]] enchantment and [[Strength]] effect. Critical hits do not increase splash damage, but affect the target. 

{{IN|bedrock}}, thrown tridents can damage the [[ender dragon]] while resting on the bedrock fountain. {{IN|java}}, they act just like arrows — deflected, but burn as if they had [[Flame]].

=== Damage===
Thrown tridents and splashes deal {{hp|8}} damage. The damage remains the same regardless of the trident's speed. It has a faster charging speed than a [[bow]] or [[crossbow]] (barring the [[Quick Charge]] enchantment.)

====Java Edition====

{{IN|java}}, tridents have an attack speed of 1.1 and take ~0.91 seconds to [[Damage#Attack cooldown|recover]].

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
!Attack
!{{ItemSprite|Trident|text=Melee}}
!{{ItemSprite|Trident|text=Melee (critical)}}
!{{ItemSprite|Trident|text=Range}}
|-
!Attack damage
|{{hp|9}}
|{{hp|13.5}}
|{{hp|8}}
|-
!Damage/Second (DPS)<ref group="note">This does not take travel time into account</ref>
|9.9
|14.3
| ?
|-
!Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum'' (e.g., 250 × 9 = 2250). It ignores enchantments and critical hits, and assumes the trident is at maximum charge</ref>
|{{hp|2250}}
|{{hp|3375}}
|{{hp|2000}}
|-
!Durability
| colspan="3" |250
|}
{{notelist}}

====Bedrock Edition====

{{IN|bedrock}}, tridents have no attack cooldown and do the following damage:

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
!Attack
!{{ItemSprite|Trident|text=Melee}}
!{{ItemSprite|Trident|text=Range}}
|-
!Attack damage
|{{hp|9}}
|{{hp|8}}
|-
! ''Lifetime damage inflicted''<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum''. It excludes enchantments and critical hits.</ref>
|{{hp|2259}}
|{{hp|2008}}
|-
!Durability
| colspan="2" |251
|}
{{notelist}}

===Elytra===
A trident with the [[Riptide]] enchantment can be used to propel a player with a pair of [[elytra]], but only in [[rain]]y weather, during snowy weather in certain biomes<ref>{{bug|MC-128169}}</ref> or while the [[player]] is in a body of water. A Riptide trident can boost the player to speeds as high as 125 blocks per second,<ref>{{bug|MC-147173||Using riptide tridents while elytra flying can boost the player to excessive speeds}}</ref> much faster than the 33.5 blocks-per-second speed achievable using [[firework rocket]]s.

===Impaling damage ===

{{IN|java}}, the [[Impaling]] enchantment deals extra damage to all water mobs. {{IN|bedrock}} and in [[Java Edition Combat Test 3]], it deals extra damage to all players and mobs in water or rain.

{| class="wikitable" style="text-align:center" data-description="Trident Damage by Impaling Level" |
|+ Trident Damage by Impaling level
|-
!Level
!Increase
!Melee
!Ranged
|-
|I
| adds {{hp|2.5}}
|{{hp|11.5}}
|{{hp|10.5}}
|-
|II
|adds {{hp|5}}
|{{hp|14}}
|{{hp|13}}
|-
|III
| adds {{hp|7.5}}
|{{hp|16.5}}
|{{hp|15.5}}
|-
|IV
|adds {{hp|10}}
|{{hp|19}}
|{{hp|18}}
|-
|V
|adds {{hp|12.5}}
|{{hp|21.5}}
|{{hp|20.5}}
|}

{{-}}

===Enchantments===

Tridents have a base enchantability of 1 and can receive the following [[enchantment]]s:
{| class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Loyalty]]<ref group="note" name="note1">Loyalty and Channeling are mutually exclusive from Riptide, but not from each other.</ref>
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Channeling]]<ref group="note" name="note1" />
|I
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Riptide]]<ref group="note" name="note1" />
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Impaling]]
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|}
; Notes
<references group="note" />

===Repairing ===
Tridents have the same [[durability]] as an [[sword|iron sword]]. Whenever a trident deals damage, its durability decreases by 1.

Tridents can be repaired by:
*combining two damaged tridents in a [[grindstone]], or on a [[crafting table]] or the 2×2 inventory grid, which removes any enchantments except for [[Curse of Vanishing]] and [[Curse of Binding]]
*combining a damaged trident with another trident on an [[anvil]], which preserves enchantments.
*applying the [[Mending]] enchantment.

==Sounds==
{{Edition|Java}}:<br>
Thrown tridents use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Trident pierce1.ogg
|sound2=Trident pierce2.ogg
|sound3=Trident pierce3.ogg
|subtitle=Trident stabs
|source=neutral
|description=When a trident hits a mob
|id=item.trident.hit
|translationkey=subtitles.item.trident.hit
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Trident ground impact1.ogg
|sound2=Trident ground impact2.ogg
|sound3=Trident ground impact3.ogg
|sound4=Trident ground impact4.ogg
|subtitle=Trident vibrates
|source=neutral
|description=When a trident hits the ground
|id=item.trident.hit_ground
|translationkey=subtitles.item.trident.hit_ground
|volume=0.9
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|subtitle=Trident clangs
|source=player
|description=When a player throws a trident
|id=item.trident.throw
|translationkey=subtitles.item.trident.throw
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Trident thunder1.ogg
|sound2=Trident thunder2.ogg
|subtitle=Trident thunder cracks
|source=neutral
|description=When a Channeling trident hits a mob
|id=item.trident.thunder
|translationkey=subtitles.item.trident.thunder
|volume=5.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Trident thunder cracks
|source=weather
|description=When a trident with Channeling strikes a lightning rod
|id=item.trident.thunder
|translationkey=subtitles.item.trident.thunder
|volume=5.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Riptide I.ogg
|subtitle=Trident zooms
|source=player
|description=When a Riptide I trident is used
|id=item.trident.riptide_1
|translationkey=subtitles.item.trident.riptide
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Riptide II.ogg
|subtitle=Trident zooms
|source=player
|description=When a Riptide II trident is used
|id=item.trident.riptide_2
|translationkey=subtitles.item.trident.riptide
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Riptide III.ogg
|subtitle=Trident zooms
|source=player
|description=When a Riptide III or higher trident is used
|id=item.trident.riptide_3
|translationkey=subtitles.item.trident.riptide
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Trident return1.ogg
|sound2=Trident return2.ogg
|sound3=Trident return3.ogg
|subtitle=Trident returns
|source=neutral
|description=When a trident starts returning <ref group=sound>The first sound is only played {{frac|1|9}} of the time, while the others are played {{frac|4|9}} of the time</ref>
|id=item.trident.return
|translationkey=subtitles.item.trident.return
|volume=8.0
|pitch=''varies'' <ref group=sound>1.0 for <code>return1</code>, 1.0/0.8/1.2/1.2 for <code>return2</code>, and 1.0/0.8/0.8/1.2 for <code>return3</code></ref>
|distance=16}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|subtitle=Drowned throws Trident
|source=hostile
|description=When a drowned shoots a trident
|id=entity.drowned.shoot
|translationkey=subtitles.entity.drowned.shoot
|volume=1.0
|pitch={{frac|5|6}}-1.25
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a trident's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Trident pierce1.ogg
|sound2=Trident pierce2.ogg
|sound3=Trident pierce3.ogg
|source=player
|description=When a trident hits a mob
|id=item.trident.hit
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Trident ground impact1.ogg
|sound2=Trident ground impact2.ogg
|sound3=Trident ground impact3.ogg
|sound4=Trident ground impact4.ogg
|source=player
|description=When a trident hits the ground
|id=item.trident.hit_ground
|volume=0.9
|pitch=1.0}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|source=player
|description=When a player throws a trident
|id=item.trident.throw
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Trident thunder1.ogg
|sound2=Trident thunder2.ogg
|source=player
|description=When a trident with Channeling strikes a mob<ref group="sound">{{Bug|MCPE-43402}}</ref><wbr><ref group=sound>{{bug|MCPE-173931||Tridents don't make channeling sounds when striking a lightning rod}}</ref><wbr>{{Upcoming|BE 1.20.30}}
|id=item.trident.thunder
|volume=1.0<wbr>{{Until|BE 1.20.30}}<br>1000.0<wbr>{{Upcoming|BE 1.20.30}}
|pitch=1.0}}
{{Sound table
|sound=Riptide I.ogg
|source=player
|description=When a Riptide I trident is used
|id=item.trident.riptide_1
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Riptide II.ogg
|source=player
|description=When a Riptide II trident is used
|id=item.trident.riptide_2
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Riptide III.ogg
|source=player
|description=When a Riptide III trident is used
|id=item.trident.riptide_3
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Trident return1.ogg
|sound2=Trident return2.ogg
|sound3=Trident return3.ogg
|source=player
|description=When a trident starts returning <ref group=sound>The first sound is only played {{frac|1|9}} of the time, while the others are played {{frac|4|9}} of the time</ref>
|id=item.trident.return
|volume=8.0
|pitch=''varies'' <ref group=sound>1.0 for <code>return1</code>, 1.0/0.8/1.2/1.2 for <code>return2</code>, and 1.0/0.8/0.8/1.2 for <code>return3</code></ref>}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|source=hostile
|description=When a drowned shoots a trident<ref group="sound">{{Bug|MCPE-53297}}</ref><wbr>{{Upcoming|BE 1.20.30}}
|id=mob.drowned.shoot
|volume=1.0
|pitch=0.8-1.2
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=item
|nameid=trident
|form=item
|foot=1}} 
{{ID table
|edition=java
|showentitytags=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=entity
|nameid=trident
|entitytags=impact_projectiles
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=item
|nameid=trident
|id=546
|form=item
|foot=1}} 
{{ID table
|edition=bedrock
|shownumericids=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=entity
|nameid=thrown_trident
|id=73
|foot=1}}

===Entity data ===
Tridents have entity data associated with them that contain various properties of the entity.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

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

==Achievements==

{{load achievements|Do a Barrel Roll!;Bullseye}}

==Advancements==
{{load advancements|A Throwaway Joke;Very Very Frightening;Not Today;Sniper Duel;Bullseye}}

==History==
{{History|java}}
{{History||November 18, 2017|link={{YouTubeLink|mAapz_nIC_Y}}|A trident was shown killing a [[zombie]] in a clip presented at [[MineCon Earth]].}}
{{History||1.13|snap=18w07a|[[File:Trident.png|60px]] {{InvSprite|Trident Revision 1}} Added tridents, which are currently unobtainable in [[Survival]].}}
{{History|||snap=18w10a|[[File:Trident (item).png|32px]] Tridents now have a new texture in the [[inventory]].}}
{{History|||snap=18w11a|Added [[drowned]] mobs, which can spawn with a trident, allowing tridents to now become obtainable in [[Survival]].}}
{{History|||snap=18w14a|If the [[player]] is not in [[water]] and it is not [[rain]]ing, the player can no longer throw tridents [[enchantment|enchanted]] with [[Riptide]], but they can still deal melee [[damage]].}}
{{History|||snap=18w20a|Like with swords, tridents no longer can break blocks when held in [[Creative]] mode.<ref>{{bug|MC-126300}}</ref>}}
{{History||1.14|snap=18w43a|Thrown tridents can now break [[chorus flower]]s.}}
{{History||1.15|snap=19w39a|[[File:Enchanted Trident.png|60px]] [[File:Enchanted Trident (item).gif|32px]] Tridents that are [[enchanting|enchanted]] now have a glint.
|Trident items use a 3D model again. When dropped, it rotates off center<ref>{{bug|MC-161886}}</ref> (like with beds at the time and shields currently).}}
{{History|||snap=19w42a|Trident items now use the 2D sprite again.<ref>{{bug|MC-161872}}</ref>}}
{{History||1.17|snap=20w48a|Thrown tridents can now break [[pointed dripstone]].}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|Trident-exclusive enchantments are no longer obtainable from villager [[trading]].}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed of tridents has been increased to 2.
|The base [[damage]] of tridents has been decreased from {{hp|9}} to {{hp|7}}.
|The attack reach of tridents has been increased to 4 [[block]]s.}}
{{History|||snap=Combat Test 2|The damage of tridents has been increased to {{hp|8}}.}}
{{History|||snap=Combat Test 4|Tridents can now be shot from [[dispenser]]s.
|Tridents with [[Loyalty]] that fall into the [[void]] now return to their owner upon breaking in the void.
|Tridents with [[Impaling]] now deal [[enchanting|enchantment]] damage to all [[mob]]s that are in [[water]] or [[rain]].}}
{{History|||snap=Combat Test 5|The damage of tridents has been decreased to {{hp|7}} again.}}

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.13.8|[[File:Trident.png|60px]] [[File:Trident (item).png|32px]] Added tridents.
|Tridents are currently a part of [[Experimental Gameplay]].}}
{{History|||snap=beta 1.2.14.2|Tridents have been fully implemented.}}
{{History|||snap=beta 1.2.20.1|A new animation has been added for tridents with [[Riptide]] when they are thrown.}}
{{History||1.5.0|snap=beta 1.5.0.0|Tridents can now be [[enchantment|enchanted]] with [[Mending]] and [[Unbreaking]].}}
{{History|||snap=beta 1.5.0.7|Tridents no longer break [[block]]s in [[Creative]] mode.}}
{{History||1.10.0|snap=beta 1.10.0.3|Thrown tridents can now break [[chorus flower]]s.}}
{{History||1.16.0|snap=beta 1.15.0.51|Drowned can no longer have a trident when converted.|Drowned that are not holding a trident are no longer able to drop one.}}
{{History||1.16.220|snap=beta 1.16.220.50|Tridents are now able to break pointed dripstone.}}
{{History|||snap=beta 1.16.220.51|Drowned now hold their tridents correctly when targeting a player.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Trident.png|60px]] [[File:Trident (item).png|32px]] Added tridents.}}

{{History|education}}
{{History||1.4.0|[[File:Trident.png|60px]] [[File:Trident (item).png|32px]] Added tridents.}}
{{History|foot}}

==Issues==

{{issue list}}

==Trivia==
* If a player throws a Loyalty-enchanted trident and the player's inventory subsequently fills, the trident hovers around or through the player's skin until an inventory slot opens, which it fills immediately. Multiple tridents can be 'queued' to re-enter the player's inventory in this manner.
*{{IN|java}} in Creative mode, sword enchantments can be applied to tridents. This includes Sharpness, Fire Aspect, and Looting. Sharpness, Smite, and Bane of Arthropods increases their damage against their specific mobs, as well.{{more info needed|Does the damage also increase when the trident is thrown?}}
*Thrown tridents pass through [[Nether Portal (block)|nether portal block]]s without being transported to [[the Nether]] or the [[Overworld]].
*Using a trident enchanted with Riptide while riding an entity cancels the charge and does nothing.

==Gallery==
<gallery>
TridentMineconEarth.jpg|Tridents are shown in a clip of Minecon Earth 2017.
Returning trident.jpg|A trident [[enchantment|enchanted]] with [[Loyalty]] returning to the [[player]].
Riptide Trident.png|A player "flying" high in the [[air]] after throwing a trident enchanted with [[Riptide]] III vertically upward.
Trident in ground.png|A trident stuck in [[sand]].
Two-hand drowned.png|A drowned holding a trident and a [[nautilus shell]].
Enchanted Trident (item).gif|An enchanted trident.
Alex with Trident.png|An official T-Shirt design of [[Alex]] with a trident.
Acid Drowned.png|"Acid Drowned," an officially licensed T-Shirt featuring a [[drowned]] with a trident.
ArgoMajor Trident.jpg|First image of a trident in ''Bedrock Edition''.
</gallery>

==References==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--trident Taking Inventory: Trident] – Minecraft.net on January 30, 2020

{{Items}}
{{Entities}}

[[Category:Combat]]

[[de:Dreizack]]
[[es:Tridente]]
[[fr:Trident]]
[[ja:トライデント]]
[[ko:삼지창]]
[[pl:Trójząb]]
[[pt:Tridente]]
[[ru:Трезубец]]
[[th:ตรีศูล]]
[[zh:三叉戟]]</li></ul>
14w04aComparators now measure item frames.
14w28aComparators now measure cakes.
1.9
{{Extension DPL}}<ul><li>[[Charcoal|Charcoal]]<br/>{{Item
| image = Charcoal.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
'''Charcoal''' is an [[item]] obtained by smelting [[log]]s or [[wood]]. It is used as fuel, or for crafting [[torch]]es and [[campfire]]s. Unlike [[coal]], charcoal cannot be traded with [[villager]]s, nor can it be crafted into a [[block of coal]]. Coal and charcoal cannot stack together either. It can be used as a substitute for coal, as both charcoal and coal have an equivalent duration when smelted.

== Obtaining == 

=== Breaking ===

A [[campfire]] broken without the [[Silk Touch]] enchantment drops 2 charcoal.

=== Smelting ===

{{Smelting
 |Any Log; Any Stripped Log; Any Wood; Any Stripped Wood
 |Charcoal
 |foot=1
 |0,15
}}

=== Compound creation ===

Charcoal 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 substitute for compound creator (template not yet available), since the layout is the same, even if the appearance is different -->
!Charcoal
|7 Carbon<br>4 Hydrogen<br>1 Oxygen
|{{Crafting Table
|shapeless= 1
|A2=Carbon,7 |B2=Hydrogen,4 |C2=Oxygen
|Output=Charcoal}}
|}

== Usage ==

=== Crafting ingredient ===

{{crafting usage|Charcoal}}
{{Crafting
|B1= Stick
|A2= Stick
|B2= Coal; Charcoal
|C2= Stick
|A3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|B3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|C3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|Output= Campfire
}}

=== Lab table ingredient ===

Charcoal is one of the [[lab table]] ingredients needed to produce the [[heat block]].{{only|education}}

{| class="wikitable"
! Result
! Materials Needed
|-
!rowspan=2|{{slot|Heat Block.gif}}<br>[[Heat Block]]
|{{slot}}{{slot|Iron|link=Element}}{{slot|Water (compound)|link=Compound}}{{slot|Charcoal}}{{slot|Salt|link=Compound}}{{slot}}
|-
|<center>[[Element|Iron]], [[Water (compound)|Water]], Charcoal, [[Compound|Salt]]</center>
|}

=== Fuel ===

When used in a [[furnace]] as a fuel, a piece of charcoal lasts 80 seconds (smelting up to 8 items), the same as coal. Charcoal used as fuel lasts more than 5 times longer than [[wood planks]] or [[wood]] logs used as fuel, being more efficient than any other use of wood for smelting in ''[[Java Edition]]'', but outstripped by [[wooden slabs]] in Bedrock. 

Coal and charcoal are also the only fuels accepted by [[Minecart with Furnace|furnace minecarts]]. They provide approximately four minutes of transit each.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Charcoal
|spritetype=item
|nameid=charcoal
|itemtags=coals
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Charcoal
|spritetype=item
|nameid=charcoal
|aliasid=coal / 1
|id=303
|itemtags=minecraft:coals
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Renewable Energy}}

== History ==

{{History|java beta}}
{{History||December 25, 2010|link=http://www.minecraftforum.net/topic/131047-lantern-update-incoming/page__st__20#entry1986964| In 0.3.2, charcoal was suggested to [[Markus Persson|Notch]] by [https://twitter.com/Moleculor @Moleculor] on [[wikipedia:Twitter|Twitter]] as a writing implement.}}
{{History||1.2|[[File:Charcoal JE1 BE1.png|32px]] Added charcoal, with the same texture as coal.
|Charcoal is not used as a writing implement.}}
{{History|java}}
{{History||1.2.1|snap=12w04a|Charcoal can now be used to craft [[fire charge]]s.}}
{{History||1.3.1|snap=?|Charcoal is now directly available in the creative inventory.}}
{{History|||snap=1.3|[[File:Charcoal JE2 BE2.png|32px]] The texture of charcoal has been changed.}}
{{History||1.6.1|snap=13w19a|[[File:Charcoal JE3 BE3.png|32px]] The texture of charcoal has been changed.}}
{{History||1.8|snap=14w02a|Charcoal can no longer be [[trading|traded]] from [[villager]]s.}}
{{History||1.13|snap=17w47a|The different data values for the {{code|coal}} ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 263.}}
{{History||1.14|snap=18w43a|[[File:Charcoal JE4 BE4.png|32px]] The texture of charcoal has been changed.}}
{{History|||snap=19w02a|Charcoal can now be used to craft [[campfire]]s. Destroying a campfire returns 2 charcoal.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Charcoal JE1 BE1.png|32px]] Added charcoal, with the same texture as coal. It is not yet obtainable.}}
{{History||v0.3.2|Charcoal is now obtainable by smelting [[log|wood]] in a furnace.}}
{{History||v0.8.0|snap=build 1|[[File:Charcoal JE2 BE2.png|32px]] The texture of charcoal has been changed.}}
{{History||v0.8.1|[[File:Charcoal JE3 BE3.png|32px]] The texture of charcoal has been changed.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.13.8|Added [[stripped log]] variants, which can be [[smelting|smelted]] to obtain charcoal.}}
{{History|||snap=beta 1.2.20.1|Charcoal now can be crafted using 7 Carbon, 4 Hydrogen, and an Oxygen in a [[compound creator]].
|Charcoal can now be used in the [[lab table]] to create a [[heat block]].}}
{{History||1.10.0|snap=beta 1.10.0.3|Charcoal can now be used to craft [[campfire]]s. Destroying a campfire returns 2 charcoal.
|[[File:Charcoal JE4 BE4.png|32px]] The textures of charcoal has been changed.}}
{{History||1.16.0|snap=beta 1.16.0.51|Charcoal are now used to craft [[soul fire torch]]es.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of charcoal has been changed from {{code|coal/1}} to {{code|charcoal}}.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Charcoal JE1 BE1.png|32px]] Added charcoal.}}
{{History||?|[[File:Charcoal JE3 BE3.png|32px]] The texture of charcoal has been changed.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Charcoal JE4 BE4.png|32px]] The texture of charcoal has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Charcoal JE3 BE3.png|32px]] Added charcoal.}}
{{History|foot}}

== Issues ==
{{issue list|Charcoal}}

== How it's renewable ==
Charcoal comes from smelting log. Logs are renewable and charcoal can be used as fuel to smelt logs{{Items}}

[[Category:Renewable resources]]

[[de:Holzkohle]]
[[fr:Charbon (objet)#Charbon de bois]]
[[hu:Faszén]]
[[it:Carbonella]]
[[ko:목탄]]
[[pt:Carvão#Carvão vegetal]]
[[nl:Steenkool#Houtskool]]
[[ru:Уголь#Древесный уголь]]
[[zh:木炭]]</li><li>[[Le Tricolore|Le Tricolore]]<br/>{{Exclusive|Java}}
{{Joke feature}}
{{Item
| image = 
| renewable = Yes
| stackable = Yes (64)
}}

'''Le Tricolore''' (French for ''The Tricolour'') is a joke item from [[Java Edition 23w13a_or_b]].

== Obtaining ==
One le tricolore and one [[la baguette]] is given to all players when [[French mode]] gets activated. Deactivating the mode will remove le tricolore from the player's inventory (but not la baguette; [[container]]s such as [[chest]]s are not affected).

Le Tricolore is not available in the creative inventory, but can be obtained by using the {{cmd|give}} command.

== Data values ==

=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=Le Tricolore
|spritetype=item
|nameid=le_tricolore
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||23w13a or b|[[File:Le Tricolore.png|32px]] Added Le Tricolore.}}
{{History|foot}}

{{Items}}
{{Jokes}}

[[Category:Joke items]]

[[ja:Le Tricolore]]
[[pt:Le Tricolore]]</li></ul>
15w42aWith the addition of the blaze powder fuel slot, brewing stands now have 5 slots instead of 4. Their original comparative power values are listed below:
15w47aComparators' side inputs now take power from redstone blocks.
1.13
{{Extension DPL}}<ul><li>[[Ankle Monitor|Ankle Monitor]]<br/>{{Joke feature}}
{{Item
| title = Ankle Monitor
| image = Ankle Monitor.png
| renewable = No
| stackable = Yes (64)
}}

The '''Ankle monitor''' was a joke foot item.

== Usage ==
Ankle monitors were equipped in the boots slot. In survival mode, when equipped, it could not be taken off. However, players in Creative mode are unaffected.

When equipped, the player would be afflicted with {{EffectLink|Slowness}} I.

During the night, being a certain number of blocks from the world spawn, above a certain minimum,{{checkthecode|how much?}} would prompt the following message in chat: "CURFEW WARNING! You are violating your house arrest! Get back by [distance] meters!"

If in [[the Nether]] or [[the End]], a different set of messages would be cycled through which can be seen in the section below.

=== Nether and End messages ===
* CURFEW WARNING! You are violating your house arrest! Uuuh... where are you anyway?
* CURFEW WARNING! Hello, are you there?
* CURFEW WARNING! I'm sure you have important things to do, but you need to go back!
* CURFEW WARNING! We're lonely back home!
* CURFEW WARNING! By "we" I mean I. I'm lonely.
* CURFEW WARNING! Ok enough games... GET BACK RIGHT NOW!
* CURFEW WARNING! LAST WARNING!
* CURFEW WARNING! LASTEST WARNING (really now)
* CURFEW WARNING! ...
* CURFEW WARNING! So... Where are you?
* CURFEW WARNING! Having a good day?
* CURFEW WARNING! Did you see that monster over there?
* CURFEW WARNING! Give it a whack, if you would be so kind.
* CURFEW WARNING! Teheee...
* CURFEW WARNING! Ok, enough of this!
* CURFEW WARNING! Last straw!
* CURFEW WARNING! Now you die.
* CURFEW WARNING! Boom!
* CURFEW WARNING! Hehe, fun right?
* CURFEW WARNING! Ok, you will not hear anything more from me now!
* CURFEW WARNING! You'll be as lonely as I am.
* CURFEW WARNING! How does that feel?
* CURFEW WARNING! Stop. Please. Stupid.
* CURFEW WARNING! I know, I'll wipe my memory. That way, I can start over!
* CURFEW WARNING! *bzzzzttt*

== Sounds ==
{{Sound table
|sound=Robot1arm1.ogg
|sound2=Robot1arm2.ogg
|sound3=Robot1arm3.ogg
|sound4=Robot1arm4.ogg
|source=dependent
|subtitle=''None''
|description=When a notification is displayed
|id=item.ankle_monitor.warning
|translationkey=''None''
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|shownumericids=y
|showforms=y
|generatetranslationkeys=java
|displayname=Ankle Monitor
|spritetype=item
|nameid=ankle_monitor
|id=501
|form=item
|translationkey=item.ankleMonitor.name
|foot=1}}

== History ==
{{History|java}}
{{History||1.RV-Pre1|[[File:Ankle_Monitor_(item).png|32px]] [[File:Ankle Monitor.png|32px]] Added ankle monitors.}}
{{History||1.11|snap=16w39a|The inability to remove ankle monitors was somewhat implemented into the canonical game through the addition of [[Curse of Binding]].<ref>{{ytl|Vm6oplvyyh0|t=3m31s}}</ref>}}
{{History|foot}}

== Issues ==
Ankle monitors are an unsupported [[item]] due to being an [[Wikipedia:April Fools' Day|April Fools']] joke, and therefore such issues relating to them will not be fixed.

== Gallery ==

<gallery>
TechGear.png|A [[player]] wearing the gear featured in this [[wikipedia:April Fools' Day|April Fools']] joke version.
</gallery>

==References==
{{Reflist}}

{{Items}}
{{Jokes}}

[[Category:Non-renewable resources]]
[[Category:Joke items]]

[[es:Ankle monitor]]</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>
17w47aAll 3 IDs for the redstone comparator got merged into one ID: comparator.
Comparators now render the underside.
Prior to The Flattening, these blocks' numeral IDs were 149 and 150, and the item's 404.
Pocket Edition Alpha
0.14.0
{{Extension DPL}}<ul><li>[[Redstone Dust|Redstone Dust]]<br/>{{Redirect|Redstone|the ore|Redstone Ore|the powered mineral block|Block of Redstone|other uses|Redstone (disambiguation)}}
{{Block
| group = Inactive (connected)
| 1-1= Inactive Redstone Wire (NESW).png
| 1-2 = Inactive Redstone Wire (NESW) BE.png
| group2 = Inactive (unconnected)
| 2-1 = Inactive Redstone Wire (unconnected).png
| 2-2 = Inactive Redstone Wire (unconnected).png
| group3 = Active (connected) 
| 3-1 = Active Redstone Wire (NESW).png
| 3-2 = Active Redstone Wire (NESW) BE.png
| group4 = Active (unconnected)
| 4-1 = Active Redstone Wire (unconnected).png
| 4-2 = Active Redstone Wire (unconnected).png
| image = Redstone Dust JE2 BE2.png
| extratext = [[#Gallery|View all renders]]
| transparent = Yes
| light = No
| tool = all
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Redstone dust''' is a mineral that can transmit [[Redstone circuit#Power|redstone power]] as a wire when placed as a [[block]]. It is also used in [[crafting]] and [[brewing]].

== Obtaining ==
=== Mining ===
{{see also|Redstone Ore#Natural generation}}
[[Redstone ore]] mined using an iron [[pickaxe]] or higher drops 4 or 5 redstone dust (or more with [[Fortune]], averaging at 6 redstone dust with Fortune III). If mined with [[Silk Touch]], the block drops itself instead of redstone dust.

=== Natural generation ===
15 lengths of redstone dust are naturally generated as part of the trap in each [[jungle pyramid]]. 5 lengths of redstone dust can be found in one type of jail cell room in a [[woodland mansion]]. In [[Ancient City|ancient cities]], multiple pieces of redstone dust can be found integrated into circuitry.

=== Breaking ===
Redstone dust can be broken instantly using any tool, or without a tool, and drops itself as an item.

Redstone dust is removed and drops as an item if:
* its attachment block is moved, removed, or destroyed
* [[water]] or [[lava]] flows into its space
* a [[piston]] tries to push it or moves a block into its space

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

=== Chest loot ===
{{LootChestItem|redstone}}

=== Crafting ===
Redstone dust can be crafted from [[blocks of redstone]].
{{Crafting
|Block of Redstone
|Output=Redstone Dust,9
|type=Redstone
}}

=== Smelting ===
{{Smelting
|showname=1
|Redstone Ore; Deepslate Redstone Ore
|Redstone Dust
|0.7
}}

=== Trading ===
{{IN|java}}, novice-level cleric [[villager]]s sell two redstone dust for one [[emerald]].

{{IN|bedrock}}, novice-level cleric villagers sell four redstone dust for one emerald.

=== Villager gifts ===
{{see also|Tutorials/Raid farming}}
{{IN|Java}}, when the player has the [[Hero of the Village]] status effect, clerics might throw that player a redstone dust as a gift.

== Usage ==
Redstone dust is used for [[#Brewing ingredient|brewing]], [[#Crafting ingredient|crafting]], and in redstone circuits by placing it on the ground to create [[#Redstone component|redstone wire]]. It can also be used to power redstone components.

=== Brewing ingredient ===
{{Brewing
  |head=1
  |Redstone Dust
  |Mundane Potion
  |base=Water Bottle
}}
{{Brewing
  |foot=1
  |name=Increased Duration
  |Redstone Dust
  |showbase=1
  |base=Potion of Fire Resistance; Potion of Invisibility; Potion of Night Vision; Potion of Poison; Potion of Regeneration; Potion of Slowness; Potion of Strength; Potion of Swiftness; Potion of Water Breathing; Potion of Weakness; Potion of Leaping; Potion of Slow Falling
}}

=== Crafting ingredient ===
{{crafting usage|Redstone Dust}}

=== {{anchor|Redstone dust}} Redstone component ===
When placed in the world, redstone dust becomes a block of "redstone wire"{{Info needed|other blco? BE?}}, which can transmit [[Redstone circuit#Power|redstone power]].

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

;Trim color palette
The following color palette is shown on the designs on trimmed armor:
*{{TrimPalette|redstone dust}}

=== Placement ===
[[File:Redstone wire as circuit component.png|Examples of redstone wire configuration. ''Top Left:'' Redstone wire connects diagonally vertically through non-opaque blocks. ''Top Right:'' Redstone wire does ''not'' connect diagonally vertically through opaque blocks. ''Center:'' Redstone wire gets darker as its power level drops, to a maximum of 15 blocks from a power source.|thumb]]
[[File:Redstone on Glowstone, Stairs, Slabs.png|Examples of redstone wire placements.|thumb]]
Redstone dust can be placed on [[opaque]] blocks as well as [[glowstone]], upside-down [[slab]]s, [[glass]], upside-down [[stairs]], and [[hopper]]s. It can also be placed on some transparent blocks; see [[Opacity/Placement]] for more information. It cannot be placed suspended in midair, even with commands, which is not unintentional.<ref>{{bug|MC-182709}}</ref>

Redstone wire configures itself to point toward adjacent redstone [[Redstone components#Power components|power components]] and [[Redstone components#Transmission components|transmission component]] connection points. Redstone wire also configures itself to point toward adjacent redstone wire one block higher or lower – unless there is a solid opaque block above the lower redstone wire.

If there is only one such adjacent redstone component, redstone wire configures itself into a {{BlockSprite|redstone-dust}} line pointing both at the neighbor and away from it. If there are two or more such adjacent components, redstone wire connects them in the form of {{BlockSprite|redstone-dust}}, {{BlockSprite|redstone-dust-upleft}}, {{BlockSprite|redstone-dust-t-up}}, or {{BlockSprite|redstone-dust-cross}} as needed.

When there are no adjacent components, a single redstone wire configures itself into a {{BlockSprite|redstone-dust-cross}} plus sign, which can provide power in all four directions. By right-clicking it can be changed into a {{BlockSprite|redstone-dust-dot}} dot, which does not provide power to any of the four directions.

{{IN|bedrock}}, redstone wire automatically configures itself to point toward adjacent blocks or [[Redstone components#Mechanism components|mechanism components]]. {{IN|java}}, it does not. If such a configuration is desired, the other neighbors of the redstone wire must be arranged to create it, i.e the redstone dust must be placed in a way that it would be pointed at the block’s location even if it were not there.

When redstone wire is reconfigured after placement, it does not update other redstone components around it of the change unless that reconfiguration also includes a change in power level or another component provides an update. This can create situations where a mechanism component remains activated when it shouldn't, or vice versa, until it receives an update from something else – a "feature" of redstone wire that can be used to make a [[BUD|block update detector]].

{{-}}

=== Behavior ===
{{Schematic|caption=

{{IN|be}}, the signal can go down from glass blocks.

 |||rd-$ew!|RL-!||||rd-$ew!|RL-!|-
 |rt-$!|rd-$ew!|SB|||rt-$!|rd-$ew!|glass||-
 |ts-$|SB|rd-$ew|RL||ts-$|SB|rd-$ew!|RL-!

}}{{Schematic|caption =

However, the signal can never go down from slabs.

 |||rd-$ew!|RL-!||||rd-$ew!|RL-!|-
 |rt-$!|rd-$ew!|SB|||rt-$!|rd-$ew!|glass||-
 |ts-$|ts-$|rd-$ew|RL||ts-$|ts-$|rd-$ew|RL
}}

Redstone wire can transmit power, which can be used to operate [[Redstone components#Mechanism components|mechanism components]] ([[door]]s, [[piston]]s, [[redstone lamp]]s, etc.).
Redstone wire can be "powered" by a number of methods:
* from an adjacent [[Redstone components#Power components|power component]] or a strongly-powered block
* from the output of a redstone repeater or redstone comparator
* from adjacent redstone wire. The powering dust can be a level higher or lower, but with restrictions:
** Redstone dust can be powered by redstone dust that is one level lower, or on an [[opaque]] block one level higher. A transparent block cannot{{only|java}} pass power downward.
** The block "between" the two dust blocks must be air or transparent. A solid block there "cuts" the connection between the higher and lower dust.

The "power level" of redstone dust can vary from 0 to 15. Most power components power-up adjacent redstone dust to power level 15, but a few ([[daylight sensor]]s, [[trapped chest]]s, and [[weighted pressure plate]]s) may create a lower power level. Redstone repeaters output power level 15 (when turned on), but [[redstone comparator]]s may output a lower power level.

{{Schematic | caption =

Redstone wire can transmit power up to 15 blocks.

 |rt-$!|rd-$ew!+15|rd-$ew!+14|rd-$ew!+13|rd-$ew!+12|rd-$ew!+11|rd-$ew!+10|rd-$ew!+9
 |rd-$ew!+8|rd-$ew!+7|rd-$ew!+6|rd-$ew!+5|rd-$ew!+4|rd-$ew!+3|rd-$ew!+2|rd-$ew!+1|rd-$ew+0

}}
Power level drops by 1 for every block of redstone wire it crosses. Thus, redstone wire can transmit power for no more than 15 blocks. To go further, the power level must be re-strengthened – typically with a redstone repeater.

Powered redstone wire on top of, or pointing at, an opaque block provides ''weak'' power to the block. A weakly-powered block cannot power other adjacent redstone wire, but can still power redstone repeaters and comparators, and activate adjacent mechanism components. Transparent blocks cannot be powered.

When redstone wire is unpowered, it appears dark red. When powered, it becomes bright red at power level 15, fading to darker shades with decreasing power. Powered redstone wire also produces "dust" [[particles]] of the same color.

While redstone wire always provides power to the directions it points into, it can still point into directions in which it cannot give power. If redstone wire comes in the form of a cross, the player can right-click to toggle it between a cross and dot. A redstone dot does not power anything adjacent to it, but powers the block under it.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Redstone Dust
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=redstone-dust
|spritetype=block
|nameid=redstone_wire
|form=block}}
{{ID table
|displayname=Item
|spritename=redstone-dust
|spritetype=item
|nameid=redstone
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Dust
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=redstone-dust
|spritetype=block
|nameid=redstone_wire
|id=55
|form=block}}
{{ID table
|displayname=Item
|spritename=redstone-dust
|spritetype=item
|nameid=redstone
|id=373
|form=item
|foot=1}}

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

{{/BS}}

{{LoadPage|Redstone Dust/Asset history|List of block state combinations|h4}}

== Achievements ==
{{load achievements|Dispense With This}}

== Video ==
{{Video note|These videos do not show all uses for redstone in crafting and all methods of obtaining. This video is also outdated, as of 1.13 Java Edition, redstone is now called Redstone Dust.}}

<div style="text-align:center">
<span style="display:inline-block">{{yt|zldqknGFWb4}}</span>
<span style="display:inline-block">{{yt|_IApwvCLJW8}}</span>
</div>

== History ==
{{History||May 21, 2009|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/110762705/my-list-on-tile-types-so-far|[[Notch]] shows interest in adding wire-type [[block]]s.}}
{{History|java alpha}}
{{History||v1.0.1|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone dust as an [[item]].
|[[File:Inactive Redstone Wire (NS) JE1.png|32px]] [[File:Inactive Redstone Wire (EW) JE1.png|32px]] [[File:Inactive Redstone Wire (NE) JE1.png|32px]] [[File:Inactive Redstone Wire (ES) JE1.png|32px]] [[File:Inactive Redstone Wire (SW) JE1.png|32px]] [[File:Inactive Redstone Wire (NW) JE1.png|32px]] [[File:Inactive Redstone Wire (NEW) JE1.png|32px]] [[File:Inactive Redstone Wire (NES) JE1.png|32px]] [[File:Inactive Redstone Wire (ESW) JE1.png|32px]] [[File:Inactive Redstone Wire (NSW) JE1.png|32px]] [[File:Inactive Redstone Wire (NESW) JE1.png|32px]]<br>[[File:Active Redstone Wire (NS) JE1.png|32px]] [[File:Active Redstone Wire (EW) JE1.png|32px]] [[File:Active Redstone Wire (NE) JE1.png|32px]] [[File:Active Redstone Wire (ES) JE1.png|32px]] [[File:Active Redstone Wire (SW) JE1.png|32px]] [[File:Active Redstone Wire (NW) JE1.png|32px]] [[File:Active Redstone Wire (NEW) JE1.png|32px]] [[File:Active Redstone Wire (NES) JE1.png|32px]] [[File:Active Redstone Wire (ESW) JE1.png|32px]] [[File:Active Redstone Wire (NSW) JE1.png|32px]] [[File:Active Redstone Wire (NESW) JE1.png|32px]] Added redstone dust as a placed [[block]]. 
|Redstone dust as a placed block has two power appearances; either completely on, or completely off.
|Redstone dust is used to craft [[redstone torch]]es.
|At this time, redstone has not been given an official name.}}
{{History||v1.0.2_01|Redstone dust now doesn't connect through solid [[block]]s diagonally down.{{needs testing|may have been changed in v1.0.2|type=untestable}}
|Walking on redstone dust no longer [[breaking|breaks]] it.{{needs testing|may have been changed in v1.0.2|type=untestable}}
|Active redstone dust now gives off [[particles]].{{needs testing|may have been changed in v1.0.2|type=untestable}}}}
{{History||v1.1.0|Redstone is now used to craft [[compass]]es.}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|Redstone is now used to craft [[clock]]s.}}
{{History|java beta}}
{{History||1.0|With the addition of inventory tooltips, the [[item]] form of redstone dust has been named "Redstone", and the usually unobtainable block form has been named "Redstone Dust".}}
{{History||1.2|Redstone is now used to craft [[dispenser]]s and [[note block]]s.}}
{{History||1.3|[[File:Inactive Redstone Wire (NS) JE2.png|32px]] [[File:Inactive Redstone Wire (EW) JE2.png|32px]] [[File:Inactive Redstone Wire (NE) JE2.png|32px]] [[File:Inactive Redstone Wire (ES) JE2.png|32px]] [[File:Inactive Redstone Wire (SW) JE2.png|32px]] [[File:Inactive Redstone Wire (NW) JE2.png|32px]] [[File:Inactive Redstone Wire (NEW) JE2.png|32px]] [[File:Inactive Redstone Wire (NES) JE2.png|32px]] [[File:Inactive Redstone Wire (ESW) JE2.png|32px]] [[File:Inactive Redstone Wire (NSW) JE2.png|32px]] [[File:Inactive Redstone Wire (NESW) JE2.png|32px]]<br>[[File:Active Redstone Wire (NS) JE2.png|32px]] [[File:Active Redstone Wire (EW) JE2.png|32px]] [[File:Active Redstone Wire (NE) JE2.png|32px]] [[File:Active Redstone Wire (ES) JE2.png|32px]] [[File:Active Redstone Wire (SW) JE2.png|32px]] [[File:Active Redstone Wire (NW) JE2.png|32px]] [[File:Active Redstone Wire (NEW) JE2.png|32px]] [[File:Active Redstone Wire (NES) JE2.png|32px]] [[File:Active Redstone Wire (ESW) JE2.png|32px]] [[File:Active Redstone Wire (NSW) JE2.png|32px]] [[File:Active Redstone Wire (NESW) JE2.png|32px]] Redstone wire gets darker the farther away it is from a source of power, using a dedicated [[tint]] system. Previously, it was fully on until it reached its limit.
|Its particles now appear gray due to not being tinted.
|Redstone is now used to craft [[redstone repeater]]s.}}
{{History||1.5|[[File:Inactive Redstone Wire (NS) JE3.png|32px]] [[File:Inactive Redstone Wire (EW) JE3.png|32px]] [[File:Inactive Redstone Wire (NE) JE3.png|32px]] [[File:Inactive Redstone Wire (ES) JE3.png|32px]] [[File:Inactive Redstone Wire (SW) JE3.png|32px]] [[File:Inactive Redstone Wire (NW) JE3.png|32px]] [[File:Inactive Redstone Wire (NEW) JE3.png|32px]] [[File:Inactive Redstone Wire (NES) JE3.png|32px]] [[File:Inactive Redstone Wire (ESW) JE3.png|32px]] [[File:Inactive Redstone Wire (NSW) JE3.png|32px]] [[File:Inactive Redstone Wire (NESW) JE3.png|32px]]<br>[[File:Active Redstone Wire (NS) JE3.png|32px]] [[File:Active Redstone Wire (EW) JE3.png|32px]] [[File:Active Redstone Wire (NE) JE3.png|32px]] [[File:Active Redstone Wire (ES) JE3.png|32px]] [[File:Active Redstone Wire (SW) JE3.png|32px]] [[File:Active Redstone Wire (NW) JE3.png|32px]] [[File:Active Redstone Wire (NEW) JE3.png|32px]] [[File:Active Redstone Wire (NES) JE3.png|32px]] [[File:Active Redstone Wire (ESW) JE3.png|32px]] [[File:Active Redstone Wire (NSW) JE3.png|32px]] [[File:Active Redstone Wire (NESW) JE3.png|32px]] Fully off redstone wire is no longer black.
|Redstone dust can now be placed on [[snow]].
|Redstone is now used to craft [[powered rail]]s and [[detector rail]]s.}}
{{History||1.6.6|Redstone dust now checks if the block below has a solid top face or [[glowstone]], allowing it to be placed on it.}}
{{History||1.7|Redstone dust now connects to a [[redstone repeater|repeater]] without the dust being explicitly pointed at it.
|Redstone can now be used to craft [[piston]]s.}}
{{History||1.8|snap=Pre-release|Redstone can now be found in the new [[stronghold]] storeroom [[chest]]s, and in the new [[mineshaft]] chests.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Redstone can now be [[brewing|brewed]] in a [[water bottle]] to create a [[mundane potion]].
|Redstone can now be found in the new [[stronghold]] altar [[chest]]s.
|Redstone now extends the [[potion]]s of [[Fire Resistance]], [[Slowness]], [[Swiftness]], [[Poison]], [[Weakness]] and [[Strength]].}}
{{History|||snap=Beta 1.9 Prerelease 4|Redstone now extends the new potion of [[Regeneration]].}}
{{History|||snap=RC1|[[File:Inactive Redstone Wire (unconnected) JE1.png|32px]] <br>[[File:Active Redstone Wire (unconnected) JE1.png|32px]] Redstone dust placement on one [[block]] has been changed from a "+" to a "•" shape.}}
{{History||?|Redstone wire block particles are now correctly colored.}}
{{History||1.1|snap=11w49a|Fixed redstone update bug.{{more info}}}}
{{History||1.2.1|snap=12w06a|Redstone can now be placed on [[glowstone]].}}
{{History|||snap=12w07a|Redstone is now used to craft [[redstone lamp]]s.}}
{{History||1.3.1|snap=12w21a|Redstone can now be [[trading|bought]] from priest [[villager]]s, at 2–4 redstone for 1 [[emerald]], making them [[renewable]].}}
{{History|||snap=12w22a|Redstone dust now generates in [[jungle temple]]s.}}
{{History|||snap=12w25a|Redstone dust can now be placed on top of upside-down [[slabs]] and [[stairs]].}}
{{History||1.4.2|snap=12w34a|Redstone now extends the new [[potion]]s of [[Night Vision]] and [[Invisibility]].}}
{{History|||snap=12w38a|[[Witch]]es have been added, which sometimes [[drops|drop]] redstone when killed.}}
{{History||1.5|snap=13w01a|Redstone can now be used to craft [[blocks of redstone]] and [[dropper]]s.}}
{{History||1.7.2|snap=13w36a|Redstone now extends the new [[potion]] of [[Water Breathing]].}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: cleric [[villager]]s now [[trading|sell]] 1–4 redstone for 1 [[emerald]].}}
{{History|||snap=14w25a|Redstone dust no longer changes to [[obsidian]] next to water when [[lava]] flows into it.}}
{{History|||snap=14w27a|Redstone now extends the new [[potion]] of [[Leaping]].}}
{{History||1.9|snap=15w31a|[[File:Inactive Redstone Wire (unconnected) JE2.png|32px]] [[File:Inactive Redstone Wire (NS) JE4.png|32px]] [[File:Inactive Redstone Wire (EW) JE4.png|32px]] [[File:Inactive Redstone Wire (NE) JE4.png|32px]] [[File:Inactive Redstone Wire (ES) JE4.png|32px]] [[File:Inactive Redstone Wire (SW) JE4.png|32px]] [[File:Inactive Redstone Wire (NW) JE4.png|32px]] [[File:Inactive Redstone Wire (NEW) JE4.png|32px]] [[File:Inactive Redstone Wire (NES) JE4.png|32px]] [[File:Inactive Redstone Wire (ESW) JE4.png|32px]] [[File:Inactive Redstone Wire (NSW) JE4.png|32px]] [[File:Inactive Redstone Wire (NESW) JE4.png|32px]]<br>[[File:Active Redstone Wire (unconnected) JE2.png|32px]] [[File:Active Redstone Wire (NS) JE4.png|32px]] [[File:Active Redstone Wire (EW) JE4.png|32px]] [[File:Active Redstone Wire (NE) JE4.png|32px]] [[File:Active Redstone Wire (ES) JE4.png|32px]] [[File:Active Redstone Wire (SW) JE4.png|32px]] [[File:Active Redstone Wire (NW) JE4.png|32px]] [[File:Active Redstone Wire (NEW) JE4.png|32px]] [[File:Active Redstone Wire (NES) JE4.png|32px]] [[File:Active Redstone Wire (ESW) JE4.png|32px]] [[File:Active Redstone Wire (NSW) JE4.png|32px]] [[File:Active Redstone Wire (NESW) JE4.png|32px]] Some slight changes have been made to redstone wire's appearance - the dot now extends outward with two more pixels, and the south-facing section of bends, T shapes and crosses now has one fewer pixel. It also appears straighter and more continuous in straight wire form.
|Redstone can no longer be added to extended [[potion]]s or tier-II potions.}}
{{History|||snap=15w44a|The average yield of redstone from [[dungeon]] [[chest]]s has been cut by more than half.
|The average yield of redstone in [[mineshaft]] chests has been increased.}}
{{History|||snap=15w46a|The hitbox of redstone now covers only part of the surface of the [[block]] below, based on the orientation of the redstone.}}
{{History||1.11|snap=16w39a|Redstone dust can now be found in chests in [[woodland mansion]]s.
|Redstone can now used to craft [[observer]]s.}}
{{History||1.13|snap=17w47a|The [[item]] form of "Redstone" has been renamed to "Redstone Wire".
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 55, and the [[item]]'s 331.}}
{{History|||snap=17w48a|"Redstone" has been renamed to "Redstone Dust".}}
{{History|||snap=18w07a|Redstone now extends the new [[potion of the Turtle Master]].}}
{{History||1.14|snap=18w43a|[[File:Redstone Dust JE2 BE2.png|32px]] The texture of redstone dust has been changed.}}
{{History|||snap=18w50a|Redstone dust can now be found in chests in [[village]] temples.}}
{{History|||snap=19w12b|Redstone dust can now be placed on [[glass]], [[ice]] and [[sea lantern]]s.}}
{{History|||snap=19w13a|Cleric villagers now give redstone dust to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|Redstone dust now has a bottom texture.}}
{{History|||snap=20w09a|Redstone can now be used to craft [[target]]s.}}
{{History|||snap=20w18a|Redstone dust placement on one [[block]] has been changed from a "•" back to a "+" shape.
|Redstone dust's hitbox is now no longer strictly a cuboid, and more closely matches the shape of the wiring.<ref>{{bug|MC-137336}}</ref>
|Upward going redstone dust now has a hitbox on the side of the [[block]] too, rather than only on the floor.<ref>{{bug|MC-153508}}</ref>
|Unconnected redstone dust now has all direction block states set to "side".
|The direction block states of redstone dust are now properly set to "side" at the end of a redstone wire on both ends, rather than only the one with other redstone besides it.
|[[File:Inactive Redstone Wire (N).png|32px]] [[File:Inactive Redstone Wire (E).png|32px]] [[File:Inactive Redstone Wire (S).png|32px]] [[File:Inactive Redstone Wire (W).png|32px]]<br>[[File:Active Redstone Wire (N).png|32px]] [[File:Active Redstone Wire (E).png|32px]] [[File:Active Redstone Wire (S).png|32px]] [[File:Active Redstone Wire (W).png|32px]] While not accessible in normal gameplay, redstone dust that points into one side, but not the opposite, now visually reaches halfway across the [[block]].}}
{{History|||snap=20w19a|Redstone dust now visually connects when going up [[soul sand]], 8-layer [[snow]] stacks and the back side of upside-down [[stairs]].
|[[Particles]] are now generated across the length of the redstone wire rather than the center of the [[block]].}}
{{History|||snap=20w21a|Redstone dust placement on one [[block]] is now toggleable between a "+" and a "•" shape, by {{control|interacting}} with it.}}
{{History||1.17|snap=21w08a|Redstone dust can now drop and be smelted from [[deepslate redstone ore]].}}
{{History||1.19|snap=22w13a|Redstone wire now generates in [[Ancient City|ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Redstone dust can now be used as an armor trim material.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone as an [[item]]. 
|Redstone is now [[drops|dropped]] when [[breaking|mined]] from [[redstone ore]].
|Redstone can be used to craft [[compass]]es and [[clock]]s.}}
{{History|||snap=build 2|Redstone can now be used to craft [[powered rail]]s.}}
{{History||v0.11.0|snap=build 1|Redstone is now used to craft [[redstone block]]s.}}
{{History||v0.12.1|snap=build 1|Redstone has been added to the [[Creative]] [[inventory]], but it still cannot be placed. }}
{{History||v0.13.0|snap=build 1|Redstone can now be placed.
|Redstone is now used to craft [[redstone lamp]]s, [[note block]]s, [[detector rail]]s and [[redstone torch]]es.}}
{{History||v0.14.0|snap=build 1|Redstone is now used to craft [[dispenser]]s and [[dropper]]s.}}
{{History||v0.15.0|snap=build 1|Redstone is now used to craft [[piston]]s and [[observer]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Cleric [[villager]]s now [[trading|sell]] 1–4 redstone for an [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone can now be found in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||?|[[File:Inactive Redstone Wire (NE) BE.png|32px]] [[File:Inactive Redstone Wire (ES) BE.png|32px]] [[File:Inactive Redstone Wire (SW) BE.png|32px]] [[File:Inactive Redstone Wire (NW) BE.png|32px]] [[File:Inactive Redstone Wire (NEW) BE.png|32px]] [[File:Inactive Redstone Wire (NES) BE.png|32px]] [[File:Inactive Redstone Wire (ESW) BE.png|32px]] [[File:Inactive Redstone Wire (NSW) BE.png|32px]] [[File:Inactive Redstone Wire (NESW) BE.png|32px]]<br>[[File:Active Redstone Wire (NE) BE.png|32px]] [[File:Active Redstone Wire (ES) BE.png|32px]] [[File:Active Redstone Wire (SW) BE.png|32px]] [[File:Active Redstone Wire (NW) BE.png|32px]] [[File:Active Redstone Wire (NEW) BE.png|32px]] [[File:Active Redstone Wire (NES) BE.png|32px]] [[File:Active Redstone Wire (ESW) BE.png|32px]] [[File:Active Redstone Wire (NSW) BE.png|32px]] [[File:Active Redstone Wire (NESW) BE.png|32px]]<br>Placed redstone now assumes its current appearance with a more solid center. Its linear state appearences are unknown.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Dust JE2 BE2.png|32px]] The texture of redstone has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone can now be found in [[desert]] [[village]] temple [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Cleric [[villager]]s now [[trading|sell]] 4 redstone as part of their first tier [[trading|trade]].}}
{{History||1.16.210|snap=beta 1.16.210.57|"Redstone" has been renamed to "Redstone Dust".}}
{{History||1.17.0|snap=beta 1.16.230.52|Redstone dust can now drop and be smelted from [[deepslate redstone ore]].}}
{{History||1.19.0|snap=beta 1.19.0.26|Redstone wire now generates in [[Ancient City|ancient cities]].}}
{{History||1.19.80|snap=beta 1.19.80.21|Redstone dust can now be used as an armor trim material.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone.}}
{{History||xbox=TU3|Redstone now connects to a [[redstone repeater|repeater]] without the dust being explicitly pointed at it.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Dust JE2 BE2.png|32px]] The texture of redstone has been changed.}}
{{History||ps=1.95|Redstone can now be placed on [[glass]].}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone dust.}}
{{History|foot}}

=== Redstone wire "item" ===
{{:Technical blocks/Redstone Wire}}

== Gallery ==
=== Renders ===
; Java Edition
<gallery>
Inactive Redstone Wire (NESW).png | 
Inactive Redstone Wire (unconnected).png | 
Inactive Redstone Wire (NS).png | 
Inactive Redstone Wire (EW).png | 
Inactive Redstone Wire (NE).png | 
Inactive Redstone Wire (ES).png | 
Inactive Redstone Wire (SW).png | 
Inactive Redstone Wire (NW).png | 
Inactive Redstone Wire (NEW).png | 
Inactive Redstone Wire (NES).png | 
Inactive Redstone Wire (ESW).png | 
Inactive Redstone Wire (NSW).png
</gallery>
<gallery>
Active Redstone Wire (NESW).png | 
Active Redstone Wire (unconnected).png | 
Active Redstone Wire (NS).png | 
Active Redstone Wire (EW).png | 
Active Redstone Wire (NE).png | 
Active Redstone Wire (ES).png | 
Active Redstone Wire (SW).png | 
Active Redstone Wire (NW).png | 
Active Redstone Wire (NEW).png | 
Active Redstone Wire (NES).png | 
Active Redstone Wire (ESW).png | 
Active Redstone Wire (NSW).png
</gallery>

; Bedrock Edition
<gallery>
Inactive Redstone Wire (NESW) BE.png | 
Inactive Redstone Wire (NESW) BE.png | 
Inactive Redstone Wire (NS).png | 
Inactive Redstone Wire (EW).png | 
Inactive Redstone Wire (NE) BE.png | 
Inactive Redstone Wire (ES) BE.png | 
Inactive Redstone Wire (SW) BE.png | 
Inactive Redstone Wire (NW) BE.png | 
Inactive Redstone Wire (NEW) BE.png | 
Inactive Redstone Wire (NES) BE.png | 
Inactive Redstone Wire (ESW) BE.png | 
Inactive Redstone Wire (NSW) BE.png
</gallery>
<gallery>
Active Redstone Wire (NESW) BE.png | 
Active Redstone Wire (NESW) BE.png | 
Active Redstone Wire (NS).png | 
Active Redstone Wire (EW).png | 
Active Redstone Wire (NE) BE.png | 
Active Redstone Wire (ES) BE.png | 
Active Redstone Wire (SW) BE.png | 
Active Redstone Wire (NW) BE.png | 
Active Redstone Wire (NEW) BE.png | 
Active Redstone Wire (NES) BE.png | 
Active Redstone Wire (ESW) BE.png | 
Active Redstone Wire (NSW) BE.png
</gallery>

=== Screenshots ===
<gallery>
Slab Stair Redstone.png|First image of redstone dust on top of slabs and stairs.
File:Olivia Tinkering.jpeg|[[Olivia]] using a scarce amount of redstone dust.
File:23w32a.jpg|[[Sunny]] using a very long strip of redstone dust.
</gallery>

=== In other media ===
<gallery>
Powered By Redstone JINX.jpg|Official T-shirt artwork "Powered By Redstone" made by [https://www.jinx.com JINX].
File:Redstone Behind Chiseled Bookshelf Pixel Art.png|Pixel art of redstone dust.
</gallery>

== Issues ==
{{issue list|redstone|redstone dust|redstone wire}}

== Trivia ==
* Five updates for [[wikipedia:Windows 10 version history|Windows 10]] released from 2016 to 2018 were codenamed "Redstone", referencing ''Minecraft''.<ref>{{link|url=https://www.theverge.com/2015/4/7/8364355/microsoft-redstone-windows-updates|title=Microsoft plans ‘Redstone’ updates for Windows 10 in 2016|author=Tom Warren|website=The Verge|date=April 7, 2015}}</ref>
* The block has 1,296 possible block state combinations, the highest of all blocks as of 1.15.2, beating [[fire]]'s 512 and [[note block]]'s 800.
* According to {{el|ee}}, redstone dust contains radioactive [[element]]s.

== References ==
{{Reflist}}

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

[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Mechanics]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]
[[Category:Brewing recipe]]

[[cs:Rudit]]
[[de:Redstone]]
[[el:Σκόνη Κοκκινόπετρας]]
[[es:Polvo de redstone]]
[[fr:Poudre de redstone]]
[[hu:Redstone]]
[[it:Polvere di redstone]]
[[ja:レッドストーンダスト]]
[[ko:레드스톤 가루]]
[[nl:Redstonestof]]
[[pl:Redstone]]
[[pt:Pó de redstone]]
[[ru:Красная пыль]]
[[th:ผงเรดสโตน]]
[[tr:Kızıltaş]]
[[uk:Редстоун]]
[[zh:红石粉]]</li><li>[[Cake|Cake]]<br/>{{Distinguish|Pumpkin Pie}}
{{Block
| title = Cake
| image = <gallery>
Cake.png|0 bites
Cake (1 bite).png|1 bite
Cake (2 bites).png|2 bites
Cake (3 bites).png|3 bites
Cake (4 bites).png|4 bites
Cake (5 bites).png|5 bites
Cake (6 bites).png|6 bites
</gallery>
|image2 = <gallery>
Cake with Candle.png|Unlit
Candle Cake (lit).png|Lit
</gallery>
| extratext = [[#Gallery|View all renders]]
| transparent = Yes
| light = '''Candle Cake''': Yes (3) when lit<br>'''Cake''': No
| tool = any
| renewable = Yes
| stackable = Yes (64){{only|bedrock|short=1}}<br>No{{only|java|short=1}}
| flammable = No
| lavasusceptible = No
}}

'''Cake''' is a [[food]] and a block that can be eaten by the player.

A '''cake with candle''' is a light-producing variation created when a [[candle]] is used on an uneaten cake.

== Obtaining ==

=== Breaking ===

Once the cake is placed, it cannot be recollected even with the use of [[Silk Touch]]. Candle cakes always drop their respective [[candle]] when broken.
{{breaking row|horizontal=1|Cake|drop=0}}

=== Chest loot ===
{{LootChestItem|cake}}

=== Crafting ===

{{Crafting
|A1=Milk Bucket
|B1=Milk Bucket
|C1=Milk Bucket
|A2=Sugar
|B2=Egg
|C2=Sugar
|A3=Wheat
|B3=Wheat
|C3=Wheat
|Output=Cake
|type=Foodstuff
|showdescription=1
|description= Empty [[bucket]]s remain in the crafting grid after crafting the cake.
}}

=== Trading ===

Expert-level farmer [[villager]]s can [[trading|sell]] cake for a single [[emerald]] each. The chance is {{frac|2|7}} {{in|je}}.

== Usage ==

{{see also|Tutorials/Hunger management}}

Unlike most [[food]], the cake cannot be eaten as an [[item]] in the hotbar. Before being eaten, it must first be placed on top of a solid [[block]]. Placing the cake on a slab also works, as the slab acts like a solid block. The cake instead floats half a block on top of the slab.

Each cake has seven "slices"; each use consumes one slice progressing inward from the west. A single slice restores {{hunger|2}} hunger and 0.4 hunger [[Hunger#Mechanics|saturation]]. Eating all seven slices of a cake restores {{hunger|14}} hunger and 2.8 hunger saturation.

Since eating a cake comes with no animation, the cake can be eaten at a rate of one slice per [[tick]]. Multiple [[player]]s can eat from the same cake at the same time. {{IN|java}}, eating cake makes no [[sound]], unlike other foods.

As a [[redstone]] component, when connected to a [[comparator]], a whole cake emits a signal strength of 14. The signal strength decreases two units with each slice.

Cake destroys [[Entity#Falling Blocks|falling blocks]] if placed under them, similar to a [[torch]].

=== Pandas ===
Some [[panda]]s move toward a dropped cake to pick up and eat it. Some may not, depending on the cake's location. 

=== Composting ===
Placing a cake into a [[composter]] raises the compost level by 1.

=== Piston interactivity ===
A cake is broken when pushed by a [[piston]], and it drops nothing.

=== Cakes with candles ===
[[File:Cake with Candle.png|thumb|upright|A cake with candle created by placing a candle on an uneaten cake.]]
{{control|Using}} a [[candle]] on an uneaten cake creates a candle cake of that color (including uncolored). Eating the cake causes the candle to drop. 

{{control|Using}} [[flint and steel]], [[fire charge]], or any flaming projectile on an unlit candle cake lights its candle. Lit candle cakes emit light level of 3. Clicking on the lit candle (but not the cake) extinguishes it.

== Sounds ==
=== Generic ===
{{Sound table/Block/Wool}}

=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Cake add_candle1.ogg
|sound2=Cake add_candle2.ogg
|sound3=Cake add_candle3.ogg
|subtitle=Cake squishes
|source=Blocks
|description=When a [[candle]] is placed on a cake
|id=block.cake.add_candle
|translationkey=subtitles.block.cake.add_candle
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Cake add_candle1.ogg
|sound2=Cake add_candle2.ogg
|sound3=Cake add_candle3.ogg
|source=block
|description=When a candle is placed on a cake
|id=cake.add_candle
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Burp.ogg
|source=player
|description=After a player eats a cake
|id=random.burp
|volume=0.5
|pitch=0.9-1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cake
|spritetype=block
|nameid=cake}}
{{ID table
|displayname=Cake with Candle
|spritename=candle-cake
|spritetype=block
|nameid=candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with White Candle
|spritename=white-candle-cake
|spritetype=block
|nameid=white_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Orange Candle
|spritename=orange-candle-cake
|spritetype=block
|nameid=orange_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Magenta Candle
|spritename=magenta-candle-cake
|spritetype=block
|nameid=magenta_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Light Blue Candle
|spritename=light-blue-candle-cake
|spritetype=block
|nameid=light_blue_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Yellow Candle
|spritename=yellow-candle-cake
|spritetype=block
|nameid=yellow_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Lime Candle
|spritename=lime-candle-cake
|spritetype=block
|nameid=lime_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Pink Candle
|spritename=pink-candle-cake
|spritetype=block
|nameid=pink_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Gray Candle
|spritename=gray-candle-cake
|spritetype=block
|nameid=gray_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Light Gray Candle
|spritename=light-gray-candle-cake
|spritetype=block
|nameid=light_gray_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Cyan Candle
|spritename=cyan-candle-cake
|spritetype=block
|nameid=cyan_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Purple Candle
|spritename=purple-candle-cake
|spritetype=block
|nameid=purple_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Blue Candle
|spritename=blue-candle-cake
|spritetype=block
|nameid=blue_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Brown Candle
|spritename=brown-candle-cake
|spritetype=block
|nameid=brown_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Green Candle
|spritename=green-candle-cake
|spritetype=block
|nameid=green_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Red Candle
|spritename=red-candle-cake
|spritetype=block
|nameid=red_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Black Candle
|spritename=black-candle-cake
|spritetype=block
|nameid=black_candle_cake
|blocktags=candle_cakes
|form=block
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Cake
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=cake
|spritetype=block
|nameid=cake
|id=92
|form=block
|itemform=item.cake}}
{{ID table
|displayname=Item
|spritename=cake
|spritetype=item
|nameid=cake
|id=417
|form=item}}
{{ID table
|displayname=Cake with Candle
|spritename=candle-cake
|spritetype=block
|nameid=candle_cake
|blocktags=candle_cakes
|form=block
|id=684}}
{{ID table
|displayname=Cake with White Candle
|spritename=white-candle-cake
|spritetype=block
|nameid=white_candle_cake
|blocktags=candle_cakes
|form=block
|id=685}}
{{ID table
|displayname=Cake with Orange Candle
|spritename=orange-candle-cake
|spritetype=block
|nameid=orange_candle_cake
|blocktags=candle_cakes
|form=block
|id=686}}
{{ID table
|displayname=Cake with Magenta Candle
|spritename=magenta-candle-cake
|spritetype=block
|nameid=magenta_candle_cake
|blocktags=candle_cakes
|form=block
|id=687}}
{{ID table
|displayname=Cake with Light Blue Candle
|spritename=light-blue-candle-cake
|spritetype=block
|nameid=light_blue_candle_cake
|blocktags=candle_cakes
|form=block
|id=688}}
{{ID table
|displayname=Cake with Yellow Candle
|spritename=yellow-candle-cake
|spritetype=block
|nameid=yellow_candle_cake
|blocktags=candle_cakes
|form=block
|id=689}}
{{ID table
|displayname=Cake with Lime Candle
|spritename=lime-candle-cake
|spritetype=block
|nameid=lime_candle_cake
|blocktags=candle_cakes
|form=block
|id=690}}
{{ID table
|displayname=Cake with Pink Candle
|spritename=pink-candle-cake
|spritetype=block
|nameid=pink_candle_cake
|blocktags=candle_cakes
|form=block
|id=691}}
{{ID table
|displayname=Cake with Gray Candle
|spritename=gray-candle-cake
|spritetype=block
|nameid=gray_candle_cake
|blocktags=candle_cakes
|form=block
|id=692}}
{{ID table
|displayname=Cake with Light Gray Candle
|spritename=light-gray-candle-cake
|spritetype=block
|nameid=light_gray_candle_cake
|blocktags=candle_cakes
|form=block
|id=693}}
{{ID table
|displayname=Cake with Cyan Candle
|spritename=cyan-candle-cake
|spritetype=block
|nameid=cyan_candle_cake
|blocktags=candle_cakes
|form=block
|id=694}}
{{ID table
|displayname=Cake with Purple Candle
|spritename=purple-candle-cake
|spritetype=block
|nameid=purple_candle_cake
|blocktags=candle_cakes
|form=block
|id=695}}
{{ID table
|displayname=Cake with Blue Candle
|spritename=blue-candle-cake
|spritetype=block
|nameid=blue_candle_cake
|blocktags=candle_cakes
|form=block
|id=696}}
{{ID table
|displayname=Cake with Brown Candle
|spritename=brown-candle-cake
|spritetype=block
|nameid=brown_candle_cake
|blocktags=candle_cakes
|form=block
|id=697}}
{{ID table
|displayname=Cake with Green Candle
|spritename=green-candle-cake
|spritetype=block
|nameid=green_candle_cake
|blocktags=candle_cakes
|form=block
|id=698}}
{{ID table
|displayname=Cake with Red Candle
|spritename=red-candle-cake
|spritetype=block
|nameid=red_candle_cake
|blocktags=candle_cakes
|form=block
|id=699}}
{{ID table
|displayname=Cake with Black Candle
|spritename=black-candle-cake
|spritetype=block
|nameid=black_candle_cake
|blocktags=candle_cakes
|form=block
|id=700
|foot=1}}

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

== Achievements ==
{{load achievements|The Lie;Birthday Song}}

== Advancements ==
{{load advancements|Birthday Song}}

== History ==
{{info needed section|{{bug|MC-45375}}}}
{{History|java beta}}
{{History||November 23, 2010|link={{tweet|notch|7118994444124160}}|[[Notch]] stated if ''Minecraft'' won the [[2010 Indie of the Year Awards]], he would add cake to ''Minecraft''.}}
{{History||1.2|[[File:Cake JE1.png|32px]] [[File:Cake (1 bite) JE1.png|32px]] [[File:Cake (2 bites) JE1.png|32px]] [[File:Cake (3 bites) JE1.png|32px]] [[File:Cake (4 bites) JE1.png|32px]] [[File:Cake (5 bites) JE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Since ''Minecraft'' won the title, cake has been added.
|Cake heals {{hp|18}}.
|[[File:Cake (6 bites) JE1.png|32px]] [[File:Cake (7 bites) JE1.png|32px]] Cakes with six and seven bites exist, but are not accessible.
|[[File:Cake (8 bites) JE1.png|32px]] [[File:Cake (9 bites) JE1.png|32px]] [[File:Cake (10 bites) JE1.png|32px]] [[File:Cake (11 bites) JE1.png|32px]] [[File:Cake (12 bites) JE1.png|32px]] [[File:Cake (13 bites) JE1.png|32px]] [[File:Cake (14 bites) JE1.png|32px]] [[File:Cake (15 bites) JE1.png|32px]]<br>[[File:Cake (8 bites) JE1 (facing NWU).png|32px]] [[File:Cake (9 bites) JE1 (facing NWU).png|32px]] [[File:Cake (10 bites) JE1 (facing NWU).png|32px]] [[File:Cake (11 bites) JE1 (facing NWU).png|32px]] [[File:Cake (12 bites) JE1 (facing NWU).png|32px]] [[File:Cake (13 bites) JE1 (facing NWU).png|32px]] [[File:Cake (14 bites) JE1 (facing NWU).png|32px]] [[File:Cake (15 bites) JE1 (facing NWU).png|32px]]<br>Cakes with eight through fifteen bites also exist. These have a glitched appearance, with misaligned cake textures as well as the block [[placeholder texture]] on the bottom (as the texture next to the bottom of the cake on [[terrain.png]], which it overflows to, is itself a placeholder).}}
{{History||1.5|[[Achievements/Java Edition|Achievements]] have been added, including "The Lie", which is rewarded when the [[player]] crafts a cake.}}
{{History||1.7|[[File:Cake (8 bites) JE2 (facing NWU).png|32px]] [[File:Cake (9 bites) JE2 (facing NWU).png|32px]] [[File:Cake (10 bites) JE2 (facing NWU).png|32px]] [[File:Cake (11 bites) JE2 (facing NWU).png|32px]] [[File:Cake (12 bites) JE2 (facing NWU).png|32px]] [[File:Cake (13 bites) JE2 (facing NWU).png|32px]] [[File:Cake (14 bites) JE2 (facing NWU).png|32px]] [[File:Cake (15 bites) JE2 (facing NWU).png|32px]]<br>The cake side texture shown from underneath has flipped to the other side.}}
{{History||1.8|snap=Pre-release|Cake now restores {{hunger|12}}.
|[[File:Cake (8 bites) JE3.png|32px]] [[File:Cake (9 bites) JE3.png|32px]] [[File:Cake (10 bites) JE3.png|32px]] [[File:Cake (11 bites) JE3.png|32px]] [[File:Cake (12 bites) JE3.png|32px]] [[File:Cake (13 bites) JE3.png|32px]] [[File:Cake (14 bites) JE3.png|32px]] [[File:Cake (15 bites) JE3.png|32px]]<br>Cakes with data 8 through 15 now use the red mushroom block texture with the addition of the red [[mushroom block]].
|Dropped cake items{{info needed|the proper item form, or the unobtainable one?}} no longer appear larger than normal blocks.}}
{{History|||snap=?|Cake is available both in item and block forms in the creative inventory.}}
{{History|java}}
{{History||1.0.0|snap=?|Cake blocks have been removed from creative.}}
{{History||1.2.1|snap=?|When cake is crafted, the empty [[bucket]]s are now moved to the [[player]]'s [[inventory]], rather than staying in the [[crafting]] grid.}}
{{History||1.5|snap=13w02a|[[File:Cake JE2.png|32px]] [[File:Cake (1 bite) JE2.png|32px]] [[File:Cake (2 bites) JE2.png|32px]] [[File:Cake (3 bites) JE2.png|32px]] [[File:Cake (4 bites) JE2.png|32px]] [[File:Cake (5 bites) JE2.png|32px]] [[File:Cake (6 bites) JE2.png|32px]] Cakes now use the inside texture for all orthogonal faces.
|[[File:Cake (8 bites) JE4.png|32px]] [[File:Cake (9 bites) JE4.png|32px]] [[File:Cake (10 bites) JE4.png|32px]] [[File:Cake (11 bites) JE4.png|32px]] [[File:Cake (12 bites) JE4.png|32px]] [[File:Cake (13 bites) JE4.png|32px]] [[File:Cake (14 bites) JE4.png|32px]] [[File:Cake (15 bites) JE4.png|32px]]<br>[[File:Cake (8 bites) JE4 (facing NWU).png|32px]] [[File:Cake (9 bites) JE4 (facing NWU).png|32px]] [[File:Cake (10 bites) JE4 (facing NWU).png|32px]] [[File:Cake (11 bites) JE4 (facing NWU).png|32px]] [[File:Cake (12 bites) JE4 (facing NWU).png|32px]] [[File:Cake (13 bites) JE4 (facing NWU).png|32px]] [[File:Cake (14 bites) JE4 (facing NWU).png|32px]] [[File:Cake (15 bites) JE4 (facing NWU).png|32px]]<br>With the advent of major changes in texture storage and architecture, overeaten cakes now display other parts of cakes as well as part of a crop texture.
|From this version up until 14w08a, overeaten cakes start to draw from the textures next to them on the [[texture atlas]], in much the same way they previously did with terrain.png. However, as texture atlases are unstable and textures tend to change positions as new blocks and textures are added, overeaten cakes change the texture they draw from every time new textures are added, which includes when textures added by [[mods]].}}
{{History|||snap=13w03a|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] Cakes now use the outside side texture for the sides again.<ref>{{bug|MC-7119}}</ref>
|[[File:Cake (8 bites) JE5.png|32px]] [[File:Cake (9 bites) JE5.png|32px]] [[File:Cake (10 bites) JE5.png|32px]] [[File:Cake (11 bites) JE5.png|32px]] [[File:Cake (12 bites) JE5.png|32px]] [[File:Cake (13 bites) JE5.png|32px]] [[File:Cake (14 bites) JE5.png|32px]] [[File:Cake (15 bites) JE5.png|32px]]<br>[[File:Cake (8 bites) JE5 (facing NWU).png|32px]] [[File:Cake (9 bites) JE5 (facing NWU).png|32px]] [[File:Cake (10 bites) JE5 (facing NWU).png|32px]] [[File:Cake (11 bites) JE5 (facing NWU).png|32px]] [[File:Cake (12 bites) JE5 (facing NWU).png|32px]] [[File:Cake (13 bites) JE5 (facing NWU).png|32px]] [[File:Cake (14 bites) JE5 (facing NWU).png|32px]] [[File:Cake (15 bites) JE5 (facing NWU).png|32px]]<br>Overeaten cakes now display a different part of the cake texture than before.}}
{{History|||snap=13w09a|[[File:Cake (8 bites) JE6.png|32px]] [[File:Cake (9 bites) JE6.png|32px]] [[File:Cake (10 bites) JE6.png|32px]] [[File:Cake (11 bites) JE6.png|32px]] [[File:Cake (12 bites) JE6.png|32px]] [[File:Cake (13 bites) JE6.png|32px]] [[File:Cake (14 bites) JE6.png|32px]] [[File:Cake (15 bites) JE6.png|32px]]<br>[[File:Cake (8 bites) JE6 (facing NWU).png|32px]] [[File:Cake (9 bites) JE6 (facing NWU).png|32px]] [[File:Cake (10 bites) JE6 (facing NWU).png|32px]] [[File:Cake (11 bites) JE6 (facing NWU).png|32px]] [[File:Cake (12 bites) JE6 (facing NWU).png|32px]] [[File:Cake (13 bites) JE6 (facing NWU).png|32px]] [[File:Cake (14 bites) JE6 (facing NWU).png|32px]] [[File:Cake (15 bites) JE6 (facing NWU).png|32px]]<br>Overeaten cakes now display a crop texture on the side.}}
{{History||1.6.1|snap=13w17a|[[File:Cake (8 bites) JE7.png|32px]] [[File:Cake (9 bites) JE7.png|32px]] [[File:Cake (10 bites) JE7.png|32px]] [[File:Cake (11 bites) JE7.png|32px]] [[File:Cake (12 bites) JE7.png|32px]] [[File:Cake (13 bites) JE7.png|32px]] [[File:Cake (14 bites) JE7.png|32px]] [[File:Cake (15 bites) JE7.png|32px]]<br>[[File:Cake (8 bites) JE7 (facing NWU).png|32px]] [[File:Cake (9 bites) JE7 (facing NWU).png|32px]] [[File:Cake (10 bites) JE7 (facing NWU).png|32px]] [[File:Cake (11 bites) JE7 (facing NWU).png|32px]] [[File:Cake (12 bites) JE7 (facing NWU).png|32px]] [[File:Cake (13 bites) JE7 (facing NWU).png|32px]] [[File:Cake (14 bites) JE7 (facing NWU).png|32px]] [[File:Cake (15 bites) JE7 (facing NWU).png|32px]]<br>Overeaten cakes now display a part of the powered [[redstone comparator]] texture.}}
{{History|||snap=13w18a|[[File:Cake (8 bites) JE8.png|32px]] [[File:Cake (9 bites) JE8.png|32px]] [[File:Cake (10 bites) JE8.png|32px]] [[File:Cake (11 bites) JE8.png|32px]] [[File:Cake (12 bites) JE8.png|32px]] [[File:Cake (13 bites) JE8.png|32px]] [[File:Cake (14 bites) JE8.png|32px]] [[File:Cake (15 bites) JE8.png|32px]]<br>[[File:Cake (8 bites) JE8 (facing NWU).png|32px]] [[File:Cake (9 bites) JE8 (facing NWU).png|32px]] [[File:Cake (10 bites) JE8 (facing NWU).png|32px]] [[File:Cake (11 bites) JE8 (facing NWU).png|32px]] [[File:Cake (12 bites) JE8 (facing NWU).png|32px]] [[File:Cake (13 bites) JE8 (facing NWU).png|32px]] [[File:Cake (14 bites) JE8 (facing NWU).png|32px]] [[File:Cake (15 bites) JE8 (facing NWU).png|32px]]<br>Overeaten cakes now display the [[carrots]] texture. The inside underside also uses the feet of the [[cauldron]].}}
{{History||1.7.2|snap=13w41a|[[File:Cake (8 bites) JE9.png|32px]] [[File:Cake (9 bites) JE9.png|32px]] [[File:Cake (10 bites) JE9.png|32px]] [[File:Cake (11 bites) JE9.png|32px]] [[File:Cake (12 bites) JE9.png|32px]] [[File:Cake (13 bites) JE9.png|32px]] [[File:Cake (14 bites) JE9.png|32px]] [[File:Cake (15 bites) JE9.png|32px]]<br>[[File:Cake (8 bites) JE9 (facing NWU).png|32px]] [[File:Cake (9 bites) JE9 (facing NWU).png|32px]] [[File:Cake (10 bites) JE9 (facing NWU).png|32px]] [[File:Cake (11 bites) JE9 (facing NWU).png|32px]] [[File:Cake (12 bites) JE9 (facing NWU).png|32px]] [[File:Cake (13 bites) JE9 (facing NWU).png|32px]] [[File:Cake (14 bites) JE9 (facing NWU).png|32px]] [[File:Cake (15 bites) JE9 (facing NWU).png|32px]]<br>Overeaten cakes now display a part of the block breaking texture, and the texture of the [[block of diamond]] inside.}}
{{History||1.8|snap=14w02a|Farmer [[villager]]s now [[trading|sell]] 1 cake for 1 [[emerald]].}}
{{History|||snap=14w10a|[[File:Missing Model JE2.png|32px]] Cakes with data values 7 and above now [[Missing model|have no model]].}}
{{History|||snap=14w28a|Cake slices available when eating cakes have been increased from 6 to 7, allowing the 6-bites cake to be obtained legitimately.
|Cake now emits a [[redstone comparator|comparator]] signal.
|When cake is crafted, empty [[bucket]]s now stay in the [[crafting table]].}}
{{History||1.9|snap=15w37a|Cake can no longer be eaten in survival with the primary attack (left-click).}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 92, and the item's 354.}}
{{History||1.14|snap=18w43a|[[File:Cake JE4.png|32px]] [[File:Cake (1 bite) JE4.png|32px]] [[File:Cake (2 bites) JE4.png|32px]] [[File:Cake (3 bites) JE4.png|32px]] [[File:Cake (4 bites) JE4.png|32px]] [[File:Cake (5 bites) JE4.png|32px]] [[File:Cake (6 bites) JE4.png|32px]]<br>[[File:Cake (item) JE2 BE2.png|32px]] The texture of cake has been changed.
|Cakes can now be eaten by [[panda]]s when they are thrown to them.}}
{{History|||snap=19w03a|Placing a cake into the new [[composter]] now raises the compost level by 1.}}
{{History|||snap=19w08a|[[File:Cake (item) JE3 BE3.png|32px]] The texture of cake [[item]]s have been changed, this time to have a large cherry in the middle to match its block counterpart.}}
{{History||May 17–20, 2019|link=none|[[File:10 years cake render.png|32px]] Cakes now display a "10" above them, textured with [[white concrete]], to celebrate the 10 year anniversary of the first public version of ''Minecraft'' ([[0.0.11a]]) being released.}}
{{History||1.17|snap=20w45a|[[File:Cake with Candle JE1.png|32px]] [[File:Cake with White Candle JE1.png|32px]] [[File:Cake with Light Gray Candle JE1.png|32px]] [[File:Cake with Gray Candle JE1.png|32px]] [[File:Cake with Black Candle JE1.png|32px]] [[File:Cake with Brown Candle JE1.png|32px]] [[File:Cake with Red Candle JE1.png|32px]] [[File:Cake with Orange Candle JE1.png|32px]] [[File:Cake with Yellow Candle JE1.png|32px]] [[File:Cake with Lime Candle JE1.png|32px]] [[File:Cake with Green Candle JE1.png|32px]] [[File:Cake with Cyan Candle JE1.png|32px]] [[File:Cake with Light Blue Candle JE1.png|32px]] [[File:Cake with Blue Candle JE1.png|32px]] [[File:Cake with Purple Candle JE1.png|32px]] [[File:Cake with Magenta Candle JE1.png|32px]] [[File:Cake with Pink Candle JE1.png|32px]] [[File:Candle Cake (lit) JE1.png|32px]] [[File:White Candle Cake (lit) JE1.png|32px]] [[File:Light Gray Candle Cake (lit) JE1.png|32px]] [[File:Gray Candle Cake (lit) JE1.png|32px]] [[File:Black Candle Cake (lit) JE1.png|32px]] [[File:Brown Candle Cake (lit) JE1.png|32px]] [[File:Red Candle Cake (lit) JE1.png|32px]] [[File:Orange Candle Cake (lit) JE1.png|32px]] [[File:Yellow Candle Cake (lit) JE1.png|32px]] [[File:Lime Candle Cake (lit) JE1.png|32px]] [[File:Green Candle Cake (lit) JE1.png|32px]] [[File:Cyan Candle Cake (lit) JE1.png|32px]] [[File:Light Blue Candle Cake (lit) JE1.png|32px]] [[File:Blue Candle Cake (lit) JE1.png|32px]] [[File:Purple Candle Cake (lit) JE1.png|32px]] [[File:Magenta Candle Cake (lit) JE1.png|32px]] [[File:Pink Candle Cake (lit) JE1.png|32px]] Added candle cakes.}}
{{History||1.17|snap=21w19a|The name of "Candle Cake" has been changed to "Cake with Candle".}}
{{History||1.17|snap=Pre-release 3|[[File:Candle Cake (lit) JE2.png|32px]] [[File:White Candle Cake (lit) JE2.png|32px]] [[File:Light Gray Candle Cake (lit) JE2.png|32px]] [[File:Gray Candle Cake (lit) JE2.png|32px]] [[File:Black Candle Cake (lit) JE2.png|32px]] [[File:Brown Candle Cake (lit) JE2.png|32px]] [[File:Red Candle Cake (lit) JE2.png|32px]] [[File:Orange Candle Cake (lit) JE2.png|32px]][[File:Yellow Candle Cake (lit) JE2.png|32px]] [[File:Lime Candle Cake (lit) JE2.png|32px]] [[File:Green Candle Cake (lit) JE2.png|32px]] [[File:Cyan Candle Cake (lit) JE2.png|32px]]  [[File:Light Blue Candle Cake (lit) JE2.png|32px]] [[File:Blue Candle Cake (lit) JE2.png|32px]] [[File:Purple Candle Cake (lit) JE2.png|32px]] [[File:Magenta Candle Cake (lit) JE2.png|32px]] [[File:Pink Candle Cake (lit) JE2.png|32px]] Changed lit cake with candle textures.}}

{{History|pocket alpha}}
{{History||v0.7.0|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] [[File:Cake (6 bites) JE3 BE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Added cake.
|Cake restores {{hp|18}}.}}
{{History||v0.12.1|snap=build 1|Cake now restore {{hunger|12}}.}}
{{History||v0.14.0|snap=build 1|Cake can now be used to emit a [[redstone comparator|comparator]] signal.}}
{{History||v0.15.0|snap=?|Cake currently does not show its inside texture on two or more bites.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer villagers now [[trading|sell]] cake for one [[emerald]].}}
{{History|bedrock}}
{{History||unknown|Cake is now stackable.}}
{{History||1.4.0|snap=beta 1.2.14.2|Cake can now be found inside [[buried treasure]] [[chest]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Cake, as a dropped [[item]], can now be eaten by [[panda]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cake BE2.png|32px]] [[File:Cake (1 bite) BE2.png|32px]] [[File:Cake (2 bites) BE2.png|32px]] [[File:Cake (3 bites) BE2.png|32px]] [[File:Cake (4 bites) BE2.png|32px]] [[File:Cake (5 bites) BE2.png|32px]] [[File:Cake (6 bites) BE2.png|32px]] <br>[[File:Cake (item) JE2 BE2.png|32px]] The texture of cake has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Cake can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Cake [[trading|sold]] by farmers now has a 50% chance to cost 8 [[emerald]]s.}}
{{History|||snap=beta 1.11.0.5|[[File:Cake (item) JE3 BE3.png|32px]] The texture of cake [[item]]s has been changed, once again.}}
{{History|||snap=beta 1.11.0.7|Cake [[trading|trades]] from farmer [[villager]]s have been reverted.}}
{{History||1.16.0|snap=beta 1.15.0.53|Cake now shows its inside texture on two or more bites.}}
{{History||1.17.10|snap=beta 1.17.10.22|[[File:Cake with Candle JE1.png|32px]] [[File:Cake with White Candle JE1.png|32px]] [[File:Cake with Light Gray Candle JE1.png|32px]] [[File:Cake with Gray Candle JE1.png|32px]] [[File:Cake with Black Candle JE1.png|32px]] [[File:Cake with Brown Candle JE1.png|32px]] [[File:Cake with Red Candle JE1.png|32px]] [[File:Cake with Orange Candle JE1.png|32px]] [[File:Cake with Yellow Candle JE1.png|32px]] [[File:Cake with Lime Candle JE1.png|32px]] [[File:Cake with Green Candle JE1.png|32px]] [[File:Cake with Cyan Candle JE1.png|32px]] [[File:Cake with Light Blue Candle JE1.png|32px]] [[File:Cake with Blue Candle JE1.png|32px]] [[File:Cake with Purple Candle JE1.png|32px]] [[File:Cake with Magenta Candle JE1.png|32px]] [[File:Cake with Pink Candle JE1.png|32px]] [[File:Candle Cake (lit) JE2.png|32px]] [[File: White Candle Cake (lit) JE2.png|32px]] [[File:Light Gray Candle Cake (lit) JE2.png|32px]] [[File:Gray Candle Cake (lit) JE2.png|32px]] [[File:Black Candle Cake (lit) JE2.png|32px]] [[File:Brown Candle Cake (lit) JE2.png|32px]] [[File:Red Candle Cake (lit) JE2.png|32px]] [[File:Orange Candle Cake (lit) JE2.png|32px]] [[File:Yellow Candle Cake (lit) JE2.png|32px]] [[File:Lime Candle Cake (lit) JE2.png|32px]] [[File:Green Candle Cake (lit) JE2.png|32px]] [[File:Cyan Candle Cake (lit) JE2.png|32px]] [[File:Light Blue Candle Cake (lit) JE2.png|32px]] [[File:Blue Candle Cake (lit) JE2.png|32px]] [[File:Purple Candle Cake (lit) JE2.png|32px]] [[File:Magenta Candle Cake (lit) JE2.png|32px]] [[File:Pink Candle Cake (lit) JE2.png|32px]] Added candle cakes.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] [[File:Cake (6 bites) JE3 BE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Added cake.}}
{{History||xbox=TU6|Cake has been made stackable, as a then-version exclusive.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Cake JE4.png|32px]] [[File:Cake (1 bite) JE4.png|32px]] [[File:Cake (2 bites) JE4.png|32px]] [[File:Cake (3 bites) JE4.png|32px]] [[File:Cake (4 bites) JE4.png|32px]] [[File:Cake (5 bites) JE4.png|32px]] [[File:Cake (6 bites) JE4.png|32px]]{{verify|Are these the textures/models used?}}<br>[[File:Cake (item) JE2 BE2.png|32px]] The single, lone texture of cake has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] [[File:Cake (6 bites) JE3 BE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Added cake.}}
{{History|foot}}

=== Cake "item" ===
{{:Technical blocks/Cake}}

== Issues ==

{{issue list}}

== Trivia ==

=== Interaction ===

* Because cake is only {{frac|7|8}} blocks wide, it is possible to stand on the edge of a [[block]] beneath a cake.
* It is possible to place cake on top of another cake by placing a cake on the ground, then placing another cake on the side of a block above and to the side of the first cake, similar to placing [[torch]]es on a [[chest]]. Eating the lower cake causes the upper cake to disappear, as does mining out the block of cake it is sitting on.
* It is also possible to place any block on top of cakes (including another cake) by [[sneaking]] and placing the block on top of a cake.
* [[Mob]]s on top of cakes rotate while attempting to move, a pathfinding oversight shared with [[fence]]s.
* If cake is placed in a hole one block deep, players can get across the hole without jumping, although a player standing on the cake must jump to get out of the hole.
* Cake can be used to create a functioning staircase, by placing a cake on each level of a 1 block by 1 block incline. This would be one of the most labor-intensive staircases available, given the requirements to craft a cake, compared to any other method of creating a staircase. This staircase is also extremely overpowered when combined with a horse being one of the fastest forms of travel.
*At some point, it was possible to push cakes into the void using pistons.<ref>https://www.youtube.com/watch?v=GxniEMGBXC4&t=340s</ref>

=== Miscellaneous ===
[[File:IOTY.png|thumb|100px|The 2010 Indie of the Year Awards logo.]]
* Cake was added to ''[[Minecraft]]'' following the ModDB [[2010 Indie of the Year Awards]]. [[Notch]] agreed to add cake to ''Minecraft'' if it won, which led to a campaign called "The Quest For Cake". ''Minecraft'' won 3 of the 7 awards, including the "Indie of the Year" award.
* Placing a cake makes the same sound as placing [[wool]].
* The player can place cake on top of a [[bed]], and while [[sleeping]], the cake shows on the player's screen as if it were on top of their head.
* The name of the achievement for crafting a cake is a reference to the internet meme "The Cake is a Lie", which originated from [[wikipedia:Valve Corporation|Valve Software's]] game, ''[[wikipedia:Portal (video game)#Plot|Portal]]''.
* On May 17, 2019, for the [https://www.minecraft.net/en-us/10th-anniversary 10th anniversary] of ''Minecraft'', the cake [[model]] was changed to display a "10" above it, made of [[white concrete]].
* Unlike most foods, cakes don't count towards the advancement "[[A Balanced Diet]]" {{in|java}}.<ref>{{bug|MC-117561}}</ref>

== Gallery ==
=== Renders ===
{{hidden begin}}
<div style="clear: both"></div>
<gallery>
Cake.png
Cake (1 bite).png
Cake (2 bites).png
Cake (3 bites).png
Cake (4 bites).png
Cake (5 bites).png
Cake (6 bites).png
</gallery>
<gallery>
Cake with Candle.png
Cake with White Candle.png
Cake with Light Gray Candle.png
Cake with Gray Candle.png
Cake with Black Candle.png
Cake with Brown Candle.png
Cake with Red Candle.png
Cake with Orange Candle.png
Cake with Yellow Candle.png
Cake with Lime Candle.png
Cake with Green Candle.png
Cake with Cyan Candle.png
Cake with Light Blue Candle.png
Cake with Blue Candle.png
Cake with Purple Candle.png
Cake with Magenta Candle.png
Cake with Pink Candle.png
</gallery>
<gallery>
Candle Cake (lit).png
White Candle Cake (lit).png
Light Gray Candle Cake (lit).png
Gray Candle Cake (lit).png
Black Candle Cake (lit).png
Brown Candle Cake (lit).png
Red Candle Cake (lit).png
Orange Candle Cake (lit).png
Yellow Candle Cake (lit).png
Lime Candle Cake (lit).png
Green Candle Cake (lit).png
Cyan Candle Cake (lit).png
Light Blue Candle Cake (lit).png
Blue Candle Cake (lit).png
Purple Candle Cake (lit).png
Magenta Candle Cake (lit).png
Pink Candle Cake (lit).png
</gallery>
{{hidden end}}
=== In-game ===
<gallery>
Cakes stacked.png|A cake placed on top of another.
Cakeeating.png|The sizes of cake when eaten.
10 Years Cake.jpg|The 10-years cake [[model]] placed in the world.
</gallery>

== References ==
{{Reflist}}

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

[[Category:Food]]
[[Category:Utility blocks]]
[[Category:Manufactured blocks]]

[[cs:Dort]]
[[de:Kuchen]]
[[es:Tarta]]
[[fr:Gâteau]]
[[hu:Torta]]
[[it:Torta]]
[[ja:ケーキ]]
[[ko:케이크]]
[[nl:Taart]]
[[pl:Ciasto]]
[[pt:Bolo]]
[[ru:Торт]]
[[th:เค้ก]]
[[tr:Pasta]]
[[uk:Торт]]
[[zh:蛋糕]]</li></ul></nowiki>
build 1Added redstone comparators.
Legacy Console Edition
TU19CU7 1.12 Patch 1Added redstone comparators.
TU31CU19 1.22 Patch 3Can now measure item frames.

Issues

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

Trivia

  • Comparators have no bottom texture, which means they will appear see-through when viewed from below.‌[Bedrock Edition only]

References

Advertisement