Minecraft:Spawn Egg colors: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 379: | Line 379: | ||
|{{HistoryLine||1.21.5|dev=25w08a|Colored spawn eggs have been replaced with their own separate textures.}} | |{{HistoryLine||1.21.5|dev=25w08a|Colored spawn eggs have been replaced with their own separate textures.}} | ||
|{{HistoryLine|bedrock}} | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|[[File:Mask Spawn Egg BE1.png|32px]] Added the mask spawn egg texture. | |{{HistoryLine||1.8.0|dev=beta 1.8.0.8|[[File:Mask Spawn Egg BE1.png|32px]] Added the mask spawn egg texture. It was made for data-driven entities. | ||
|In the texture, the red channel is the base spawn egg texture, while the green channel is the spawn egg overlay texture. To give the item its appearance the base color is applied to the red channel, and the overlay color is applied to the green channel with shaders | |In the texture, the red channel is the base spawn egg texture, while the green channel is the spawn egg overlay texture. To give the item its appearance the base color is applied to the red channel, and the overlay color is applied to the green channel with shaders.}} | ||
|{{HistoryLine||1.21.70|dev=Preview 1.21.70.24|Spawn eggs that used colors and those that did not have both been replaced with new textures located in the <samp>spawn_eggs</samp> sub-folder. | |{{HistoryLine||1.21.70|dev=Preview 1.21.70.24|Spawn eggs that used colors and those that did not have both been replaced with new textures located in the <samp>spawn_eggs</samp> sub-folder. | ||
|The mask spawn egg texture can still be used to create custom spawn eggs using [[Minecraft:add-on]]s.}} | |The mask spawn egg texture can still be used to create custom spawn eggs using [[Minecraft:add-on]]s.}} | ||
| Line 406: | Line 406: | ||
|[[File:Cow Spawn Egg JE2 BE1.png|32px]] Cow: {{color|#443626}}, {{color|#A1A1A1}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 12w01a and 1.14.4.}} | |[[File:Cow Spawn Egg JE2 BE1.png|32px]] Cow: {{color|#443626}}, {{color|#A1A1A1}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 12w01a and 1.14.4.}} | ||
|[[File:Creeper Spawn Egg JE2 BE1.png|32px]] Creeper: {{color|#0DA70B}}, {{color|#000000}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 12w01a and 1.14.4.}} | |[[File:Creeper Spawn Egg JE2 BE1.png|32px]] Creeper: {{color|#0DA70B}}, {{color|#000000}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 12w01a and 1.14.4.}} | ||
|[[File:Enderman Spawn Egg JE2 | |[[File:Enderman Spawn Egg JE2.png|32px]] Enderman: {{color|#161616}}, {{color|#000000}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 12w01a and 1.14.4.}} | ||
|[[File:Ghast Spawn Egg JE2 BE1.png|32px]] Ghast: {{color|#F9F9F9}}, {{color|#BCBCBC}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 12w01a and 1.14.4.}} | |[[File:Ghast Spawn Egg JE2 BE1.png|32px]] Ghast: {{color|#F9F9F9}}, {{color|#BCBCBC}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 12w01a and 1.14.4.}} | ||
|[[File:Magma Cube Spawn Egg JE2 BE1.png|32px]] Magma Cube: {{color|#340000}}, {{color|#FCFC00}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 12w01a and 1.14.4.}} | |[[File:Magma Cube Spawn Egg JE2 BE1.png|32px]] Magma Cube: {{color|#340000}}, {{color|#FCFC00}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 12w01a and 1.14.4.}} | ||
| Line 442: | Line 442: | ||
|[[File:Husk Spawn Egg JE1 BE2.png|32px]] Husk: {{color|#797061}}, {{color|#E6CC94}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 16w20a and 1.14.4.}} | |[[File:Husk Spawn Egg JE1 BE2.png|32px]] Husk: {{color|#797061}}, {{color|#E6CC94}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 16w20a and 1.14.4.}} | ||
|[[File:Elder Guardian Spawn Egg JE1 BE1.png|32px]] Elder Guardian: {{color|#CECCBA}}, {{color|#747693}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 16w20a and 1.14.4.}} | |[[File:Elder Guardian Spawn Egg JE1 BE1.png|32px]] Elder Guardian: {{color|#CECCBA}}, {{color|#747693}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 16w20a and 1.14.4.}} | ||
|[[File:Cat Spawn Egg JE1.png|32px]] Cat: {{ | |[[File:Cat Spawn Egg JE1.png|32px]] Cat: {{color|#EAA939}}, {{color|#DB7920}} | ||
|[[File:Donkey Spawn Egg JE1 BE1.png|32px]] Donkey: {{color|#534539}}, {{color|#867566}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 16w20a and 1.14.4.}} | |[[File:Donkey Spawn Egg JE1 BE1.png|32px]] Donkey: {{color|#534539}}, {{color|#867566}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 16w20a and 1.14.4.}} | ||
|[[File:Mule Spawn Egg JE1 BE1.png|32px]] Mule: {{color|#1B0200}}, {{color|#51331D}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 16w20a and 1.14.4.}} | |[[File:Mule Spawn Egg JE1 BE1.png|32px]] Mule: {{color|#1B0200}}, {{color|#51331D}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 16w20a and 1.14.4.}} | ||
| Line 460: | Line 460: | ||
|{{HistoryLine||1.13|dev=17w47a|As spawn eggs now have separate IDs, those not corresponding to usual mobs are now deleted if loaded from this version up to 18w16a, or converted to pig spawn eggs with NBT from 18w19a onward; as such, the uncolored spawn egg no longer appears in-game.}} | |{{HistoryLine||1.13|dev=17w47a|As spawn eggs now have separate IDs, those not corresponding to usual mobs are now deleted if loaded from this version up to 18w16a, or converted to pig spawn eggs with NBT from 18w19a onward; as such, the uncolored spawn egg no longer appears in-game.}} | ||
|{{HistoryLine|||dev=18w07a|Added phantom and turtle spawn eggs. | |{{HistoryLine|||dev=18w07a|Added phantom and turtle spawn eggs. | ||
|[[File:Phantom Spawn Egg JE1.png|32px]] Phantom: {{ | |[[File:Phantom Spawn Egg JE1.png|32px]] Phantom: {{color|#353043}}, {{color|#79BE46}} | ||
|[[File:Turtle Spawn Egg JE1 BE1.png|32px]] Turtle: {{color|#E7E7E7}}, {{color|#00AFAF}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 18w07a and 1.14.4.}}}} | |[[File:Turtle Spawn Egg JE1 BE1.png|32px]] Turtle: {{color|#E7E7E7}}, {{color|#00AFAF}}{{verify|Based on the value defined in 1.14.4's code. Whether this is actually true needs verified, as well as if the colors used have changed at all between 18w07a and 1.14.4.}}}} | ||
|{{HistoryLine|||dev=18w08b|Added cod, salmon, and pufferfish spawn eggs. | |{{HistoryLine|||dev=18w08b|Added cod, salmon, and pufferfish spawn eggs. | ||
Revision as of 11:09, 23 July 2026
Template:Removed feature Prior to the Minecraft:Spring to Life game drop, Minecraft:spawn eggs used textures that were accordingly Minecraft:colored to match each mob.
While Minecraft:Programmer Art returns the old spawn eggs Template:In and Minecraft:add-ons can create the old spawn eggs Template:In, these are dedicated texture files per item rather than the old coloring system.
Previous values
Java Edition
April Fools' spawn eggs
Bedrock Edition
Spawn eggs that are pre-colored
These spawn eggs used texture files directly, as opposed to using the standard base and overlay textures. Several of these used textures visually identical to the outcome of tinting in Java Edition, and as such the input colors could be reverse-engineered.
History
Used colors
Spawn eggs that do not use colors
Template:IN, not all spawn eggs utilized the color system, and instead used predefined sprites that are themselves colored. These may appear identical to their Java Edition counterparts, or entirely different. Such cases are listed here for the sake of completion, and to distinguish them from color-using spawn eggs via highlighting what eggs do not.
Before 12w01a
Prior to Java Edition 12w01a, spawn eggs used a single texture, colored with a single color. This color was generated by the game via an equation, rather than specific colors picked for each egg; as such, even the unused spawn eggs had colors associated with them. The following formula was used to calculate each color component:
red = (64 + (n * 2423535 & 0xC0)) % 256; green = (64 + (n * 223535 & 0xC0)) % 256; blue = (64 + (n * 242535 & 0xC0)) % 256;
There are a total of 64 distinct spawn egg colors that can be generated, and the pattern of colors repeats every 256 metadata values (such that a spawn egg with metadata value 0 looks identical to that of one of value 256, and that to one of 512, and so on).
The following is a table of each individual spawn egg color, what data values it applies to in the 0-to-255 range (with the first being bold), and entities that this color is associated with:
Notes
Minecraft:es:Colores de huevos generadores Minecraft:fr:Couleurs des oeufs d'apparition Minecraft:pt:Cores de ovos geradores