Hoglin

Hoglins are 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 upon generation.

Drops
When killed, adult hoglins drop:
 * 2–4 ( if they die burning). 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 fungus (including in a flower pot), nether portals and respawn anchors. They naturally sink in water and eventually drown. Also, they aren't immune to fire. Hoglins can be leashed despite the fact they are hostile.

Hostility
Hoglins attack the player within 32 blocks. When an adult hoglin attacks, it flings a player into the air. Players still be flung even if they block with a shield. Baby hoglins also attack, dealing less damage and not flinging. If the player attacks back the babies, they flee. Hoglins also do not attack a player standing near a block that repels them, instead prioritizing running away from the block. This is unless they have already chosen to press the attack. Hoglins are 50% 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 them. 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 moved to the Overworld or the End, it shivers and turn into a zoglin after 15 seconds. Any lead attached to the hoglin breaks when the hoglin 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




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

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 that drop experience, when killed.
 * $$, there are unused texture files named and  that are textured identically to raw beef and cooked beef, respectively.
 * Hoglins are the only general nether mob that does not spawn in the nether wastes biome.
 * Hoglins are boar-like hostile mobs that use their tusks to stab and attack their enemies.