You can summon a piglin whenever you want using a cheat (game command) in Minecraft. This is done using the /summon command.
Let's explore how to do this.
The command to summon a piglin is available in the following versions of Minecraft:
* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Summon Command in Minecraft Java Edition (PC/Mac)
In Minecraft Java Edition (PC/Mac), the syntax to summon a piglin using the /summon command is:
/summon piglin [pos] [nbt]
Definitions
- pos is optional. It is the x y z coordinate where the piglin should spawn. If no coordinate is specified, the piglin will spawn in the current location.
- nbt is optional. It is a compound NBT tag (formerly called data tag) that sets a property for the piglin such as {CustomName:"\"Gold Bug\""} or {Health:50.0f}. See NBT tags for piglin.
Summon Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE) 1.20, the syntax to summon a piglin using the /summon command is:
/summon piglin <nameTag> [spawnPos]
/summon piglin [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon piglin [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon piglin [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Pocket Edition (PE) 1.16, 1.17, 1.18 and 1.19, the syntax to summon a piglin is:
/summon minecraft:piglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:piglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the piglin should spawn. If no coordinate is specified, the piglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the piglin. See spawn events for piglin.
- nameTag is the custom name to assign to the piglin. It will appear as a nametag above the piglin.
- xRot is the x-rotation that the piglin is facing in degrees. Positive values look downward and negative values look upward. 0=facing forward, 90=facing straight down, -90=facing straight up.
- yRot is the y-rotation that the piglin is facing in degrees. 0=South, 90=West, 180=North, 270=East.
- lookAtEntity is the name of a player (or a target selector) that the piglin will face when spawned.
- lookAtPositon is a set of x y z coordinates that the piglin will face when spawned.
Summon Command in Minecraft Xbox One Edition
In Minecraft Xbox One Edition 1.20, the syntax to summon a piglin using the /summon command is:
/summon piglin <nameTag> [spawnPos]
/summon piglin [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon piglin [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon piglin [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Xbox One Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a piglin is:
/summon minecraft:piglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:piglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the piglin should spawn. If no coordinate is specified, the piglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the piglin. See spawn events for piglin.
- nameTag is the custom name to assign to the piglin. It will appear as a nametag above the piglin.
- xRot is the x-rotation that the piglin is facing in degrees. Positive values look downward and negative values look upward. 0=facing forward, 90=facing straight down, -90=facing straight up.
- yRot is the y-rotation that the piglin is facing in degrees. 0=South, 90=West, 180=North, 270=East.
- lookAtEntity is the name of a player (or a target selector) that the piglin will face when spawned.
- lookAtPositon is a set of x y z coordinates that the piglin will face when spawned.
Summon Command in Minecraft PS4 Edition
In Minecraft PS4 Edition 1.20, the syntax to summon a piglin using the /summon command is:
/summon piglin <nameTag> [spawnPos]
/summon piglin [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon piglin [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon piglin [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft PS4 Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a piglin is:
/summon minecraft:piglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:piglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the piglin should spawn. If no coordinate is specified, the piglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the piglin. See spawn events for piglin.
- nameTag is the custom name to assign to the piglin. It will appear as a nametag above the piglin.
- xRot is the x-rotation that the piglin is facing in degrees. Positive values look downward and negative values look upward. 0=facing forward, 90=facing straight down, -90=facing straight up.
- yRot is the y-rotation that the piglin is facing in degrees. 0=South, 90=West, 180=North, 270=East.
- lookAtEntity is the name of a player (or a target selector) that the piglin will face when spawned.
- lookAtPositon is a set of x y z coordinates that the piglin will face when spawned.
Summon Command in Minecraft Nintendo Switch Edition
In Minecraft Nintendo Switch Edition 1.20, the syntax to summon a piglin using the /summon command is:
/summon piglin <nameTag> [spawnPos]
/summon piglin [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon piglin [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon piglin [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Nintendo Switch Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a piglin is:
/summon minecraft:piglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:piglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the piglin should spawn. If no coordinate is specified, the piglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the piglin. See spawn events for piglin.
- nameTag is the custom name to assign to the piglin. It will appear as a nametag above the piglin.
- xRot is the x-rotation that the piglin is facing in degrees. Positive values look downward and negative values look upward. 0=facing forward, 90=facing straight down, -90=facing straight up.
- yRot is the y-rotation that the piglin is facing in degrees. 0=South, 90=West, 180=North, 270=East.
- lookAtEntity is the name of a player (or a target selector) that the piglin will face when spawned.
- lookAtPositon is a set of x y z coordinates that the piglin will face when spawned.
Summon Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition 1.20, the syntax to summon a piglin using the /summon command is:
/summon piglin <nameTag> [spawnPos]
/summon piglin [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon piglin [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon piglin [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Windows 10 Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a piglin is:
/summon minecraft:piglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:piglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the piglin should spawn. If no coordinate is specified, the piglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the piglin. See spawn events for piglin.
- nameTag is the custom name to assign to the piglin. It will appear as a nametag above the piglin.
- xRot is the x-rotation that the piglin is facing in degrees. Positive values look downward and negative values look upward. 0=facing forward, 90=facing straight down, -90=facing straight up.
- yRot is the y-rotation that the piglin is facing in degrees. 0=South, 90=West, 180=North, 270=East.
- lookAtEntity is the name of a player (or a target selector) that the piglin will face when spawned.
- lookAtPositon is a set of x y z coordinates that the piglin will face when spawned.
Summon Command in Minecraft Education Edition
In Minecraft Education Edition, the syntax to summon a piglin using the /summon command is:
/summon minecraft:piglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:piglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the piglin should spawn. If no coordinate is specified, the piglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the piglin. See spawn events for piglin.
- nameTag is the custom name to assign to the piglin. It will appear as a nametag above the piglin.
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Example in Java Edition (PC/Mac) 1.16, 1.17, 1.18, 1.19 and 1.20
To summon a piglin in Minecraft 1.16, 1.17, 1.18, 1.19 and 1.20:
/summon piglin
To summon a piglin that is named Gold Bug:
/summon piglin ~ ~ ~ {CustomName:"\"Gold Bug\""}
Example in Pocket Edition (PE)
To summon a piglin in Minecraft PE:
/summon minecraft:piglin
To summon a piglin at the coordinates (12, 65, -8):
/summon minecraft:piglin 12 65 -8
Example in Xbox One Edition
To summon a piglin in Minecraft Xbox One Edition:
/summon minecraft:piglin
To summon a piglin that is 4 blocks West of your current position:
/summon minecraft:piglin ~-4 ~ ~
Example in PS4 Edition
To summon a piglin in Minecraft PS4 Edition:
/summon minecraft:piglin
To summon a piglin at the coordinates (8, 67, 100):
/summon minecraft:piglin 8 67 100
Example in Nintendo Switch Edition
To summon a piglin in Minecraft Nintendo Switch Edition:
/summon minecraft:piglin
To summon a piglin at the coordinates (8, 72, 100):
/summon minecraft:piglin 8 72 100
Example in Windows 10 Edition
To summon a piglin in Minecraft Windows 10 Edition:
/summon minecraft:piglin
To summon a piglin that is 1 block above your current position:
/summon minecraft:piglin ~ ~1 ~
Example in Education Edition
To summon a piglin in Minecraft Education Edition:
/summon piglin
To summon a piglin at the coordinates (-70, 63, 12):
/summon piglin -70 63 12
In this example, we are going to summon a piglin in Minecraft Java Edition (PC/Mac) 1.20 with the following command:
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.
Congratulations, you have summoned a piglin in Minecraft.
If you need help with /summon commands, you can use these tools to automatically generate commands for you: