Hoglin icon

Hoglin Summon Command Generator

  • Category: hostile
  • Baby variant: yes
  • Entity id: minecraft:hoglin

Hoglins hit like a battering ram and launch their target skyward, tacking fall damage onto an already heavy melee swing. That upward fling is what separates a hoglin arena from any other melee encounter — players fight the mob and the landing at the same time, and clever arena builders exploit it with ledges and lava below.

They are also the Nether's livestock. Hoglins drop raw porkchops and leather, breed with crimson fungus despite being hostile, and get hunted by roving piglin packs, which means a summoned herd can anchor an entire survival-style Nether farm or a staged hunt sequence. No other hostile mob doubles as a food source this cleanly.

Two warnings govern every build. First, hoglins flee from warped fungus, nether portals, and respawn anchors, so placing any of those inside an enclosure sends them scrambling. Second, the fifteen-second zombification timer converts Overworld hoglins into zoglins unless the summon carries the immunity tag.

Example commands

Crimson forest alpha

/summon minecraft:hoglin ~ ~ ~ {Glowing:1b,PersistenceRequired:1b,CustomName:"Tuskbreaker",CustomNameVisible:1b,Health:120f,attributes:[{id:"minecraft:max_health",base:120}]}

A named, glowing, triple-health bull — the launch attack plus 120 health turns an open crimson clearing into a genuine boss check.

Piglin war mount

/summon minecraft:hoglin ~ ~ ~ {Passengers:[{id:"minecraft:piglin"}]}

An inversion of the natural food chain — piglins normally hunt hoglins, so a piglin riding one reads instantly as a custom cavalry unit.

Petting-zoo piglet

/summon minecraft:hoglin ~ ~ ~ {IsBaby:1b,NoAI:1b,PersistenceRequired:1b}

Baby hoglins deal almost no damage even when hostile; freezing the AI makes this one safe enough for a hub-area pen.

Silent stampede unit

/summon minecraft:hoglin ~ ~ ~ {Silent:1b,Health:30f,attributes:[{id:"minecraft:max_health",base:30}]}

Lowered health and muted grunts suit a wave-spawner: a dozen of these charging a barricade delivers chaos without the audio overwhelming everything.

The same build across versions

Rows appear only where the output actually changes -- copy the one that matches your world.

Java 1.16

/summon minecraft:hoglin ~ ~ ~ {Glowing:1b,PersistenceRequired:1b,CustomName:'{"text":"Tuskbreaker"}',CustomNameVisible:1b,Health:120f,Attributes:[{Name:"generic.max_health",Base:120}]}

Java 1.21.4

/summon minecraft:hoglin ~ ~ ~ {Glowing:1b,PersistenceRequired:1b,CustomName:'{"text":"Tuskbreaker"}',CustomNameVisible:1b,Health:120f,attributes:[{id:"minecraft:max_health",base:120}]}

Java 26.2

/summon minecraft:hoglin ~ ~ ~ {Glowing:1b,PersistenceRequired:1b,CustomName:"Tuskbreaker",CustomNameVisible:1b,Health:120f,attributes:[{id:"minecraft:max_health",base:120}]}

Bedrock 26.x

/summon minecraft:hoglin "Tuskbreaker" ~ ~ ~
  • Bedrock /summon does not accept Java entity NBT; omitted Health/Attributes, traits (glowing, persistent, custom_name_visible).

Worth knowing

  • An adult hoglin's attack flings the victim into the air, so the real damage often comes from the fall — arena floors above lava or drops amplify the threat for free.
  • Hoglins avoid warped fungus, nether portals, and respawn anchors; a single warped fungus in a flowerpot is enough to steer a herd away from a doorway.
  • In the Overworld or End a hoglin transforms into a zoglin after about 15 seconds, and the zoglin is hostile to nearly everything, including piglins.
  • Hoglins are the only hostile mob that can be bred — feed two adults crimson fungus and they produce a hoglin piglet, making them the Nether's renewable meat supply.
  • Adult hoglins get hunted by groups of piglins, while baby piglins occasionally ride baby hoglins around during play instead of fighting them.

FAQ

Why did my hoglin turn into a zoglin?

Hoglins only stay stable in the Nether; anywhere else they convert after roughly 15 seconds. Summon with IsImmuneToZombification:1b to lock the original form.

What keeps a hoglin from wandering out of its pen?

Hoglins flee from warped fungus, nether portals, and respawn anchors, so lining the exit with warped fungus works as an invisible fence. Standard fences also need to be two blocks high because adults can be flung around by their own kind.

Can summoned hoglins be bred?

Yes — despite being hostile, two adult hoglins fed crimson fungus will breed. They are the only hostile mob with a breeding mechanic.