Summon Hoglins with Commands
Hoglins are aggressive Nether mobs that make great additions to farms, builds, or custom maps. You can spawn them whenever you want using the /summon command.
Before You Start
You need cheats enabled in your world to use commands. If you’re starting a new world, turn on cheats during world creation. If you already have a world, you can enable cheats from the pause menu under “Game Rules.”
The /summon Command
Here’s the basic syntax:
/summon hoglin
This spawns a hoglin at your current location. You can customize it with coordinates and properties.
Command Syntax Breakdown
Position (optional): Add x y z coordinates to spawn the hoglin at a specific location instead of where you’re standing. Example: /summon hoglin 100 64 200
NBT Tags (optional): These let you customize the hoglin. Common tags include {CustomName:”Tusks”} to name it, {Health:50.0f} to set health, or {NoAI:1b} to make it stand still.
Command Examples
Basic Summon
/summon hoglin
Spawns a normal hoglin where you’re standing.
Named Hoglin
/summon hoglin ~ ~ ~ {CustomName:"\"Tusks\""}
Spawns a hoglin with the custom name “Tusks.” The ~ symbols mean your current position.
Hoglin at Specific Coordinates
/summon hoglin 100 64 200
Spawns a hoglin at coordinates X:100, Y:64, Z:200.
How to Enter the Command
Step 1: Open Chat
The key to open chat depends on your platform:
- Java Edition (PC/Mac): Press T
- Windows 10/11 Edition: Press T
- Pocket Edition: Tap the chat button at the top of the screen
- Xbox One: Press right on the D-Pad
- PS4: Press right on the D-Pad
- Nintendo Switch: Press right on the controller
Step 2: Type Your Command
Type the /summon command you want to use. As you type, you’ll see it in the lower left corner of the screen.
Step 3: Run It
Press Enter. You’ll see a message saying “Summoned new Hoglin” and the mob will appear in your world. Look around if you don’t see it right away.
Version Support
The /summon hoglin command works in Minecraft Java Edition versions 1.16, 1.17, 1.18, 1.19, and 1.20. If you’re on Bedrock Edition, the command syntax is slightly different. Check your version number in the launcher or main menu.