Zoglin

Zoglins (are also sometimes called Zombified Hoglins) are undead hostile mobs created when a hoglin enters the Overworld or End.

Spawning
Zoglins spawn when a hoglin has been in the Overworld or the End for 300 ticks. For their first 10 seconds after zombification, they get the  nausea effect. This nausea effect is cosmetic and does not impact its behavior. Like most hostile mobs, zoglins despawn when the difficulty is changed to Peaceful. $$, zoglins still exist in the world, but are passive to players.

Drops

 * Adults (and babies ): 1–3 rotten flesh. The maximum amount is increased by 1 per level of Looting, for a maximum of 6 with Looting III.
 * if adult and baby killed by a player or tamed wolf $$.
 * if adult killed by a player or tamed wolf $$.

Behavior
Zoglins are immune to burning effects and are very aggressive, adults and babies attack these entities:


 * s
 * 1)  Players in Survival mode or Adventure mode
 * 2) All mobs, however, there are two exceptions:
 * s

When an adult hoglin attacks, it flings its target into the air. Blocking with shields does not mitigate this. Baby zoglins attack, however, they do not fling their target.

Like vindicators, evokers, piglins and shulkers, zoglins are passive on Peaceful difficulty.

Zoglins are incapable of breeding and do not flee from blocks that repel hoglins. Zoglins can be leashed. Unlike baby hoglins, baby zoglins attack baby piglins. Piglins flee from zoglins if they are not engaged in combat.

Being an undead mob, they are:
 * damaged by the status effect and healed by the status effect ,
 * unaffected by the status effects and ,
 * ignored by the (but still attempt to attack them ),
 * affected by the Smite enchantment.

Like s, they are immune to fire and lava.

ID




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