Spawn Egg

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 66 eggs $$ and 64 eggs $$.

It is also possible to find a spawn egg that spawns the Wither boss within the Switch version's Mario Mashup template map. The egg is labeled "item.spawn_egg.entity.wither.name", however it works just like a normal spawn egg.

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, shulkers, zoglins, hoglins, piglin brutes, and piglins) 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 the player a spawn egg on the type of mob it spawns, and that mob has a baby form, the egg spawns a baby version of the mob. In mobs that can breed, the baby is created by breeding the clicked mob to itself. For instance, using a sheep spawn egg on a sheep makes a baby sheep with the same wool color.

Other mobs such as evokers, vindicators, and vexes do not have a baby form, so the egg still spawns an adult.

Spawners
All spawn eggs 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. Renaming a spawn egg of a hostile mob with an anvil and then spawning a hostile mob with the renamed spawn egg does not prevent the hostile mob from despawning, unlike using a name tag on the mob.

Education Edition spawn eggs
These spawn eggs exist $$ and $$:
 * Spawn Egg Mask
 * Spawn Egg Mask
 * Spawn Egg Mask

The NPC and agent can both be spawned in Bedrock Edition however the agent is not visible or interactable in any way, though it still prevents placing of blocks and entities.

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, like the NPC. Spawn eggs for other entities are unused and cannot be obtained by commands. Such spawn eggs were removed in Bedrock Edition 1.16.100.