Hoglin

Hoglins are boar-like breedable hostile mobs and the main source of food in the Nether.

Spawning
Hoglins are found in herds of 3 to 4 in crimson forests, respawning over time. 5% of hoglins spawn as babies. Some hoglins spawn in the "stable" kind of bastion remnant upon generation.

Drops
When killed, adult hoglins drop:
 * 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–2 . The maximum amount is increased by 1 per level of Looting, for a maximum of 5 with Looting III.
 * if killed by a player or tamed wolf.

Baby hoglins drop only experience.

Behavior
Hoglins avoid warped fungi (including in a flower pot), nether portals, and respawn anchors. They naturally sink in water and eventually drown. They are not immune to fire or lava. Hoglins can be leashed despite the fact they are hostile.

Hostility
Hoglins attack any player within 32 blocks, and hit about 2 blocks away. When an adult hoglin attacks, it flings a player into the air. 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 back (baby hoglins), they flee. Hoglins do not attack a player standing near a block that repels them, but will instead run away from the block. This is unless they have already chosen to attack. Hoglins are 60% resistant to knockback.

Hoglins are hostile to piglins if they attack first. However, they avoid piglins if outnumbered.

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.

Zoglins
If a hoglin spawns in or moves to the Overworld or the End, it shakes and turns into a zoglin after 15 seconds. Any lead attached to the hoglin breaks when it converts.

Breeding
Hoglins can be bred with crimson fungi. It takes 5 minutes before the parents can be bred again and 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 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.

Farming
Because hoglins are hostile toward the player, the player can corral hoglins they want to breed, although hoglins can attack over fences and walls so precaution is needed. Hoglins despawn unless they have been fed or bred using crimson fungi.

Hoglins become passive while near warped fungi, nether portals, and respawn anchors. If there are too many in an area, they may still become hostile for a while if attacked. And if one is set upon attacking, sometimes others become hostile, too. They become passive again if they lose line of sight from the player.

ID




Trivia

 * Similarly 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".
 * Hoglins are the only hostile mobs, other than the unused killer bunny, that can be bred.
 * Baby hoglins are the only baby mobs that grow up and drop experience when killed.
 * $$, there are unused texture files named and  that are textured identically to raw beef and steak, respectively.
 * Hoglins are the only general nether mob that does not spawn in the nether wastes biome.
 * 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 because it was made as a joke.
 * However, piglins do have a 10% chance to celebrate after killing a hoglin.

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