Zoglin
Zoglin is an undead hostile mob that forms when a hoglin stays in the Overworld or the End for more than 15 seconds. Unlike hoglins, zoglins cannot be bred and attack almost all mobs on sight, including players. They never retreat or flee and are one of the most aggressive mobs in the game.
Zoglins drop 1–3 rotten flesh upon death, with the Looting enchantment increasing the amount. If killed by a player, they drop 5 experience.
Zoglins do not spawn naturally and only appear when a hoglin is taken out of the Nether. When a hoglin remains in the Overworld or the End for 15 seconds, it begins shaking before transforming into a zoglin. For the first 10 seconds after zombification, they display a Nausea effect, but this is purely cosmetic and does not alter their behavior.
Zoglins are hostile mobs that attack nearly every non-zoglin entity, including players, villagers, and even other illagers. They use the same tusk attack as hoglins, dealing knockback and launching targets into the air. Unlike hoglins, they are not afraid of warped fungi, nether portals, or respawn anchors, making them more relentless in combat. Their aggressive nature makes them difficult to control, but they do not attack other undead mobs, such as zombies or skeletons.