How To Summon A Pig Wiki Guide
This Minecraft tutorial explains how to summon a pig with screenshots and step-by-step instructions.
You can summon a pig whenever you want using a cheat (game command) in Minecraft. This is done using the /summon command.
Let’s explore how to do this.
Requirements
To run game commands in Minecraft, you have to turn cheats on in your world.
Summon Command
Summon Command in Minecraft Java Edition (PC/Mac)
In Minecraft Java Edition (PC/Mac) 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20, the syntax to summon a pig using the /summon command is:
/summon pig [pos] [nbt]
In Minecraft Java Edition (PC/Mac) 1.8, 1.9 and 1.10, the syntax to summon a pig is:
/summon Pig [x] [y] [z] [dataTag]
Definitions
- pos or x y z is optional. It is the x y z coordinate where the pig should spawn. If no coordinate is specified, the pig will spawn in the current location.
- nbt or dataTag is optional. It is a compound NBT tag (formerly called data tag) that sets a property for the pig such as {NoAI:1} or {Age:-25000}. See NBT tags for pig.
Examples
Example in Java Edition (PC/Mac) 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20
To summon a pig in Minecraft 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20:
/summon pig
To summon a baby pig that is named Pinky:
/summon pig ~ ~ ~ {CustomName:"\"Pinky\"",Age:-25000}
Example in Java Edition (PC/Mac) 1.11 and 1.12
To summon a pig in Minecraft 1.11 and 1.12:
/summon pig
To summon a baby pig that is named Pinky:
/summon pig ~ ~ ~ {CustomName:Pinky,Age:-25000}
Example in Java Edition (PC/Mac) 1.8, 1.9 and 1.10
To summon a pig in Minecraft 1.8, 1.9 and 1.10:
/summon Pig
To summon a pig that is named Sloppy:
/summon Pig ~ ~ ~ {CustomName:Sloppy}
To summon a baby pig (piglet):
/summon Pig ~ ~ ~ {Age:-25000}
How to Enter the Command
1. Open the Chat Window
The easiest way to run a command in Minecraft is within the chat window. The game control to open the chat window depends on the version of Minecraft:
- For Java Edition (PC/Mac), press the T key to open the chat window.
- For Pocket Edition (PE), tap on the chat button  at the top of the screen.
- For Xbox One, press the D-Pad (right)Â Â on the controller.
- For PS4, press the D-Pad (right)Â Â on the controller.
- For Nintendo Switch, press the right arrow button  on the controller.
- For Windows 10 Edition, press the T key to open the chat window.
- For Education Edition, press the T key to open the chat window.
2. Type the Command
In this example, we are going to summon a pig in Minecraft Java Edition (PC/Mac) 1.20 with the following command:
/summon pig
Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.
Once the cheat has been entered, the pig will spawn and appear in your world:
You will see the message “Summoned new Pig” appear in the lower left corner of the game window to indicate that the pig has been summoned. You may need to look behind you to see it.
Congratulations, you have summoned a pig in Minecraft.
Other Pig Command Examples
Here are some game command examples for a pig in Minecraft:
How to Summon a Pig with Saddle