Dye

From Minecraft Wiki
Jump to: navigation, search
Dyes
WoolDyes.gif
















Type

Items

Durability

N/A

Renewable

Yes

Stackable

Yes (64)

First appearances

See history

Data value

dec: 351 hex: 15F bin: 101011111

Name

dye

Dyes are a set of 16 items used to change the color of wool, leather armor, terracotta, certain mobs, the patterns on banners, shulker boxes, glass, concrete powder and beds.

Obtaining[edit | edit source]

A guide to crafting all the dyes.

Most dyes are produced by crafting various flowers or other items, or by combining other dyes.

Crafting

[edit]

Smelting[edit | edit source]


Name Ingredients Smelting recipe
Cactus Green Cactus +
Any fuel









Lapis Lazuli Lapis Lazuli Ore +
Any fuel









Other[edit | edit source]

Lapis Lazuli can be mined from lapis lazuli ore in amounts of 4 to 8 per ore. They can also be bought from cleric villagers.

Cocoa beans can be harvested from cocoa pods in amounts of 1 to 3 per fully grown pod. A pod that is not fully grown will only yield one cocoa beans.

Ink sacs can be dropped by slain squid in amounts of 1 to 3 per squid. Looting can increase this amount.

Pocket Edition[edit | edit source]

Ink sacs can be found in dungeons and blacksmith chests, and can be obtained by killing squids.

Usage[edit | edit source]

Dyeing wool and mobs[edit | edit source]

Players can dye wool by placing white wool and a dye in a crafting grid.

Ingredients Crafting recipe
Matching Colored Dye +
White Wool








































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 will 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 tamed wolves. Using a dye on a tamed wolf will change the color of the wolf's collar (red by default) to the color of the dye.

Dye can also be used on shulkers.

Dyeing Terracotta[edit | edit source]

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

Ingredients Crafting recipe
Terracotta +
Matching Dye

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.

Ingredients Crafting recipe
Glass +
Matching Dye

Dyeing armor[edit | edit source]

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

Leather armor can be dyed by:

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 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 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.

Name Ingredients Crafting recipe
Firework Star Gunpowder +
Any Dye (1-8x) +
Extra ingredient (optional)
















































Firework Star Matching Firework Star +
Any Dye

























































[edit | edit source]

Dyes are used in most banner patterns to determine which pattern and what color is used.

Dyeing shulker boxes[edit | edit source]

Shulker boxes are created purple by default and can be dyed any color.

Name Ingredients Crafting recipe
Shulker Box Any Shulker Box +
Matching Dye

























































Creating concrete powder[edit | edit source]

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

Ingredients Crafting recipe
Sand +
Gravel +
Matching Dye

Dyeing beds[edit | edit source]

Players can dye beds by placing any color bed and a dye in a crafting grid. In Java Edition, only white beds can be dyed.

Ingredients Crafting recipe
White Bed +
Matching Dye










































Dyeing water inside cauldrons[edit | edit source]

Performed by clicking the cauldron filled with water with a dye.[Pocket Edition only]

Other uses[edit | edit source]

4 colors of dye have other uses specific to those colors; see their separate articles for the details.

Colors[edit | edit source]

Primary[edit | edit source]

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

Name Source Color Notes

Rose Red
Poppy
Rose Bush
Red Tulip
Beetroot
Red Made by placing a poppy, red tulip, beetroot, or rose bush on a crafting grid.

Dandelion Yellow
Dandelion
Sunflower
Yellow Made by placing a dandelion or sunflower on a crafting grid.

Cactus Green
Cactus Green Made by cooking cactus in a furnace.

Lapis Lazuli
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).

Bone Meal
Bone White Made by placing a bone or bone block 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.)

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 occurring lamp posts in villages.). Found in Pocket Edition village blacksmiths and stronghold chests. Can also be obtained by fishing.

Cocoa Beans
Cocoa plants Brown Growing on jungle trees. (Brown wool can also be obtained from brown

Quasi-Primary[edit | edit source]

These dyes can be created from a single ingredient spawned naturally in a world, or by combining other dyes.

Name Source Color Obtaining Naturally Crafting

Orange Dye
Orange Tulip Orange Made by placing an orange tulip on a crafting grid. Rose Red + Dandelion Yellow

Light Blue Dye
Blue Orchid Light Blue Made by placing a blue orchid on a crafting grid. Lapis Lazuli + Bone Meal.

Magenta Dye
Lilac
Allium
Magenta Made by placing a lilac or allium on a crafting grid. 2 Rose Red + 1 Lapis Lazuli + 1 Bone Meal OR Purple Dye + Pink Dye

Pink Dye
Peony
Pink Tulip
Pink Made by placing a peony or pink tulip on a crafting grid. Rose Red + Bone Meal

Light Gray Dye
Azure Bluet
Oxeye Daisy
White Tulip
Light Gray Made by placing an azure bluet, oxeye daisy, or white tulip on a crafting grid. (Light gray wool can also be obtained from light gray sheep.) Bone Meal + Gray Dye OR 2 Bone Meal + 1 Inc Sac

Secondary[edit | edit source]

Secondary dyes are created by combining primary dyes together.

Name Source Color

Cyan Dye
Cactus Green + Lapis Lazuli Cyan

Purple Dye
Rose Red + Lapis Lazuli Purple

Gray Dye
Ink Sac + Bone Meal Gray

Lime Dye
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.

Icon Data Description Color Code Sample
Dec Hex Dec Hex

0 0x0 Ink Sac 1908001 #1D1D21

1 0x1 Rose Red 11546150 #B02E26

2 0x2 Cactus Green 6192150 #5E7C16

3 0x3 Cocoa Beans 8606770 #835432

4 0x4 Lapis Lazuli 3949738 #3C44AA

5 0x5 Purple Dye 8991416 #8932B8

6 0x6 Cyan Dye 1481884 #169C9C

7 0x7 Light Gray Dye 10329495 #9D9D97

8 0x8 Gray Dye 4673362 #474F52

9 0x9 Pink Dye 15961002 #F38BAA

10 0xA Lime Dye 8439583 #80C71F

11 0xB Dandelion Yellow 16701501 #FED83D

12 0xC Light Blue Dye 3847130 #3AB3DA

13 0xD Magenta Dye 13061821 #C74EBD

14 0xE Orange Dye 16351261 #F9801D

15 0xF Bone Meal 16383998 #F9FFFE

Achievements[edit | edit source]

Icon Achievement In-game description Actual requirements (if different) Availability Xbox points earned Trophy type (PS)
Xbox PS Pocket Nintendo

Rainbow Collection Gather all 16 colours of wool. All the colours of wool does not have to be in the inventory at the same time, but must have been picked up by the player once. Xbox One Yes Yes Yes 30G Silver
Xbox 360 Alt 20G

Tie Dye Outfit Dye all 4 unique pieces of leather armor. Yes Yes Yes Yes 15G Bronze

Change of Sheets Dye your bed a different color Yes Yes No Yes 20G Bronze

Video[edit | edit source]

History[edit | edit source]

Beta
? Removed green stuff from rose red and dandelion yellow textures.
1.2 Added wool dyes.
Official release
1.1 11w49a Sheep now have the ability to regrow their wool by eating grass. Dyed sheep will regrow wool in their new color.
? Bone meal texture changed; lowered one pixel.
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.
15w34a Added shields, which can be dyed indirectly by applying a matching banner.
1.11 16w39b Dyes are now used to change the color of shulker boxes.
1.12 17w06a Dyes are now used to craft concrete powder.
17w15a Dyes can now apply color to a white bed.
Pocket Edition Alpha
0.3.0 Added dandelion yellow.
0.3.3 Added bone meal.
0.4.0 Added cactus green, cyan dye, lapis lazuli, light blue dye, lime dye, magenta dye, orange dye, pink dye and purple dye.
Added rose red, obtainable by smelting red mushrooms.
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.
Gray dye and light gray dye can now be obtained in survival.
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.
0.14.0 Cauldrons now used for leather dyeing, by applying a dye to a water-filled cauldron.
? As of 0.15.0 (possibly earlier), red mushrooms can no longer be smelted to obtain rose red.
0.16.0 Cocoa beans can no longer be crafted.
Pocket Edition
1.0 build 1 Added Dye button for sheep.
Added shulkers, which can be dyed.
Added stained glass. It cannot be crafted, but purple glass generates in end cities.
1.1 build 1 Dyes are now useful for colored beds.
Dyes are now used to craft concrete powder.
Changed the color palette.
Console Edition
TU1 CU1 1.0 Patch 1 Patch s1 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.
  • The colors of the dyes match the chat colors in Color Codes except for brown, which is replaced with another blue.