Summon Hoglin Generator Summon Mob Generator for Java 1.17

Update 2.41.2, you may need to clear cache for updated files.
Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors. Found a bug or want a feature, let us know on reddit.

Minecraft summon hoglin command

Using the summon command to spawn in a minecraft hoglin is simple, take the command and enter into chat and presto you have a hoglin.

Summon hoglin that is immune to becoming a zombie

When TimeInOverworld reaches 300 the hoglin will become zombie. You can prevent hoglin from turning into a zombie when in the overworld by setting the IsImmuneToZombification:1

/summon minecraft:hoglin ~ ~ ~ {IsImmuneToZombification:1}

How to summon a baby hoglin (piglet)

Like most passive mobs in Minecraft, you can summon a piglet by setting the Age tag to a negative number (under the "Additional" tab).

/summon minecraft:hoglin ~ ~ ~ {Age:-1200}

(Grows up in 60 seconds)

/summon minecraft:hoglin ~ ~ ~ {Age:-6000}

(Grows up in 5 minutes)

Minecraft Versions Permalinks

If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.

Version History

27 Aug 2026
minecraft/command-generator 2.41.2

addedend_crystal nbt tags
patchdamage_resistant for multi values in 26.1
patchbee nbt tags
patchmotion and rotation nbt tags
patchvarious uuid and nbt pathing issues

20 Aug 2026
minecraft/command-generator 2.41.1

patchsummon blocks fixes and improvements
patchsome autocomplete quirky issues during typing

13 Aug 2026
minecraft/command-generator 2.41

addedUUID converter
patchFix for issue with items not re-encoding correctly for items, trades and containers
patchTrades for 1.20.4 and earlier now auto add Count if missing


Read version history »
(131 More Updates)