You can summon a hoglin 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 hoglin 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 hoglin using the /summon command is:
/summon hoglin [pos] [nbt]
Definitions
- pos is optional. It is the x y z coordinate where the hoglin should spawn. If no coordinate is specified, the hoglin 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 hoglin such as {CustomName:"\"Tusks\""} or {Health:50.0f}. See NBT tags for hoglin.
Summon Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE) 1.20, the syntax to summon a hoglin using the /summon command is:
/summon hoglin <nameTag> [spawnPos]
/summon hoglin [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon hoglin [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon hoglin [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Pocket Edition (PE) 1.16, 1.17, 1.18 and 1.19, the syntax to summon a hoglin is:
/summon minecraft:hoglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:hoglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the hoglin should spawn. If no coordinate is specified, the hoglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the hoglin. See spawn events for hoglin.
- nameTag is the custom name to assign to the hoglin. It will appear as a nametag above the hoglin.
- xRot is the x-rotation that the hoglin 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 hoglin 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 hoglin will face when spawned.
- lookAtPositon is a set of x y z coordinates that the hoglin will face when spawned.
Summon Command in Minecraft Xbox One Edition
In Minecraft Xbox One Edition 1.20, the syntax to summon a hoglin using the /summon command is:
/summon hoglin <nameTag> [spawnPos]
/summon hoglin [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon hoglin [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon hoglin [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Xbox One Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a hoglin is:
/summon minecraft:hoglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:hoglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the hoglin should spawn. If no coordinate is specified, the hoglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the hoglin. See spawn events for hoglin.
- nameTag is the custom name to assign to the hoglin. It will appear as a nametag above the hoglin.
- xRot is the x-rotation that the hoglin 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 hoglin 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 hoglin will face when spawned.
- lookAtPositon is a set of x y z coordinates that the hoglin will face when spawned.
Summon Command in Minecraft PS4 Edition
In Minecraft PS4 1.20, the syntax to summon a hoglin using the /summon command is:
/summon hoglin <nameTag> [spawnPos]
/summon hoglin [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon hoglin [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon hoglin [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft PS4 Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a hoglin is:
/summon minecraft:hoglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:hoglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the hoglin should spawn. If no coordinate is specified, the hoglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the hoglin. See spawn events for hoglin.
- nameTag is the custom name to assign to the hoglin. It will appear as a nametag above the hoglin.
- xRot is the x-rotation that the hoglin 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 hoglin 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 hoglin will face when spawned.
- lookAtPositon is a set of x y z coordinates that the hoglin will face when spawned.
Summon Command in Minecraft Nintendo Switch Edition
In Minecraft Nintendo Switch Edition 1.20, the syntax to summon a hoglin using the /summon command is:
/summon hoglin <nameTag> [spawnPos]
/summon hoglin [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon hoglin [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon hoglin [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Nintendo Switch Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a hoglin is:
/summon minecraft:hoglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:hoglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the hoglin should spawn. If no coordinate is specified, the hoglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the hoglin. See spawn events for hoglin.
- nameTag is the custom name to assign to the hoglin. It will appear as a nametag above the hoglin.
- xRot is the x-rotation that the hoglin 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 hoglin 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 hoglin will face when spawned.
- lookAtPositon is a set of x y z coordinates that the hoglin will face when spawned.
Summon Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition 1.20, the syntax to summon a hoglin using the /summon command is:
/summon hoglin <nameTag> [spawnPos]
/summon hoglin [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon hoglin [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon hoglin [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Windows 10 Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a hoglin is:
/summon minecraft:hoglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:hoglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the hoglin should spawn. If no coordinate is specified, the hoglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the hoglin. See spawn events for hoglin.
- nameTag is the custom name to assign to the hoglin. It will appear as a nametag above the hoglin.
- xRot is the x-rotation that the hoglin 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 hoglin 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 hoglin will face when spawned.
- lookAtPositon is a set of x y z coordinates that the hoglin will face when spawned.
Summon Command in Minecraft Education Edition
In Minecraft Education Edition, the syntax to summon a hoglin using the /summon command is:
/summon minecraft:hoglin [spawnPos] [spawnEvent] [nameTag]
/summon minecraft:hoglin <nameTag> [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the hoglin should spawn. If no coordinate is specified, the hoglin will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the hoglin. See spawn events for hoglin.
- nameTag is the custom name to assign to the hoglin. It will appear as a nametag above the hoglin.
- 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 hoglin in Minecraft 1.16, 1.17, 1.18, 1.19 and 1.20:
/summon hoglin
To summon a hoglin that is named Tusks:
/summon hoglin ~ ~ ~ {CustomName:"\"Tusks\""}
Example in Pocket Edition (PE)
To summon a hoglin in Minecraft PE:
/summon minecraft:hoglin
To summon a hoglin at the coordinates (12, 65, -8):
/summon minecraft:hoglin 12 65 -8
Example in Xbox One Edition
To summon a hoglin in Minecraft Xbox One Edition:
/summon minecraft:hoglin
To summon a hoglin that is 4 blocks West of your current position:
/summon minecraft:hoglin ~-4 ~ ~
Example in PS4 Edition
To summon a hoglin in Minecraft PS4 Edition:
/summon minecraft:hoglin
To summon a hoglin at the coordinates (8, 67, 100):
/summon minecraft:hoglin 8 67 100
Example in Nintendo Switch Edition
To summon a hoglin in Minecraft Nintendo Switch Edition:
/summon minecraft:hoglin
To summon a hoglin at the coordinates (8, 72, 100):
/summon minecraft:hoglin 8 72 100
Example in Windows 10 Edition
To summon a hoglin in Minecraft Windows 10 Edition:
/summon minecraft:hoglin
To summon a hoglin that is 1 block above your current position:
/summon minecraft:hoglin ~ ~1 ~
Example in Education Edition
To summon a hoglin in Minecraft Education Edition:
/summon hoglin
To summon a hoglin at the coordinates (-70, 63, 12):
/summon hoglin -70 63 12
In this example, we are going to summon a hoglin 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 hoglin in Minecraft.
If you need help with /summon commands, you can use these tools to automatically generate commands for you: