Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Item colors: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{wip}}  
{{wip}}  
The following page lists [[Minecraft:color]]s that are applied to [[Minecraft:item]]s in the game.
The following page lists [[Minecraft:color]]s that are applied to [[Minecraft:item]]s in the game.
There are many colors in ''Minecraft'' as players can see by looking at blocks or mobs. But by dyeing leather armor, players can get unique colors as there are 12,326,391 different possible colors.


== Both editions ==
== Both editions ==
=== Spawn eggs ===
{{main|Spawn Egg colors}}
=== Potions ===
=== Potions ===
{{main|Effect colors}}
{{main|Effect colors#Potion colors}}


=== Item forms of colored blocks ===
=== Item forms of colored blocks ===
The inventory color of the grass is calculated with {{cd|temperature:0.5}} and {{cd|rainfall:1.0}}. The result is {{cd|AdjTemp:0.5, AdjRainfall:0.5}}, We can get the color ({{color|#7CBD6B}}) for the middle of center (x: 127, y: 127) of the {{cd|grass.png}}.
The inventory color for grass is calculated with {{cd|temperature:0.5}} and {{cd|rainfall:1.0}}. The result is {{cd|AdjTemp:0.5, AdjRainfall:0.5}}, We can get the color ({{color|#7CBD6B}}) for the middle of center (x: 127, y: 127) of the {{cd|grass.png}}.


These are exclusive to ''Java Edition''; ''Bedrock Edition'' instead has pre-colored textures used for items, distinct from the textures actually used for blocks in placed form (see [[Minecraft:Bedrock Edition history of textures/Items]]).
These are exclusive to ''Java Edition''; ''Bedrock Edition'' instead has pre-colored textures used for items, distinct from the textures actually used for blocks in placed form (see [[Minecraft:Bedrock Edition history of textures/Items]]).
Line 31: Line 26:
Lily Pad (item).png|Lily pad<br>{{color|#71C35C}}
Lily Pad (item).png|Lily pad<br>{{color|#71C35C}}
</gallery>
</gallery>
=== Dyed leather armor ===
[[File:DyeGraph3.png|thumb|Leather armor color codes]]
{{main|Dye#Color values}}
The default color is {{color|#A06540}} (Dec: 10511680). This is used for leather horse armor, and leather helmet, chestplate, leggings, and boots.
=== Firework stars ===
{{main|Dye#Color values}}
The default color is {{color|#8A8A8A}} (Dec: 9079434). When dyes are applied, the final color is different from that used for leather armor. They do not match one to one.
=== Spawn eggs ===
{{removed feature|section=1}}
{{main|Spawn Egg colors}}


=== Maps ===
=== Maps ===
{{IN|java}}, the item icons for [[Minecraft:Map|filled]] and [[Minecraft:explorer map]]s use two different textures: <code>filled_map.png</code>, which is the base texture, and <code>filled_map_markings.png</code>, which is overlaid onto the base texture and colored differently depending on the type of map. The color is defined in the <code>minecraft:map_color</code> component as an integer; if not defined, it defaults to {{color|#46402E}} (dec: 4603950).
{{removed feature|edition=java|section=1}}
 
From [[Minecraft:Java Edition 1.11]] until [[Minecraft:Java Edition 26.3]], the item icons for [[Minecraft:Map|filled]] and [[Minecraft:explorer map]]s used two different textures: <code>filled_map.png</code>, which is the base texture, and <code>filled_map_markings.png</code>, which is overlaid onto the base texture and colored differently depending on the type of map. The color is defined in the <code>minecraft:map_color</code> component as a decimal value; if not defined, it defaults to {{color|#46402E}} (dec: 4603950).


* {{ItemLink|Map|Filled Map}}: {{color|#46402E}} (dec: 4603950)
* {{ItemLink|Map|Filled Map}}: {{color|#46402E}} (dec: 4603950)
Line 42: Line 54:
* {{ItemLink|Plains Village Map|Village Maps; Jungle Explorer Map; Swamp Explorer Map}}: {{color|#999999}} (dec: 10066329)
* {{ItemLink|Plains Village Map|Village Maps; Jungle Explorer Map; Swamp Explorer Map}}: {{color|#999999}} (dec: 10066329)


{{IN|bedrock}}, pre-colored textures are instead used for each map type.
{{IN|bedrock}}, each map type used pre-colored textures instead.
 
=== Dyed leather armor ===
[[File:DyeGraph3.png|thumb|Leather armor color codes]]
{{main|Dye#Color_values}}
 
The default color is {{color|#A06540}} (Dec: 10511680). This is used for leather horse armor, and leather helmet, chestplate, leggings, and boots.
 
=== Firework stars ===
{{main|Dye#Color_values}}
 
The default color is {{color|#8A8A8A}} (Dec: 9079434). When dyes are applied, the final color is different from that used for leather armor. They do not match one to one.


== History ==
== History ==
Line 68: Line 69:
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease|[[File:Lily Pad (item) JE2.png|32px]] Added [[Minecraft:lily pad]]s, which use a color of {{color|#208030}} in the inventory.}}
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease|[[File:Lily Pad (item) JE2.png|32px]] Added [[Minecraft:lily pad]]s, which use a color of {{color|#208030}} in the inventory.}}
|{{HistoryLine||1.1|dev=11w49a|[[Minecraft:Spawn egg]]s added, which apply a single color to a constant texture according to the table below:
|{{HistoryLine||1.1|dev=11w49a|[[Minecraft:Spawn egg]]s added, which apply a single color to a constant texture according to the table below:
{{/1.1 spawn egg colors}}
{{:Spawn Egg colors/Java Edition values before 12w01a}}
}}
}}
|{{HistoryLine|||dev=12w01a|Spawn egg color application has been reworked to use two different textures, which can be colored completely different colors.}}
|{{HistoryLine|||dev=12w01a|Spawn egg color application has been reworked to use two different textures, which can be colored completely different colors.}}
|{{HistoryLine||1.8|dev=14w25a|[[File:Lily Pad (item) JE3.png|32px]] Lily pads are now colored with the color {{color|#71C35C}} in the inventory.}}
|{{HistoryLine||1.8|dev=14w25a|[[File:Lily Pad (item) JE3.png|32px]] Lily pads are now colored with the color {{color|#71C35C}} in the inventory.}}
|{{HistoryLine|||dev=14w27a|The color for the Jump Boost status effect has changed to {{color|#22FF4C}} (Dec: 2293580) with the addition of potions of Leaping. Prior to this change, the color for the Jump Boost status effect was {{color|#786297}} (Dec: 7889559).}}
|{{HistoryLine|||dev=14w27a|The color for the Jump Boost status effect has changed to {{color|#22FF4C}} (Dec: 2293580) with the addition of potions of Leaping. Prior to this change, the color for the Jump Boost status effect was {{color|#786297}} (Dec: 7889559).}}
|{{HistoryLine||1.11|dev=16w39a|The texture for filled maps has been split into a base layer and a tinted overlay layer.}}
|{{HistoryLine||?|Many item colors are no longer hardcoded and can be changed via resource packs.}}
|{{HistoryLine||?|Many item colors are no longer hardcoded and can be changed via resource packs.}}
|{{HistoryLine||?|Spawn eggs now use separate textures rather than a color system with shared textures as was done previously.}}
|{{HistoryLine||?|Spawn eggs now use separate textures rather than a color system with shared textures as was done previously.}}
|{{HistoryLine||26.3|dev=snap7|Filled and explorer maps no longer use a tinted overlay texture.}}
}}
}}


Line 82: Line 85:
|{{HistoryLine||v0.1.0|[[File:Oak Leaves (item) BE1.png|32px]] [[File:Oak Leaves (item fast) BE1.png|32px]] Added item models for oak leaves colored with {{color|#59A53F}}.}}
|{{HistoryLine||v0.1.0|[[File:Oak Leaves (item) BE1.png|32px]] [[File:Oak Leaves (item fast) BE1.png|32px]] Added item models for oak leaves colored with {{color|#59A53F}}.}}
|{{HistoryLine||v0.2.1|[[File:Placeholder Block JE1 BE1.png|32px]] [[File:Placeholder Block JE1 BE1.png|32px]] The item model use separate but identical magenta textures when "Fancy Graphics" are enabled/disabled and no longer colored.}}
|{{HistoryLine||v0.2.1|[[File:Placeholder Block JE1 BE1.png|32px]] [[File:Placeholder Block JE1 BE1.png|32px]] The item model use separate but identical magenta textures when "Fancy Graphics" are enabled/disabled and no longer colored.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.21.50|dev=Preview 1.21.50.20|[[Minecraft:Vines]], [[Minecraft:short grass]], [[Minecraft:fern]], and [[Minecraft:seagrass]] items no longer have a color applied to them.<ref>{{bug|MCPE-53775|Vines, tallgrass and ferns have color overlays applied twice||F}}</ref>{{info needed|When was this added and what was the color? Seems like Lilypads had this removed from them in v0.9.0 build 3.}}}}
}}
}}


Line 87: Line 92:
{{Navbox visuals}}
{{Navbox visuals}}


[[Minecraft:ja:アイテムの色]]
[[Minecraft:fr:Couleurs des objets]]
[[Minecraft:fr:Couleurs des objets]]

Latest revision as of 11:12, 4 October 2026

Template:Wip The following page lists Minecraft:colors that are applied to Minecraft:items in the game.

Both editions

Potions

Template:Main

Item forms of colored blocks

The inventory color for grass is calculated with Template:Cd and Template:Cd. The result is Template:Cd, We can get the color (Template:Color) for the middle of center (x: 127, y: 127) of the Template:Cd.

These are exclusive to Java Edition; Bedrock Edition instead has pre-colored textures used for items, distinct from the textures actually used for blocks in placed form (see Minecraft:Bedrock Edition history of textures/Items).

Dyed leather armor

File:DyeGraph3.png
Leather armor color codes

Template:Main

The default color is Template:Color (Dec: 10511680). This is used for leather horse armor, and leather helmet, chestplate, leggings, and boots.

Firework stars

Template:Main

The default color is Template:Color (Dec: 9079434). When dyes are applied, the final color is different from that used for leather armor. They do not match one to one.

Spawn eggs

Template:Removed feature Template:Main

Maps

Template:Removed feature

From Minecraft:Java Edition 1.11 until Minecraft:Java Edition 26.3, the item icons for filled and Minecraft:explorer maps used two different textures: filled_map.png, which is the base texture, and filled_map_markings.png, which is overlaid onto the base texture and colored differently depending on the type of map. The color is defined in the minecraft:map_color component as a decimal value; if not defined, it defaults to Template:Color (dec: 4603950).

Template:IN, each map type used pre-colored textures instead.

History

Template:Info needed section

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Navigation

Template:Navbox visuals

Minecraft:ja:アイテムの色 Minecraft:fr:Couleurs des objets