Minecraft wiki entry for Zombified_Piglin, associated text: Zombified piglins try to destroy any turtle eggs they see within 23 blocks away horizontally and 3 blocks away vertically (10 blocks horizontally and 2 blocks vertically on Bedrock Edition), not counting the block they are standing in. When a zombified piglin is first spawned, it always detects nearby turtle eggs after exactly 2 seconds, as long as there are two blocks of air above it. However, if the turtle egg is placed after the zombified piglin spawned, the zombified piglin takes some time to notice the turtle egg and try to break it.