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
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:


== 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 29: 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 development|je||26.3|removed=1|section=1}}
{{removed feature|edition=java|section=1}}


{{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).
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 73: Line 74:
|{{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 89: 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