Minecraft wiki entry for Zoglin, associated text: Zoglins spawn when a hoglin has been in the Overworld or the End for 300 game ticks (15 seconds). For their first 10 seconds after zombification, they get the nausea effect. This nausea effect is cosmetic and does not affect its behavior. Like most hostile mobs, zoglins despawn when the difficulty is changed to Peaceful.‌[JE only] In Bedrock Edition, zoglins still exist in the world and are passive only to players.