Minecraft:Spawn Egg colors: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 399: | Line 399: | ||
* Pre-release versions of the frog and tadpole spawn eggs: [[File:Frog Spawn Egg (pre-release).png|32px]] [[File:Tadpole Spawn Egg (pre-release).png|32px]] Were these shown in a Java Edition or Bedrock Edition development build? Try to reverse-engineer the colors from the footage if possible (they are not 100% accurate due to {{bug|MC-213446}}) | * Pre-release versions of the frog and tadpole spawn eggs: [[File:Frog Spawn Egg (pre-release).png|32px]] [[File:Tadpole Spawn Egg (pre-release).png|32px]] Were these shown in a Java Edition or Bedrock Edition development build? Try to reverse-engineer the colors from the footage if possible (they are not 100% accurate due to {{bug|MC-213446}}) | ||
* Remove entries listed in this template that have been incorporated into the History section below to make it clear what has actually been done | * Remove entries listed in this template that have been incorporated into the History section below to make it clear what has actually been done | ||
}} | }} | ||
| Line 553: | Line 552: | ||
|[[File:Spawn Egg BE2.png|32px]] Spawn: {{color|#000000}}, {{color|#000000}} | |[[File:Spawn Egg BE2.png|32px]] Spawn: {{color|#000000}}, {{color|#000000}} | ||
|When there are no colors specified the spawn egg looks completely black.}} | |When there are no colors specified the spawn egg looks completely black.}} | ||
|{{HistoryLine||?|Added elder guardian ghost spawn eggs. | |{{HistoryLine||?|Added elder guardian ghost spawn eggs.{{more information needed|Should they be listed here? All invalid spawn eggs would need to be here then.}} | ||
|[[File:Spawn Egg BE2.png|32px]] Elder Guardian Ghost: {{color|#000000}}, {{color|#000000}}}} | |[[File:Spawn Egg BE2.png|32px]] Elder Guardian Ghost: {{color|#000000}}, {{color|#000000}}}} | ||
|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|Added pillager spawn eggs. | |{{HistoryLine||1.9.0|dev=beta 1.9.0.0|Added pillager spawn eggs. | ||
| Line 668: | Line 667: | ||
|{{HistoryLine||1.16.100|dev=beta 1.16.100.56|[[File:Chicken Spawn Egg JE2 BE1.png|32px]] Invalid spawn eggs now once again appear as chicken spawn eggs.}} | |{{HistoryLine||1.16.100|dev=beta 1.16.100.56|[[File:Chicken Spawn Egg JE2 BE1.png|32px]] Invalid spawn eggs now once again appear as chicken spawn eggs.}} | ||
|{{HistoryLine||1.19.60|dev=Preview 1.19.60.20|Polar bear spawn eggs now use colors. The dedicated item texture is now unused.}} | |{{HistoryLine||1.19.60|dev=Preview 1.19.60.20|Polar bear spawn eggs now use colors. The dedicated item texture is now unused.}} | ||
|{{HistoryLine||1.19.70|dev=Preview 1.19.70.23|exp=Sniffer|Chicken spawn eggs and invalid spawn eggs have the appearance of turtle spawn eggs.}} | |||
|{{HistoryLine||1.20.0|dev=Preview 1.20.0.20|Chicken spawn eggs and invalid spawn eggs have their correct appearance.}} | |||
|{{HistoryLine|earth}} | |{{HistoryLine|earth}} | ||
Revision as of 11:26, 7 October 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
Java Edition
Bedrock Edition
Template:Anchor Template:HistoryTable
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 calculator can be used to calculate the colour of a spawn egg of damage value n:
red = Template:Simplecalc, green = Template:Simplecalc, blue = Template:Simplecalc
Color: Template:Color
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
References
Minecraft:es:Colores de huevos generadores Minecraft:fr:Couleurs des oeufs d'apparition Minecraft:pt:Cores de ovos geradores