Pixel art illustration of a Pig Spawn Egg with a two-tone speckled shell
Minecraft Java Item ID

Pig Spawn Egg ID

The Pig Spawn Egg spawns a pig when used. Spawn eggs are creative-mode items and cannot be obtained in survival mode.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:pig_spawn_egg

Pig Spawn Egg Item Facts

CategorySpawn Eggs
Maximum stack64
Available inCreative
Shared ID, data value 90 (Java 1.12.2 and earlier)383

Shared ID, data value 90 (Java 1.12.2 and earlier): Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Pig Spawn Egg

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:pig_spawn_egg 1

Customize this command →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 383 1

Give command syntax by version

Java 1.13+
/give @p minecraft:pig_spawn_egg 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 383 1 90
Numerical ID + data value

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Pig Spawn Egg

Finding Pig Spawn Egg

Pig Spawn Egg is a creative-mode item; it cannot be obtained in survival mode. Open the creative inventory and search for it by name, or use the give command matrix above.

Prefer commands? Jump back to the give command matrix above to get Pig Spawn Egg instantly.

About Pig Spawn Egg in Minecraft

The Pig Spawn Egg spawns a pig when used. Spawn eggs are creative-mode items and cannot be obtained in survival mode.

Pig Spawn Egg Command Examples

  • Give 1 to nearest player: /give @p minecraft:pig_spawn_egg 1
  • Give 1 to yourself: /give @s minecraft:pig_spawn_egg 1
  • Give to a specific player: /give PlayerName minecraft:pig_spawn_egg 1
  • Clear from inventory: /clear @p minecraft:pig_spawn_egg

Pig Spawn Egg FAQ

What is the item ID for Pig Spawn Egg?

The item ID for Pig Spawn Egg is minecraft:pig_spawn_egg. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Pig Spawn Egg?

Pig Spawn Egg has the historical numerical ID 383 with data value 90, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:pig_spawn_egg instead.

How do I give myself Pig Spawn Egg in Minecraft?

Open the chat window and run /give @p minecraft:pig_spawn_egg 1 to give the nearest player one Pig Spawn Egg. Replace @p with a player name to target someone else.

How many Pig Spawn Egg can stack in one slot?

Pig Spawn Egg stacks up to 64 per inventory slot.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Spawn Eggs

Item ID: minecraft:allay_spawn_egg
Item ID: minecraft:armadillo_spawn_egg
Item ID: minecraft:axolotl_spawn_egg
Item ID: minecraft:bat_spawn_egg
Item ID: minecraft:bee_spawn_egg
Item ID: minecraft:blaze_spawn_egg