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.

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 in Bedrock.

Behavior
Zoglins are immune to burning effects and are very aggressive: adults and babies attack armor stands, mobs, or players with the exception of creepers and other zoglins.

When an adult attacks, it flings mobs or players into the air. Blocking with shields will not mitigate this. Babies attack but do not fling.

Zoglins are incapable of breeding and do not flee from blocks that repel hoglins. Unlike baby hoglins, baby zoglins will 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 and affected by Smite.

ID