Spawn Egg

Egg.png;

A spawn egg is an item used to spawn mobs directly.

Obtaining
Spawn eggs can be obtained only in Creative mode or using commands. In Creative mode, the player can press on an existing mob to obtain their respective egg. Spawn eggs are also available in the Creative inventory. There are 67 eggs $$ and 64 eggs $$.

Usage
A spawn egg is used by pressing on any surface (top, bottom, or side) with the egg. When used on a top surface, the egg's mob appears with its feet immediately adjacent to the surface, and its ambient sound is played.

Spawn eggs are not thrown (unlike normal eggs); the player must be within normal range of the block to use the spawn egg. Hostile and neutral mobs (except wolves, polar bears, pandas, dolphins, llamas, bees, vindicators, evokers, and shulkers) spawned while on Peaceful difficulty get created and immediately deleted from the world.

The surfaces of blocks are prioritized for spawning; if none are within reach, mobs can also be spawned in water.

Dispensers
A spawn egg fired from a dispenser spawns the mob directly in front of the dispenser.

Baby mobs
If a mob has a baby form, and the player its spawn egg on an adult, it spawns a baby version of that mob, rather than an adult. Other mobs such as evokers, vindicators, and vexes don't breed.

Spawners
All spawn egg can also be on a spawner to change the mob the spawner spawns. $$, spawn eggs for any of the fish mobs spawn them only if the spawner is waterlogged.

Renaming
A spawn egg can be renamed on an anvil, and when used it spawns a mob with that name appearing over its head. The name can be seen only by aiming at the mob from four or fewer blocks away. This name also appears in death messages from the mob killing a player. If the player renames a spawn egg by the names described below, the mob appears described below. If the player renames a rabbit spawn egg "Toast", the secret skin of the rabbit appears when the egg is used. Naming a spawn egg "Dinnerbone" or "Grumm" causes the mob to appear upside down and show the given name above it. Renaming a vindicator "Johnny" causes it to act hostile to all mobs except for other illagers. Renaming a Sheep "jeb_" makes the sheep change colors (in a rainbow loop). This doesn't change the color of the wool you get from the sheep.

Education Edition Spawn Eggs
These spawn eggs exist only $$. The textures exist $$:
 * Mask (does not spawn a mob)
 * Mask (does not spawn a mob)
 * Mask (does not spawn a mob)

ID




Java Edition

 * : The item's tag tag.

Bedrock Edition

 * : The item's tag tag.
 * : The entity's string ID.

When using the command to give a spawn egg, it requires the numeric ID of an entity; for example:  would give an egg that spawns a creeper. For reference, see Bedrock Edition data values for a complete list of entity IDs.

Eggs can be given not just for mobs listed in the table above, but for a few other entities. These eggs are uncolored (completely black) and are given unlocalized placeholder names, or simply, "Spawn".
 * The elder guardian ghost (120) spawn egg can be given with commands.
 * Using any other entity ID fails to give the egg, but an egg can be obtained using an inventory editor or custom behavior packs.
 * The painting spawn egg instantly crashes the game.