Dyeing

From Minecraft Wiki
(Redirected from Dyes)
Jump to: navigation, search
Dyes
WoolDyes.gif
Type

Items

Durability

N/A

Renewable

Rose Red: Yes
Dandelion Yellow: Yes
Lapis Lazuli: No
Cactus Green: Yes
Ink Sac: Yes
Bone Meal: Yes
Cocoa Beans: Yes
Orange Dye: Yes
Cyan Dye: No
Purple Dye: No
Gray Dye: Yes
Light Blue Dye: No
Pink Dye: Yes
Lime Dye: Yes
Magenta Dye: No
Light Gray Dye: Yes

Stackable

Yes (64)

First appearance

Beta 1.2

Data value

dec: 351 hex: 15F

Dyes are items used to change the color of wool, leather armor, hardened clay, and mobs. There are 16 dyes, which includes 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. The majority of the dyes are renewable resources.

Most dyes are obtained by blocks and items that spawn in the world and then be extracted in various ways, such as crafting, smelting or mining. Some dyes can only be obtained through combinations of specific dyes.

Contents

[edit] Uses

[edit] Dyeing wool and mobs

The dye crafting production chain.

Players can dye wool by placing a white wool and a dye on a crafting table.

Name Ingredients Input » Output
Light Gray Wool Wool + Light Gray Dye



Grid layout Arrow (small).png Light Gray Wool



White Wool Light Gray Dye
Grid layout Shapeless.png
Gray Wool Wool + Gray Dye



Grid layout Arrow (small).png Gray Wool



White Wool Gray Dye
Grid layout Shapeless.png
Black Wool Wool + Ink Sac



Grid layout Arrow (small).png Black Wool



White Wool Ink Sac
Grid layout Shapeless.png
Red Wool Wool + Rose Red



Grid layout Arrow (small).png Red Wool



White Wool Rose Red
Grid layout Shapeless.png
Orange Wool Wool + Orange Dye



Grid layout Arrow (small).png Orange Wool



White Wool Orange Dye
Grid layout Shapeless.png
Yellow Wool Wool + Dandelion Yellow



Grid layout Arrow (small).png Yellow Wool



White Wool Dandelion Yellow
Grid layout Shapeless.png
Lime Wool Wool + Lime Dye



Grid layout Arrow (small).png Lime Wool



White Wool Lime Dye
Grid layout Shapeless.png
Green Wool Wool + Cactus Green



Grid layout Arrow (small).png Green Wool



White Wool Cactus Green
Grid layout Shapeless.png
Cyan Wool Wool + Cyan Dye



Grid layout Arrow (small).png Cyan Wool



White Wool Cyan Dye
Grid layout Shapeless.png
Light Blue Wool Wool + Light Blue Dye



Grid layout Arrow (small).png Light Blue Wool



White Wool Light Blue Dye
Grid layout Shapeless.png
Blue Wool Wool + Lapis Lazuli Dye



Grid layout Arrow (small).png Blue Wool



White Wool Lapis Lazuli
Grid layout Shapeless.png
Purple Wool Wool + Purple Dye



Grid layout Arrow (small).png Purple Wool



White Wool Purple Dye
Grid layout Shapeless.png
Magenta Wool Wool + Magenta Dye



Grid layout Arrow (small).png Magenta Wool



White Wool Magenta Dye
Grid layout Shapeless.png
Pink Wool Wool + Pink Dye



Grid layout Arrow (small).png Pink Wool



White Wool Pink Dye
Grid layout Shapeless.png
Brown Wool Wool + Cocoa Beans



Grid layout Arrow (small).png Brown Wool



White Wool Cocoa Beans
Grid layout Shapeless.png

Dyes can be used on sheep by right-clicking sheep with a dye. 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. Additionally, there are naturally occurring gray, light gray, black, brown and pink sheep that drop corresponding color wool. 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. 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, except on the Xbox 360 Edition. Right-clicking a tamed wolf with a dye will change the wolf's collar (red by default) to the color of the dye. This can be helpful when players are organizing multiple tamed wolves.

[edit] Staining hardened clay

Hardened clay can be stained by placing 8 blocks of hardened clay around a dye on a crafting table.

Ingredients Input » Output
Hardened Clay + Dye
Hardened Clay Hardened Clay Hardened Clay Grid layout Arrow (small).png White Stained Clay8
Hardened Clay Bone Meal Hardened Clay
Hardened Clay Hardened Clay Hardened Clay

[edit] Armor dyeing

A graph showing all combinations of two dyes on a chestplate.

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 is invalid in the 8 bit RGB color model).

[edit] Primary colors

These primary dyes are created from a single ingredient spawned naturally in a world.

Name Source Color Notes
ItemCSS.png Rose Red Rose Red Made by placing a rose on a crafting grid. In Pocket Edition 0.4.0 it is made by cooking a Red Mushroom in a Furnace.
ItemCSS.png Dandelion Yellow Dandelion Yellow Made by placing a dandelion on a crafting grid.
ItemCSS.png Lapis Lazuli Lapis Lazuli Ore Blue Mined (one ore yields 4-8 dye). (One block of blue wool resides in Desert Temples.)
ItemCSS.png Cactus Green Cactus Green Made by cooking cactus in a furnace.
ItemCSS.png Ink Sac 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 occuring lamp posts in NPC Villages.)
ItemCSS.png Bone Meal Bone White Made by placing a bone on a crafting grid. (White wool can also be obtained from white sheep.)
ItemCSS.png Cocoa Beans Cocoa plants, Dungeons. Brown Found in dungeons, or growing on jungle trees. (Brown wool can also be obtained from brown sheep.)

[edit] Secondary colors

Secondary dyes are created by combining primary dyes together.

Name Source Color Notes
ItemCSS.png Orange Dye Rose Red + Dandelion Yellow Orange (Orange wool can also be obtained from Desert Temple.)
ItemCSS.png Cyan Dye Cactus Green + Lapis Lazuli Cyan
ItemCSS.png Purple Dye Rose Red + Lapis Lazuli Purple
ItemCSS.png Gray Dye Ink Sac + Bone Meal Gray (Gray wool can also be obtained from gray sheep.)
ItemCSS.png Light Blue Dye Lapis Lazuli + Bone Meal Light Blue
ItemCSS.png Pink Dye Rose Red + Bone Meal Pink (Pink wool can also be obtained from rare pink sheep.)
ItemCSS.png Lime Dye Cactus Green + Bone Meal Lime Green

[edit] Tertiary colors

Tertiary dyes are created by combining at least one secondary dye.

Name Source Color Notes
ItemCSS.png Magenta Dye Purple Dye + Pink Dye Magenta See Magenta Dye page for alternate recipes and comparison of recipes' efficiency.
ItemCSS.png Light Gray Dye Gray Dye + Bone Meal Light Gray See Light Gray Dye page for alternate recipe and comparison of recipes' efficiency. (Light gray wool can also be obtained from light gray sheep.)

[edit] Video

[edit] Notes

If you are looking to make Wool dyed a certain color, it is better to dye a sheep the desired color and shear the sheep. This method gives you a permanent supply of that wool color (1-3 blocks per shearing), for a single piece of dye, where crafting gives you only one dyed block per dye unit. Note that you can also bleach and re-dye non-white sheep. Sheep can also be bred, and the lambs inherit the color of one of their parents.

These colors of wool naturally occur on sheep; all others must be created by using dye on a sheep (right-click):

  1. White sheep (the most common)
  2. Light gray sheep
  3. Dark gray sheep
  4. Black sheep
  5. Brown sheep
  6. Pink sheep (rarest)

[edit] Data values

The color of a dye item depends on a secondary data field (beyond the item ID of 351), which is also used to store the damage for tools and so is commonly referred to as a “damage value”. The "color codes" are used to determine the color imparted on sheep, wolf collars, and leather armor.

Icon Dec Hex Description Color Code Sample
ItemCSS.png 0 0x0 Ink Sac #191919
ItemCSS.png 1 0x1 Rose Red #CC4C4C
ItemCSS.png 2 0x2 Cactus Green #667F33
ItemCSS.png 3 0x3 Cocoa Beans #7F664C
ItemCSS.png 4 0x4 Lapis Lazuli #3366CC
ItemCSS.png 5 0x5 Purple Dye #B266E5
ItemCSS.png 6 0x6 Cyan Dye #4C99B2
ItemCSS.png 7 0x7 Light Gray Dye #999999
ItemCSS.png 8 0x8 Gray Dye #4C4C4C
ItemCSS.png 9 0x9 Pink Dye #F2B2CC
ItemCSS.png 10 0xA Lime Dye #7FCC19
ItemCSS.png 11 0xB Dandelion Yellow #E5E533
ItemCSS.png 12 0xC Light Blue Dye #99B2F2
ItemCSS.png 13 0xD Magenta Dye #E57FD8
ItemCSS.png 14 0xE Orange Dye #F2B233
ItemCSS.png 15 0xF Bone Meal #FFFFFF

[edit] History

Beta
1.2 Added wool dyes.
Official release
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.
Upcoming
1.6 13w19a Stained Clay can now be crafted.

[edit] Trivia

  • The reversed color values closely resemble an ANSI or VGA palette with the biggest outlier being orange.
  • The metadata values for wool and wool dyes are the inverse of one another, with white wool having a metadata value of 0, bone meal 15; orange wool having a value of 1, orange dye 14 and so on.
  • Players can obtain each one of every color with 1 cocoa bean, 2 yellow dye, 3 green dye and ink sacs, 4 lapis lazuli, 5 red, and 8 bone meal (3 bones).
  • Giving yourself a dye with a damage value greater than 15 will result in an object which resembles some other in-game item, such as a wooden tool, and moving the mouse over the item to view its tool-tip text will crash the game.
  • 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.
  • When coding recipes including items with metadata, such as dyes, rather than just making an item, you must create a stack of one item that includes the metadata.
Personal tools
Namespaces
Variants
Actions
Minecraft Wiki
Minecraft
Useful pages
Toolbox
In other languages

Recent Community Articles

Mojang Tweets

    Getting your tweets...
Become a Premium Member!