Namespaces

Variants

Share

Share
Views
Actions

Spawn Egg

From Minecraft Wiki
Jump to: navigation, search
Notch-twitter.png You know what would be fun? If every single animal in minecraft came from eggs. Breeding would involve moving egg blocks around.
~ Notch [1]
Spawn Egg
Spawn Mob Eggs.gif
Spawn CreeperSpawn SkeletonSpawn SpiderSpawn ZombieSpawn SlimeSpawn GhastSpawn Pig ZombieSpawn EndermanSpawn Cave SpiderSpawn SilverfishSpawn BlazeSpawn Magma CubeSpawn BatSpawn WitchSpawn PigSpawn SheepSpawn CowSpawn ChickenSpawn SquidSpawn WolfSpawn MooshroomSpawn OcelotSpawn VillagerSpawn HorseSpawn Endermite
Type

Items

Durability

N/A

Renewable

No

Stackable

Yes (64)

First appearance

11w49a

Data value

dec: 383 hex: 17F bin: 101111111

Name

spawn_egg

Spawn eggs on display.

A spawn egg is an item that may be used to spawn mobs directly. It is available to regular players in Creative Mode and to server operators in both Creative and Survival Mode. It allows the player to spawn a variety of mobs on command, although some mobs are not available for certain reasons. There are 25 eggs available in total without mods or hacking.

Contents

[edit] Use

A spawn egg is used by the use command (normally right-clicking) on a surface with the egg. The egg's mob will appear with its feet immediately adjacent to the surface. Unlike chicken eggs and Ender pearls, spawn eggs are not thrown; the player must be within normal range of the block. Hostile and neutral mobs (except wolves) spawned while on the Peaceful difficulty setting will spawn but instantly deleted from the world, just like mobs from monster spawners. The player may also place them in dispensers, which will spawn the mob directly in front of the dispenser itself. This would be useful for adventure maps and traps. In Creative Mode, the player can use "pick block" on a mob to obtain their respective egg, provided one already exists.

Spawn eggs renamed by anvils will spawn animals with that name attached to them as an NBT tag. This name will also appear in death messages.

[edit] Ability to spawn

Egg Spawns Notes Entity ID
Monsters
Grid Spawn Blaze.png
Blaze
61
Grid Spawn Cave Spider.png
Cave Spider
59
Grid Spawn Creeper.png
Creeper
Creepers never spawn charged. 50
Grid Spawn Enderman.png
Enderman
Endermen are spawned neutral without any block held by them. 58
Grid Spawn Endermite.png
Endermite
67
Grid Spawn Ghast.png
Ghast
56
Grid Spawn Magma Cube.png
Magma Cube
Magma Cubes are spawned with random sizes. 62
Grid Spawn Silverfish.png
Silverfish
60
Grid Spawn Skeleton.png
Skeleton


Wither Skeleton
Skeleton eggs used in The Overworld and The End will always spawn regular skeletons.
Eggs used in The Nether spawn Wither Skeletons 80% of the time.
51
Grid Spawn Slime.png
Slime
Slimes are spawned with random sizes. 55
Grid Spawn Spider.png
Spider
Spiders have a 1% chance to spawn Spider Jockeys. 52
Grid Spawn Witch.png
Witch
66
Grid Spawn Zombie.png
Zombie
Zombies have a 5% chance of spawning as a Zombie Villager and another 5% chance of spawning as baby zombies. There is also a chance of them holding tools or weapons. 54
Grid Spawn Pig Zombie.png
Zombie Pigman
Zombie Pigmen are spawned neutral, and have 5% chance of spawning as baby zombie pigmen. 57
Animals
Grid Spawn Bat.png
Bat
Bats will hang upside down on a block if you stay off a certain distance and use the spawn egg underneath an opaque block 65
Grid Spawn Chicken.png
Chicken
93
Grid Spawn Cow.png
Cow
92
Grid Spawn Horse.png
Horse
Horses will spawn 90% of the time; donkeys 10% of the time.
Foals will be spawned 20% of the time.
100
Grid Spawn Mooshroom.png
Mooshroom
96
Grid Spawn Ocelot.png
Ocelot
Ocelots are spawned untamed.
About 14% of the time (1/7) an ocelot is spawned with two ocelot kittens.
98
Grid Spawn Pig.png
Pig
Pigs are spawned without a saddle on the back. 90
Grid Spawn Sheep.png
Sheep
Sheep are spawned with the colors that can spawn naturally. See sheep page for details. 91
Grid Spawn Squid.png
Squid
Squids will not survive if spawned on land. 94
Grid Spawn Wolf.png
Wolf
Wolves are spawned neutral. 95
NPCs
Grid Spawn Villager.png
Villager
Villagers professions are randomized. 120

Notes:

  • All mobs with baby counterparts will spawn as adults unless the spawn egg is used on its corresponding mob (adult or baby) which will cause its baby counterpart to spawn instead.
  • Any entity not in the list above, such as paintings, entity blocks, or primed TNT, cannot be created with spawn eggs, even if set to the relevant entity ID value by commands. The egg is colored gray (Spawn Null.png) and will only work in version 1.1.

[edit] Renaming

If you rename a spawn egg in an anvil then spawn that mob that entity will have the name you renamed the spawn egg. But since certain mobs cannot be spawned using a spawn egg, the following cannot be renamed on an anvil:

[edit] Getting eggs using commands

A spawn egg without colors

Spawn eggs can be obtained by ops using the command /give. When using this method, the damage value of the egg spawned pertains to the Entity ID of the entity it makes (see table above). However, any spawn eggs not listed in the above table cannot spawn entities. (It will just make a sound as though an arrow has been shot.) These eggs will be the default color, white with gray spots. When a player hovers over the image with their mouse the name of the egg is "Spawn". This egg has no specific properties and can not spawn any mob.

The format for the /give command is:

/give <PLAYERNAME> spawn_egg <AMOUNT> <ENTITY ID>

However, this can be simplified to:

/give @p spawn_egg 1 <ENTITY ID>

Example: /give <PLAYERNAME> spawn_egg 1 120 would give a player a single villager spawn egg.

[edit] Spawn .name<

Spawn .name< (before 0.8.1)

In Pocket Edition, if one goes into Creative Mode, gets a Spawn Egg and a Bow, charges the bow, and switches to the spawn egg just as they shoot the bow, the spawn egg will turn into a chicken spawner-like "Spawn .name<". The same method can be done with anything else using data vaules, like dyes, and the player will receive whatever that item's data value 0 is (in the case of dyes, Ink Sacs).

[edit] History

Official release
1.1 11w49a Added spawn eggs. They had a single texture file, and looked like in the image.
12w01a The egg and its markings had their textures separated in order to allow them to have entirely different colors. This allowed their colors to be changed to better suit the mobs themselves.
1.2.1 12w03a Eggs can be placed into a dispenser. Activating the dispenser will spawn the mob instead of dispensing the egg as an item. Also in this version, spawn eggs became stackable, which allows dispensers to hold more than nine of them at one time.
12w04a Added Ocelot spawn eggs with the addition of the ocelot itself.
1.2.1 Before 1.2, edited eggs for Snow Golems, Ender Dragons, and Giants (and other "unspawnable" mobs) produced mobs of their types.
1.3.1 12w18a Villagers spawned from eggs were always farmers before 12w18a; in 12w18a and later their profession is randomized.
1.4.4 Baby mobs now are spawn-able by right-clicking a mob with a corresponding mob egg.
1.5 January 7, 2013 Dinnerbone tweeted the first image of a renamed mob appearing in a death message.
13w02a Mobs spawned from renamed eggs have the name of the egg and the names will appear in death messages.
Mobs can now display their custom name as nametag using an NBT tag.
1.6.1 1.6pre Renaming a Spawn Egg "Dinnerbone" or "Grumm" will cause the mob to spawn upside-down.
1.7.4 13w48b Renaming a sheep or sheep Spawn Egg "jeb_" will give it a rainbow wool changing effect. This does not affect the wool dropped after death or shearing, however.
Pocket Edition Alpha
0.7.0 Spawn Eggs added. These included Chicken, Sheep, Pig, and Cow.

[edit] Issues

Issues relating to "Spawn Egg" are maintained on the issue tracker. Report issues there.

[edit] Trivia

  • Mobs spawned via this item act the same as normally spawned ones. As such, hostile mobs will de-spawn if the player ventures too far.
  • In Creative mode, one spawn egg can be used to spawn mobs infinite times; however, in Survival Mode, spawn eggs will be used up (e.g. one spider spawn egg will only spawn one spider; it will then be used up; a stack will spawn sixty-four).
  • When spawning an Enderman using a spawn egg on peaceful difficulty, it can exist long enough to pick up a block.
  • Possibly due to spawn limits, spawn eggs only stack to 16 on the Xbox 360 Edition while stacks of 64 can be made on the PC version.
  • The Endermite's spawn egg possesses a reverse pattern of that of the Silverfish.
  • Using a spawn egg while in peaceful wont spawn a hostile mob.

[edit] Gallery

[edit] References