dec: 351 hex: 15F bin: 101011111
Dyes are items used to change the color of wool, leather armor, hardened clay, mobs, banner and glass. There are 16 dyes, which are bone meal, light gray dye, gray dye, ink sac, rose red, orange dye, dandelion yellow, lime dye, cactus green, light blue dye, cyan dye, lapis lazuli, purple dye, magenta dye, pink dye, and cocoa beans.
Obtaining[edit | edit source]
Most dyes are produced by crafting various flowers or other items, or by combining other dyes.
Smelting[edit | edit source]
Other[edit | edit source]
Cocoa beans can be harvested from cocoa pods in amounts of 1 to 3 per pod.
Ink sacs can be dropped by slain squid in amounts of 1 to 3 per squid.
Pocket Edition[edit | edit source]
Ink sacs can be found in dungeons, blacksmith chests, and killing squids.
Red mushrooms can be smelted to make rose red.
Usage[edit | edit source]
Dyeing wool and mobs[edit | edit source]
Dyes can be used on sheep to change the color of the wool. After shearing a colored sheep, they will drop the corresponding color of the wool, as well keep the color of their wool when it regenerates. Breeding colored sheep will result the baby sheep's color to be one of the parental sheep's color, or a resulting color of the combination of both parental sheep's color. Note that the color combining follows the same rules that dyes use - red and yellow sheep can produce an orange lamb. However, blue and yellow sheep cannot create a green lamb.[Verify] The unlimited reproduction of colored sheep make dyeing and shearing sheep a far more efficient method to obtain dyed wool than just dyeing a wool directly.
Dye can also be used on tamed wolves. Using a dye on a tamed wolf will change the color of the wolf's collar (orange by default) to the color of the dye.
Staining hardened clay[edit | edit source]
Hardened clay can be stained by placing 8 blocks of hardened clay around a dye on a crafting table.
Hardened Clay +
Staining glass[edit | edit source]
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.
Dyeing armor[edit | edit source]
Leather armor can be dyed by crafting dyes in with a piece of leather armor. There are a possible combination of 12,326,391 colors, 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.
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 tested. 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(red, green, blue) 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 will never be darker than the average of the input colors, and will often be lighter and more saturated. Of course, the resulting color will never be lighter or more saturated than the lightest or most saturated input color. In addition, this formula will never create an RGB value higher than 255 (which would be invalid in the 8 bit RGB color model).
Dyeing firework stars[edit | edit source]
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 will add a "fade to color" effect to it, overwriting any existing fade colors.
Any Firework Star
Any Firework Star
Any Firework Star +
Banner patterns[edit | edit source]
Dyes are used in most banner patterns to determine which pattern and what color is used.
Colors[edit | edit source]
Primary[edit | edit source]
These primary dyes are created from a single ingredient spawned naturally in a world.
|Red||Made by placing a poppy, red tulip, or rose bush on a crafting grid. In Pocket Edition, it can be made either by cooking a red mushroom in a furnace or crafted from beetroots.|
|Orange tulip||Orange||Made by placing an orange tulip on a crafting grid. Can also be made from rose red and dandelion yellow.|
|Yellow||Made by placing a dandelion or sunflower on a crafting grid.|
|Cactus||Green||Made by cooking cactus in a furnace.|
|Lapis lazuli ore||Blue||Mined (one ore yields 4-8 dye). Also obtainable by trading with cleric villagers (1-2 lapis lazuli for an emerald).|
Light Blue Dye
|Blue orchid||Light Blue||Made by placing a blue orchid on a crafting grid. Can also be made from lapis lazuli and bone meal.|
|Magenta||Made by placing a lilac or allium on a crafting grid. Can also be made from 2 rose red, 1 lapis lazuli, and 1 bone meal, or from purple and pink dyes.|
|Pink||Made by placing a peony or pink tulip on a crafting grid. Can also be made from rose red and bone meal. (Pink wool can also be obtained from rare pink sheep.)|
|Bone||White||Made by placing a bone on a crafting grid. (White wool can also be obtained from white sheep or string put into a 2 by 2 square on the crafting table.)|
Light Gray Dye
|Light Gray||Made by placing an azure bluet, oxeye daisy, or white tulip on a crafting grid. Can also be made with bone meal and gray dye, or 2 bone meal and an ink sac. (Light gray wool can also be obtained from light gray sheep.)|
|Squid||Black||Each squid drops 0-3 ink sacs when it is killed. (Black wool can also be obtained from black sheep, or from naturally occurring lamp posts in villages.). Found in Pocket Edition village blacksmiths and stronghold chests. Can also be obtained by fishing.|
|Cocoa plants, dungeons||Brown||Found in dungeons, or growing on jungle trees. (Brown wool can also be obtained from brown sheep.).|
Secondary[edit | edit source]
Secondary dyes are created by combining primary dyes together.
|Cactus Green + Lapis Lazuli||Teal|
|Rose Red + Lapis Lazuli||Purple|
|Ink Sac + Bone Meal||Gray||Gray wool can also be obtained from gray sheep.|
|Cactus Green + Bone Meal||Lime Green|
Data values[edit | edit source]
All the dyes have the ID name
minecraft:dye. The color of a dye item depends on its metadata. The "color codes" are used to determine the color imparted on sheep, wolf collars, 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.
|7||0x7||Light Gray Dye||10066329||#999999|
|12||0xC||Light Blue Dye||6724056||#6699D8|
Video[edit | edit source]
History[edit | edit source]
|1.2||Added wool dyes.|
|1.1||Sheep now have the ability to regrow their wool by eating grass. Dyed sheep will regrow wool in their new color.|
|1.4.2||12w34a||Added the ability to dye leather armor and wolf collars.|
|1.6.1||13w19a||Stained clay can now be crafted using dyes.|
|1.7.2||13w36a||With the addition of new flowers, many secondary and tertiary dyes are now primary dyes.|
|13w41a||Stained glass can now be crafted using dyes.|
|1.8||14w30a||Added banners, which can be dyed.|
|1.9||15w31a||Rose red can now be obtained from beetroot|
|Pocket Edition Alpha|
|0.3.0||Added dandelion yellow.|
|0.4.0||Added rose red.|
|Red mushrooms can now now be smelted to obtain rose red.|
|0.8.0||build 3||Ink sacs, cocoa beans, gray dye, and light gray dye are available in the Creative inventory.|
|Rose red can now be obtained from beetroots.|
|0.9.0||build 1||Cocoa beans can now be obtained from cocoa pods.|
|Removed the cyan flower and replaced it with a new poppy flower that can be crafted into rose red.|
|build 3||All new flowers can be crafted into dyes. Because of this, many secondary and tertiary dyes are now primary dyes.|
|build 11||Stained clay can now be crafted using dyes.|
|0.11.0||build 1||Ink sacs can now be obtained from squid.|
|Added the ability to dye wolf collars.|
|TU1||Added wool dyes.|
Trivia[edit | edit source]
- Players can obtain each one of every color with 1 cocoa bean, 2 yellow dye and ink sacs, 3 green dye, 4 lapis lazuli and red dyes and 6 bone meal (2 bones).
- The dyed sheep breeding behavior mirrors Lamarck´s theory, in which the organisms evolve inheriting the external changes and adaptations of the previous generation, transmitting them to their offspring.
- In Pocket 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.