Zoglin

Zoglins 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. 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 aggressive: adults and babies attack armor stands, all mobs (except creepers and other zoglins), and players.

When an adult attacks, it flings its target into the air. Blocking with shields does not mitigate this. Babies attack but do not fling their target.

Like vindicators, evokers, 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 Instant Health and healed by the status effect Instant Damage,
 * unaffected by the status effects Regeneration and Poison,
 * ignored by the wither (but still attempt to attack them ),
 * affected by the Smite enchantment.

Like zombified piglins, they are immune to fire and lava.

ID




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