Pig Spawn Egg — Minecraft block

Pig Spawn Egg — Minecraft block

Pig Spawn Egg

Pig Spawn Egg instantly spawns a pig in Minecraft and is available only from the Creative inventory or the /give command.

Block ID minecraft:pig_spawn_egg
Mod Vanilla
Game versions
1.21

Description

Pig Spawn Egg is a pink-and-salmon spotted utility item that immediately spawns a pig when used on a block in Minecraft. Pig Spawn Egg is not craftable and never appears in Survival mode — players obtain it only from the Creative inventory or with the command /give @p pig_spawn_egg. Spawn eggs were added in Java Edition 1.1, and each egg carries a two-tone color scheme matching the mob it produces, so the pink base of Pig Spawn Egg mirrors a pig's skin.

Using Pig Spawn Egg on a monster spawner reprograms that spawner to produce pigs in both Java Edition and Bedrock Edition, which makes Pig Spawn Egg handy for custom farms and adventure maps. The spawned pig is a passive mob that drops 1–3 raw porkchops, breeds with carrots, potatoes, or beetroot, and can be saddled and steered with a carrot on a stick. A pig struck by lightning transforms into a Zombified Piglin, so map-makers use Pig Spawn Egg to stage weather-based events.

Block properties

Item ID minecraft:pig_spawn_egg
/give command /give @p minecraft:pig_spawn_egg
Stackable Yes (64)
Renewable No
Java Edition 1.1

Creative & Commands

How to use a Pig Spawn Egg in Minecraft

  1. 1

    Get the spawn egg

    Switch to Creative mode and find Pig Spawn Egg in the Spawn Eggs tab, or run /give @p pig_spawn_egg in any world that allows commands.

  2. 2

    Aim at a surface

    Point the crosshair at the floor or block face where you want the pig to appear; the mob spawns on the side you target.

  3. 3

    Use the egg

    Right-click on Java Edition or tap and hold on Bedrock Edition to spawn one pig instantly each time you use Pig Spawn Egg.

  4. 4

    Reprogram a spawner

    Use Pig Spawn Egg on a monster spawner in either edition to convert it into a pig spawner for an automatic porkchop farm.

Baby on demand

Use Pig Spawn Egg on an adult pig and a baby pig appears — the quickest way to start a breeding pair.

Frequently asked questions

Can you craft a Pig Spawn Egg?

No. Pig Spawn Egg cannot be crafted in any edition. It is only available in the Creative inventory or through the /give command.

What does a Pig Spawn Egg do?

Pig Spawn Egg spawns one pig where you use it. On a monster spawner, in either edition, it also reprograms the spawner to produce pigs.

What command gives a Pig Spawn Egg?

Run /give @p pig_spawn_egg in Java Edition or Bedrock Edition to add Pig Spawn Egg to your inventory in a world with cheats enabled.

Why does a spawned pig turn into a Zombified Piglin?

Any pig struck by lightning transforms into a Zombified Piglin. This intended behavior also applies to pigs created with Pig Spawn Egg.