Hoglin

A hoglin is a breedable hostile mob found in the Nether, and are a source of porkchops and leather.

Spawning
Hoglins are found in herds of 3–4 in crimson forests, respawning over time. They can spawn at any light level and on most solid blocks other than nether wart blocks and shroomlights.

Hoglins spawn in certain types of bastion remnants upon structure generation. They spawn frequently in the hoglin stable variant (specifically the large and small stables in the "lower" area, but never in the "upper" area with ramparts), and sometimes in the main "bridge entrance" at the upper half of the rampart in the bridge variant. Similar to the piglins and piglin brutes there, these hoglins never despawn.

5% of hoglins spawn as babies.

Hoglins spawn in Peaceful mode, but are passive to players.

Drops
Adult hoglins drop when killed:
 * 2–4 ( while on fire). The maximum amount is increased by 1 per level of Looting, for a maximum of 7 with Looting III.
 * 0–1 . The maximum amount is increased by 1 per level of Looting, for a maximum of 4 with Looting III.
 * if killed by a player or tamed wolf.
 * Baby hoglins drop only experience.
 * In fact, baby hoglins are the only mobs that both grow up and drop experience when killed.
 * $$, both adult and baby hoglins drop, if killed by a player or tamed wolf.

Behavior
Hoglins avoid warped fungi (including in a flower pot), nether portals and respawn anchors. They naturally sink in water and eventually drown. They also sink in lava and are vulnerable to fire damage. Hoglins can be led with a lead despite the fact they are hostile.

Hostility
Hoglins attack any player within 32 blocks with a reach of 1.9 blocks. An adult knocks its target upward. Players can still be flung even if they block with a shield. Baby hoglins also attack, dealing less damage without flinging. If the player attacks a baby hoglin, it flees. Hoglins do not attack a player standing near a block that repels them, but run away from the block unless they have already chosen to attack. Hoglins are 60% resistant to knockback. Unlike other hostile mobs, they do not prevent a player from sleeping.

Similar to piglins and zombified piglins, a player or mob attacking a hoglin provokes all nearby hoglins. Attacking a baby hoglin does not trigger this behavior.

Hoglins are hostile to piglins if a piglin attacks first. Hoglins also flee if outnumbered and make retreating sounds. If the piglins are outnumbered by hoglins, they flee and make retreating sounds.

Hoglins that spawn in a stable bastion remnant cannot be hunted.

Baby hoglins
Baby piglins run near and ride baby hoglins. If there are more baby piglins than baby hoglins, the baby piglins occasionally jump on other baby piglins already riding a baby hoglin, with a maximum of 3 stacked on a single baby hoglin.

If a baby hoglin is attacked by the player, it temporarily becomes passive, fleeing the player for a short while after getting attacked.

Zombification / Zoglins
If a hoglin spawns in or moves to the Overworld or the End, it shakes and then transforms into a zoglin after 15 seconds. Any lead attached to the hoglin breaks when it converts. Leads attached to hoglins still break, even though zoglins are leashable. It is not known whether this is intentional or not, but it is more than likely a bug. The newly-created zoglin gets Nausea I for 10 seconds. This Nausea effect is only decorative and has no effect on the zoglin's behavior.

Breeding
Other than the killer bunny, the hoglin is the only hostile mob that can be bred. Hoglins can be bred with crimson fungi. It takes about 5 minutes before the parents can breed again, and it takes 20 minutes for baby hoglins to mature. They stay near their parents unless they see a player or get attacked, in which case they attack or run away. Feeding a baby hoglin reduces the remaining time for it to mature by 10%.

Hoglins cannot be bred when they are running away from warped fungi, respawn anchors or Nether portals.

Feeding crimson fungi to a hoglin prevents it from despawning, no matter the breeding is successful or not. The hoglin produced by breeding does not despawn either.

ID




Entity data
Hoglins have entity data associated with them that contains various properties.

Trivia

 * Similar to the ravager originally being called "illager beast" before its official name was chosen by the community, the Hoglin's name was also chosen by the community. Its initial placeholder name was piglin beast.
 * $$, there are unused texture files named and  that are textured identically to raw and cooked beef, respectively.
 * The hoglins have no pupils, unlike overworld pigs.
 * Henrik Kniberg released a video of a group of hoglins killing a piglin, then "celebrating" by bobbing their heads, then getting on their hind legs and dancing. This feature was never added into any snapshot and is not actually in Minecraft.

During development
These images were showcased at Minecon Live 2019 or afterward, but before hoglins were added in 20w06a.