Minecraft:Dye: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 55: | Line 55: | ||
}} | }} | ||
[[File:In-game colored block-item chart v2.png|alt=Colored block/item chart|thumb| | [[File:In-game colored block-item chart v2.png|alt=Colored block/item chart|thumb|325x325|In-game colored block/item spectrum]] | ||
{{IN|bedrock|education}}, [[Minecraft:bone meal]], [[Minecraft:ink sac]]s, [[Minecraft:lapis lazuli]], and [[Minecraft:cocoa bean]]s can | '''Dyes''' are a set of sixteen items used to change the color of [[Minecraft:wool]], [[Minecraft:wool stairs]], [[Minecraft:wool slab]]s, [[Minecraft:cushion]]s, [[Minecraft:carpet]]s, [[Minecraft:terracotta]], [[Minecraft:concrete powder]], [[Minecraft:glass]], [[Minecraft:shulker box]]es, [[Minecraft:bed]]s, [[Minecraft:candle]]s, [[Minecraft:bundle]]s, [[Minecraft:harness]]es, the patterns on [[Minecraft:banner]]s, [[Minecraft:firework star]]s, certain mobs, and text on [[Minecraft:sign]]s and [[Minecraft:hanging sign]]s. {{IN|bedrock}}, they can be used to dye water in a [[Minecraft:cauldron]] (which is thereafter used to dye [[Minecraft:leather armor]]) and [[Minecraft:shulker]]s; {{in|java}}, leather armor can be dyed directly. {{IN|education}}, they can be used to dye [[Minecraft:balloon]]s and [[Minecraft:glow stick]]s. | ||
{{IN|bedrock|education}}, [[Minecraft:bone meal]], [[Minecraft:ink sac]]s, [[Minecraft:lapis lazuli]], and [[Minecraft:cocoa bean]]s can substitute for [[Minecraft:white dye]], [[Minecraft:black dye]], [[Minecraft:blue dye]], and [[Minecraft:brown dye]], respectively. However, they are not dyes, so they will only be mentioned in this article for their use as dyeing agents. | |||
== Obtaining == | == Obtaining == | ||
[[File:Dye creation chart.png|thumb|400px| | [[File:Dye Recipes.png|thumb|400px|Recipe guide for crafting all the dyes]] | ||
Most dyes can be crafted from [[Minecraft:flower]]s and a few other items; some dyes can be crafted by combining multiple dyes of different colors, and every dye is [[Minecraft:trading|sold]] by the [[Minecraft:wandering trader]]. Some dyes can be found in loot, and [[Minecraft:green dye]] and [[Minecraft:lime dye]] are obtained by smelting. [[Minecraft:Purple dye]] is the only dye where the only method of being obtained is by crafting from other dyes. In ''Bedrock Edition'', tertiary colors, along with their regular crafting recipes, can be crafted with primary colors. For example, magenta can be crafted with one red | [[File:Dye creation chart.png|thumb|400px|Flowchart showing which pairs of dyes can be used to craft other dyes]] | ||
Most dyes can be crafted from [[Minecraft:flower]]s and a few other items; some dyes can be crafted by combining multiple dyes of different colors, and every dye is [[Minecraft:trading|sold]] by the [[Minecraft:wandering trader]]. Some dyes can be found in loot, and [[Minecraft:green dye]] and [[Minecraft:lime dye]] are obtained by smelting. [[Minecraft:Purple dye]] is the only dye where the only method of being obtained is by crafting from other dyes. In ''Bedrock Edition'', tertiary colors, along with their regular crafting recipes, can be crafted with primary colors. For example, magenta can be crafted with one blue dye, two red dyes and one white dye. | |||
{| class="wikitable" style="text-align:right;" | {| class="wikitable" style="text-align:right;" | ||
| Line 96: | Line 98: | ||
=== Trading === | === Trading === | ||
[[File:Wandering Trader GUI.png|thumb|right|The trading UI of a wandering trader in ''Java Edition'', showing 3 orange dye being sold | [[File:Wandering Trader GUI.png|thumb|right|The trading UI of a wandering trader in ''Java Edition'', showing 3 orange dye being sold]] | ||
[[Minecraft:Wandering trader]]s may sell 3 of any dye for 1 [[Minecraft:emerald]]. | [[Minecraft:Wandering trader]]s may sell 3 of any dye for 1 [[Minecraft:emerald]]. | ||
{{Trade sources|White Dye|Light Gray Dye|Gray Dye|Black Dye|Brown Dye|Red Dye|Orange Dye|Yellow Dye|Lime Dye|Green Dye|Cyan Dye|Light Blue Dye|Blue Dye|Purple Dye|Magenta Dye|Pink Dye}} | {{Trade sources|White Dye|Light Gray Dye|Gray Dye|Black Dye|Brown Dye|Red Dye|Orange Dye|Yellow Dye|Lime Dye|Green Dye|Cyan Dye|Light Blue Dye|Blue Dye|Purple Dye|Magenta Dye|Pink Dye}} | ||
| Line 117: | Line 119: | ||
==== Wool stairs ==== | ==== Wool stairs ==== | ||
A [[Minecraft:wool stair]] in any color can be dyed by combining 1 wool stair with any dye in a crafting grid. | A [[Minecraft:wool stair]] in any color can be dyed by combining 1 wool stair with any dye in a crafting grid. | ||
{{Crafting | {{Crafting | ||
|ignoreusage=1 | |ignoreusage=1 | ||
| Line 126: | Line 128: | ||
==== Wool slab ==== | ==== Wool slab ==== | ||
A [[Minecraft:wool slab]] in any color can be dyed by combining 1 wool slab with any dye in a crafting grid. | A [[Minecraft:wool slab]] in any color can be dyed by combining 1 wool slab with any dye in a crafting grid. | ||
{{Crafting | {{Crafting | ||
|ignoreusage=1 | |ignoreusage=1 | ||
| Line 135: | Line 137: | ||
==== Cushions ==== | ==== Cushions ==== | ||
A [[Minecraft:cushion]] in any color can be dyed by combining 1 cushion with any dye in a crafting grid. | A [[Minecraft:cushion]] in any color can be dyed by combining 1 cushion with any dye in a crafting grid. | ||
{{Crafting | {{Crafting | ||
|ignoreusage=1 | |ignoreusage=1 | ||
| Line 329: | Line 331: | ||
{{Anchor|Dyeing water}} | {{Anchor|Dyeing water}} | ||
{{exclusive|bedrock|section=1}} | {{exclusive|bedrock|section=1}} | ||
[[Minecraft:Cauldron#Dyed water|Water]] can be dyed in a [[Minecraft:cauldron]] by holding any dye in the hand and pressing {{Ctrl|use}} on a cauldron filled with water. The formula for this is described below in {{sl||Dye mixing formula}}. | [[Minecraft:Cauldron#Dyed water|Water]] can be dyed in a [[Minecraft:cauldron]] by holding any dye in the hand and pressing {{Ctrl|use}} on a cauldron filled with water. The formula for this is described below in {{sl||Dye mixing formula}}. | ||
=== Dyeing armor === | === Dyeing armor === | ||
{{Calculator|armorColor}} | {{Calculator|armorColor}} | ||
[[File:Leather armor dye graph.png|200px|thumb|A graph showing all combinations of two dyes on a [[leather tunic]] {{in|je}} | [[File:Leather armor dye graph.png|200px|thumb|A graph showing all combinations of two dyes on a [[leather tunic]] {{in|je}}]] | ||
[[Minecraft:Leather armor]], [[Minecraft:wolf armor]], [[Minecraft:leather horse armor]] can be dyed: | [[Minecraft:Leather armor]], [[Minecraft:wolf armor]], [[Minecraft:leather horse armor]] can be dyed: | ||
*{{IN|Bedrock|Console}}, armor is dyed by {{control|using}} it on a [[Minecraft:cauldron]] filled with dyed water. This consumes 1 layer of water but does not change the color of the water. | *{{IN|Bedrock|Console}}, armor is dyed by {{control|using}} it on a [[Minecraft:cauldron]] filled with dyed water. This consumes 1 layer of water but does not change the color of the water. | ||
| Line 397: | Line 399: | ||
==== Dye mixing formula ==== | ==== Dye mixing formula ==== | ||
===== {{JE}} ===== | |||
In ''Java Edition'', dyes can be applied to a piece of leather armor using crafting. | |||
When dyeing leather armor in a crafting grid, the final color is calculated using the color values of all dyes used, plus the armor's existing color (if it is already dyed). Undyed armor does not contribute to the color calculation. | |||
Suppose for <math>\text{N}</math> colors being combinedeach, each color <math>\text{n}</math> is made up of the <math>\text{R}_\text{n}</math> (<span style="color:#F44;">'''red'''</span>), <math>\text{G}_\text{n}</math> (<span style="color:#0C0;">'''green'''</span>), and <math>\text{B}_\text{n}</math> (<span style="color:#66F;">'''blue'''</span>) {{w|sRGB}} components, each of which ranges from 0 (no intensity) to 1 (maximum intensity). | |||
The bightness scaling factor is calculated as the average of each color's brightest component divided by the brightest component of the averaged color. | |||
<math>\text{factor}=\frac{\sum\text{max}\left(\text{R},\text{G},\text{B}\right)}{\text{max}\left(\sum\text{R},\sum\text{G},\sum\text{B}\right)}</math> | |||
The final color is the average of all colors times the brightness scaling factor. | |||
<math>\text{C}_\text{final}=\frac{\sum\text{C}}\text{N}\cdot\text{factor}</math> | |||
Each component is rounded to multiples of {{frac|1|255}}. | |||
'' | ===== {{BE}} ===== | ||
In ''Bedrock Edition'', dyes cannot be applied to armor directly and are applied to [[Minecraft:cauldron]] water instead. When a dye is used on undyed cauldron water, the water becomes dyed, and will have the color of that dye. | |||
When a dye is used on dyed cauldron water, the resulting color is the average of the color in the cauldron and the applied color in {{w|sRGB}}, with each component ranging from 0 (no intensity) to 1 (maximum intensity). | |||
<math>\text{C}_\text{final}=\frac{\text{C}_\text{current}+\text{C}_\text{dye}}{2}</math> | |||
Each component is floored to multiples of {{frac|1|255}}. | |||
===== Storage {{in|be}} ===== | |||
{{ | ''Bedrock Edition'' stores each color as ARGB32, using 8 bits (1 byte) for each sRGB component, usually represented as a number from 0 to 255. | ||
| | |||
* The left most byte is the alpha component (opacity). | |||
* | * The next byte is the red component. | ||
* | * The next byte is the green component. | ||
* | * The right most byte is the blue component. | ||
The [[#Color values|color values]] of the dye items are stored in the RGBA format.{{info needed|But it says ARGB right above? Is it A first or last?}} | |||
}} | |||
=== Dyeing sheep === | === Dyeing sheep === | ||
| Line 880: | Line 864: | ||
|{{HistoryLine||1.21.9|dev=25w31a|[[File:White Dye BE2.png|32px]] [[File:Light Gray BE3.png|32px]] [[File:Gray Dye BE3.png|32px]] [[File:Black Dye BE2.png|32px]] [[File:Brown Dye BE2.png|32px]] [[File:Red Dye BE4.png|32px]] [[File:Orange Dye BE3.png|32px]] [[File:Yellow Dye BE3.png|32px]] [[File:Lime Dye BE3.png|32px]] [[File:Green Dye BE4.png|32px]] [[File:Cyan Dye BE3.png|32px]] [[File:Light Blue Dye BE3.png|32px]] [[File:Blue Dye BE2.png|32px]] [[File:Purple Dye BE3.png|32px]] [[File:Magenta Dye BE3.png|32px]] [[File:Pink Dye BE3.png|32px]] The textures of all dyes have been changed. They still do not reflect the updated colors from 1.12.<ref name="unchanged dyes"></ref>}} | |{{HistoryLine||1.21.9|dev=25w31a|[[File:White Dye BE2.png|32px]] [[File:Light Gray BE3.png|32px]] [[File:Gray Dye BE3.png|32px]] [[File:Black Dye BE2.png|32px]] [[File:Brown Dye BE2.png|32px]] [[File:Red Dye BE4.png|32px]] [[File:Orange Dye BE3.png|32px]] [[File:Yellow Dye BE3.png|32px]] [[File:Lime Dye BE3.png|32px]] [[File:Green Dye BE4.png|32px]] [[File:Cyan Dye BE3.png|32px]] [[File:Light Blue Dye BE3.png|32px]] [[File:Blue Dye BE2.png|32px]] [[File:Purple Dye BE3.png|32px]] [[File:Magenta Dye BE3.png|32px]] [[File:Pink Dye BE3.png|32px]] The textures of all dyes have been changed. They still do not reflect the updated colors from 1.12.<ref name="unchanged dyes"></ref>}} | ||
|{{HistoryLine||26.1|dev=snap5|Add the [[Minecraft:item tag (Java Edition)|item tag]] {{cd|dyes}}, which includes all vanilla dyes.}} | |{{HistoryLine||26.1|dev=snap5|Add the [[Minecraft:item tag (Java Edition)|item tag]] {{cd|dyes}}, which includes all vanilla dyes.}} | ||
|{{HistoryLine||26.3|dev=snap1|Added [[Minecraft:wool stairs]] and [[Minecraft:wool slab]]s, which can be dyed.}} | |{{HistoryLine||26.3|dev=snap1|Added [[Minecraft:wool stairs]] and [[Minecraft:wool slab]]s, which can be dyed.}} | ||
|{{HistoryLine|||dev=snap3|Added [[Minecraft:cushion]]s, which can be dyed.}} | |{{HistoryLine|||dev=snap3|Added [[Minecraft:cushion]]s, which can be dyed.}} | ||
| Line 915: | Line 898: | ||
|{{HistoryLine||26.40|dev=Preview 26.40.27|exp=Drop 3 of 2026|Added [[Minecraft:wool stairs]] and [[Minecraft:wool slab]]s, which can be dyed.}} | |{{HistoryLine||26.40|dev=Preview 26.40.27|exp=Drop 3 of 2026|Added [[Minecraft:wool stairs]] and [[Minecraft:wool slab]]s, which can be dyed.}} | ||
|{{HistoryLine|||dev=Preview 26.40.30|Added [[Minecraft:cushion]]s, which can be dyed.}} | |{{HistoryLine|||dev=Preview 26.40.30|Added [[Minecraft:cushion]]s, which can be dyed.}} | ||
|{{HistoryLine||26.50|dev=Preview 26.50.22|All features from the "Drop 3 of 2026" experiment have been fully implemented.}} | |{{HistoryLine||26.50|dev=Preview 26.50.22|All features from the "Drop 3 of 2026" experiment have been fully implemented.}} | ||
}} | }} | ||
| Line 941: | Line 923: | ||
}} | }} | ||
<gallery class=pixel-image> | <gallery class="pixel-image"> | ||
Pre-release dyes.png|Pre-release dye textures hidden within <samp>[[Minecraft:items.png]]</samp> | Pre-release dyes.png|Pre-release dye textures hidden within <samp>[[Minecraft:items.png]]</samp> | ||
</gallery> | </gallery> | ||
| Line 958: | Line 940: | ||
== External links == | == External links == | ||
Tools for finding recipes to make dyed leather armor: | |||
* [https://simon-glitch.github.io/mcw/color/js/index.html Simanelix's calculator]. It is the only tool that supports all recipes for all versions of ''Minecraft''. | |||
* [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 | |||
* The [[Minecraft:Calculators/Armor color|calculator on the Minecraft Wiki]] | |||
== Navigation == | == Navigation == | ||
| Line 964: | Line 951: | ||
{{Navbox items|Ingredients}} | {{Navbox items|Ingredients}} | ||
[[Category:Dyes]] | [[Category:Dyes| ]] | ||
[[Minecraft:de:Farbstoff]] | [[Minecraft:de:Farbstoff]] | ||
Latest revision as of 11:06, 20 October 2026
Template:Redirect Template:Earth hatnote Template:Infobox item
Dyes are a set of sixteen items used to change the color of Minecraft:wool, Minecraft:wool stairs, Minecraft:wool slabs, Minecraft:cushions, Minecraft:carpets, Minecraft:terracotta, Minecraft:concrete powder, Minecraft:glass, Minecraft:shulker boxes, Minecraft:beds, Minecraft:candles, Minecraft:bundles, Minecraft:harnesses, the patterns on Minecraft:banners, Minecraft:firework stars, certain mobs, and text on Minecraft:signs and Minecraft:hanging signs. Template:IN, they can be used to dye water in a Minecraft:cauldron (which is thereafter used to dye Minecraft:leather armor) and Minecraft:shulkers; Template:In, leather armor can be dyed directly. Template:IN, they can be used to dye Minecraft:balloons and Minecraft:glow sticks.
Template:IN, Minecraft:bone meal, Minecraft:ink sacs, Minecraft:lapis lazuli, and Minecraft:cocoa beans can substitute for Minecraft:white dye, Minecraft:black dye, Minecraft:blue dye, and Minecraft:brown dye, respectively. However, they are not dyes, so they will only be mentioned in this article for their use as dyeing agents.
Obtaining
Most dyes can be crafted from Minecraft:flowers and a few other items; some dyes can be crafted by combining multiple dyes of different colors, and every dye is sold by the Minecraft:wandering trader. Some dyes can be found in loot, and Minecraft:green dye and Minecraft:lime dye are obtained by smelting. Minecraft:Purple dye is the only dye where the only method of being obtained is by crafting from other dyes. In Bedrock Edition, tertiary colors, along with their regular crafting recipes, can be crafted with primary colors. For example, magenta can be crafted with one blue dye, two red dyes and one white dye.
Crafting dye
Smelting
Template:Smelting Template:Smelting
Generated loot
Trading
Minecraft:Wandering traders may sell 3 of any dye for 1 Minecraft:emerald. Template:Trade sources
Mob loot
Template:IN, Minecraft:wandering traders have a chance of 8.5% (increased by 1% per level of Minecraft:Looting) to drop 3 dyes when killed while showing the item as trade offer, if the player holds an Minecraft:emerald.
Usage
Crafting
Dye can be used to add dye to undyed items through Minecraft:crafting, and to craft dyed items directly. Template:IN, Minecraft:bone meal, Minecraft:ink sacs, Minecraft:lapis lazuli, and Minecraft:cocoa beans can be substituted for the corresponding dye in any of the following usages unless otherwise specified.
Wool
A piece of Minecraft:wool in any color can be dyed by combining 1 wool with any dye in a crafting grid. Template:Crafting
Wool stairs
A Minecraft:wool stair in any color can be dyed by combining 1 wool stair with any dye in a crafting grid. Template:Crafting
Wool slab
A Minecraft:wool slab in any color can be dyed by combining 1 wool slab with any dye in a crafting grid. Template:Crafting
Cushions
A Minecraft:cushion in any color can be dyed by combining 1 cushion with any dye in a crafting grid. Template:Crafting
Carpets
A Minecraft:carpet of any color can be dyed by combining 1 carpet with any dye in a crafting grid. Template:Crafting
Terracotta
Minecraft:Terracotta can be stained by placing 8 blocks of terracotta around a dye in a 3×3 crafting table. Stained terracotta can not be restained to a different color. Template:Crafting
Concrete powder
Dyes can be used to craft Minecraft:concrete powder, which can then be set into their respective Minecraft:concrete blocks. Concrete powder and concrete cannot be redyed. Template:Crafting
Stained glass
Minecraft:Glass can be stained by placing 8 blocks of glass around a dye in a 3×3 crafting grid. Template:Crafting
Stained glass panes
Glass panes can be stained by placing 8 glass panes around a dye in a 3×3 crafting grid.
Shulker boxes
A Minecraft:shulker box can be dyed by combining it with any dye in a crafting grid. A dyed shulker can be re-dyed using the same crafting recipe. A dyed shulker box can only be undyed using a Minecraft:cauldron. Template:Crafting
Beds
A Minecraft:bed of any color can be dyed, by combining it with any dye in a crafting grid. Template:Crafting
Candles
An undyed Minecraft:candle can be dyed by combining it with any dye in a crafting grid. Template:Crafting
Bundles
A Minecraft:bundle of any color can be dyed, by combining it with any dye in a crafting grid. Template:Crafting
Harnesses
A Minecraft:harness of any color can be dyed, by combining it with any dye in a crafting grid. Template:Crafting
Firework stars
A Minecraft: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. Template:Crafting Template:Crafting
Balloons
Template:Education feature Dye can be used to craft Minecraft:balloons. Template:Crafting
Glow sticks
Template:Education feature Dye can be used to craft Minecraft:glow sticks. There are no light gray or black variants. Template:Crafting
Banner patterns
Template:Main Dyes are used to add a banner pattern to a banner. When using a Minecraft:loom, each pattern uses 1 dye, which determines the color of that pattern.
Dyeing water inside cauldrons
Template:Anchor Template:Exclusive Water can be dyed in a Minecraft:cauldron by holding any dye in the hand and pressing Template:Ctrl on a cauldron filled with water. The formula for this is described below in Template:Sl.
Dyeing armor
Minecraft:Leather armor, Minecraft:wolf armor, Minecraft:leather horse armor can be dyed:
- Template:IN, armor is dyed by Template:Control it on a Minecraft:cauldron filled with dyed water. This consumes 1 layer of water but does not change the color of the water.
- The armor can be undyed by Template:Control it on a cauldron with undyed water. This does not change the water's color to the color of the armor, and changes the armor to have no dye color.
- Adding a dye to dyed water mixes the color of the water with the color of the dye, as 2 colors (using the formula below). The game does not remember which colors were placed into the cauldron. It just mixes the current color with the added dye, using the formula below. So, blue + pink + blue + pink is not the same as pink + blue + pink + blue.
- Template:IN, it is possible to Minecraft:craft more than one dye with the armor, and armor can be dyed multiple times with previous colors affecting the outcome.
- Colored armor can be reverted to its original color by Template:Control it on a cauldron with undyed water.
- Armor retains its Minecraft:enchantments and name when dyed or undyed.
- Leather armor has a default color of Template:Color for display purposes. Armor can be dyed to have this color, making a different item that looks the same:
- In Bedrock Edition, the recipe is Template:ItemSprite then Template:ItemSprite then Template:ItemSprite then Template:ItemSprite then Template:ItemSprite in a cauldron.
- In Java Edition, the recipe is Undyed armor + Template:ItemSprite + Template:ItemSprite + Template:ItemSprite + Template:ItemSprite + Template:ItemSprite + Template:ItemSprite + Template:ItemSprite = Template:Color dyed armor. And then Template:Color dyed armor + Template:ItemSprite + Template:ItemSprite + Template:ItemSprite + Template:ItemSprite + Template:ItemSprite + Template:ItemSprite + Template:ItemSprite = Template:Color dyed armor.
- Mixing samples
- Template:ItemSprite = Template:Tint
- Template:ItemSprite + Template:ItemSprite + Template:ItemSprite = Template:Tint
- Template:ItemSprite + Template:ItemSprite + Template:ItemSprite = Template:Tint
Dye mixing formula
Template:JE
In Java Edition, dyes can be applied to a piece of leather armor using crafting.
When dyeing leather armor in a crafting grid, the final color is calculated using the color values of all dyes used, plus the armor's existing color (if it is already dyed). Undyed armor does not contribute to the color calculation.
Suppose for <math>\text{N}</math> colors being combinedeach, each color <math>\text{n}</math> is made up of the <math>\text{R}_\text{n}</math> (red), <math>\text{G}_\text{n}</math> (green), and <math>\text{B}_\text{n}</math> (blue) Template:W components, each of which ranges from 0 (no intensity) to 1 (maximum intensity).
The bightness scaling factor is calculated as the average of each color's brightest component divided by the brightest component of the averaged color.
<math>\text{factor}=\frac{\sum\text{max}\left(\text{R},\text{G},\text{B}\right)}{\text{max}\left(\sum\text{R},\sum\text{G},\sum\text{B}\right)}</math>
The final color is the average of all colors times the brightness scaling factor.
<math>\text{C}_\text{final}=\frac{\sum\text{C}}\text{N}\cdot\text{factor}</math>
Each component is rounded to multiples of Template:Frac.
Template:BE
In Bedrock Edition, dyes cannot be applied to armor directly and are applied to Minecraft:cauldron water instead. When a dye is used on undyed cauldron water, the water becomes dyed, and will have the color of that dye.
When a dye is used on dyed cauldron water, the resulting color is the average of the color in the cauldron and the applied color in Template:W, with each component ranging from 0 (no intensity) to 1 (maximum intensity).
<math>\text{C}_\text{final}=\frac{\text{C}_\text{current}+\text{C}_\text{dye}}{2}</math>
Each component is floored to multiples of Template:Frac.
Storage Template:In
Bedrock Edition stores each color as ARGB32, using 8 bits (1 byte) for each sRGB component, usually represented as a number from 0 to 255.
- The left most byte is the alpha component (opacity).
- The next byte is the red component.
- The next byte is the green component.
- The right most byte is the blue component.
The color values of the dye items are stored in the RGBA format.Template:Info needed
Dyeing sheep
Dyes can be Template:Control 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. Killing colored sheep drops one block of wool with the corresponding color. Minecraft:Breeding colored sheep produce a lamb colored as one of the parent sheep, or a color resulting from the combination of both parents' colors. 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. In case the colors of the colored sheep do not mix, the color of a lamb is randomly chosen between the two parents with equal chance. The unlimited reproduction of colored sheep makes dyeing and shearing sheep infinitely more efficient than just dyeing wool directly.
Dyeing collars
Dye can be used on a tamed Minecraft:wolf or Minecraft:cat to change the color of its collar from the default red to the color of the dye.
Dyeing signs
Dye can be Template:Control on a Minecraft:sign or a Minecraft:hanging sign to change the text color. Template:IN, Minecraft:ink sacs cannot be used for this purpose; black dye must be used to change the text to black. A sign cannot be dyed if its color is already the color of the dye. Attempting to dye it will not use the dye and will open the menu to edit the sign, if possible. A sign defaults to black text when placed.
Trading
Apprentice, journeyman, and expert-level shepherd Minecraft:villagers buy 12 of any of the dyes for an Minecraft:emerald. Template:Trade uses
Color values
The "color codes" are used to determine the color imparted on Minecraft:banners, dyed Minecraft:leather armor, Minecraft:leather horse armor and Minecraft:wolf armor, Minecraft:wolf and Minecraft:cat collars, Minecraft:beacon beams, Minecraft:tropical fish, Minecraft:sheep, and Minecraft:firework stars. The hex value is shown in the extended tooltips of dyed armor; however, to set the color using an NBT data tag in a Minecraft:command, the decimal value must be used instead. The color values for firework stars are slightly different. Template:IN, sheep's wool uses different colors than the base dye values, appearing noticeably darker.
Color codes are usually encoded using the corresponding numeric ID, although e.g. Minecraft:signs store the color name instead to represent text color.
Data values
ID
Template:JE: Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table
Template:BE: Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table
Sounds
Achievements
Videos
History
Development
Java Edition
Bedrock Edition
Legacy Console Edition
New Nintendo 3DS Edition
-
Pre-release dye textures hidden within Minecraft:items.png
Issues
Trivia
- Players can obtain each one of every color with 1 cocoa bean, 2 dandelions/wildflowers or 1 sunflower, 2 ink sacs or wither roses, 3 cactuses, 4 lapis lazuli or 4 cornflowers, 4 small red flowers (for example, 4 poppies) or 2 rose bushes, and 6 bone meal.
Notes
References
External links
Tools for finding recipes to make dyed leather armor:
- Simanelix's calculator. It is the only tool that supports all recipes for all versions of Minecraft.
- minecraft.tools (webapp)
- pyMCDyes (open-source Python script, outdated)
- DyeLeatherArmor: a tool for calculating an exact crafting recipe for any sRGB color
- The calculator on the Minecraft Wiki
Template:Navbox dyed material Template:Navbox items
Minecraft:de:Farbstoff Minecraft:es:Tinte Minecraft:fr:Teinture Minecraft:it:Colorante Minecraft:ja:染料 Minecraft:ko:염료 Minecraft:lzh:染 Minecraft:nl:Kleurstof Minecraft:pl:Barwniki Minecraft:pt:Corante Minecraft:ru:Краситель Minecraft:th:สีย้อม Minecraft:uk:Барвник Minecraft:zh:染料