Spawn Egg

A spắwn 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. Ocelot and all monster mobs (except shulkers, piglins, hoglins; and in Bedrock Edition, also include vindicators, evokers, zoglins, piglin brutes) 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, vexes, piglin brutes, ravagers, phantoms, skeletons, pillagers, creepers and wither skeletons do not have a baby variant, 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.

Survival mode
Mobs can be spawned with spawn eggs in survival mode and it would consume the egg and spawn the mob, but spawn eggs are not obtainable in survival and can only be obtained using commands or the creative menu.

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




Item data



 * : The item's tag tag.


 * $$, spawn eggs have no additional tags.
 * See Bedrock Edition level format/Item format.
 * See Bedrock Edition level format/Item format.