Hoglin

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

Spawning
Hoglins spawn in groups of 3 to 4 in crimson forests and they may respawn over time. 5% of hoglins spawn as babies. Some hoglins may also spawn in bastion remnants upon generation, but only if the structure is hoglin_stable.

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 only drop 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.

Attacking
Hoglins attack the player on sight. When an adult hoglin attacks, it flings the player into the air. The player will still be flung even if they block the attack with a shield. Baby hoglins also attack, dealing less damage and not flinging. If the player attacks back the babies, they flee for a short time, after a short time. 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. They may do this in groups, once attacked. Hoglins are 50% resistant to knockback.

Hoglins are hostile to piglins if they attack first. However, they avoid piglins if outnumbered by them, within 32 blocks. They do not attack other mobs.

Baby hoglins
Baby piglins run around with baby hoglins, riding 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 is spawned in or moved to the Overworld or the End, it will start shivering and then turn into a zoglin after 300 undefined. If a lead is attached to the hoglin, it will break 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
As hoglins are hostile towards the player, it is recommended that the player corral hoglins they want to breed, but they can attack over fences and walls so precaution is needed. It is important to note that hoglins despawn unless they have been fed or bred using crimson fungi.

A good tip for harvesting meat from hoglins is that they 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 will become such, too. They become passive again if they lose line of sight from the player.

During Development
These images were showcased at Minecon Live 2019 or afterwards, 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.