Minecraft wiki entry for Turtle_Egg, associated text: Zombies and their variants (husks, drowned, and zombified piglins) seek out and trample turtle eggs that have 2 blocks of air above them unless /gamerule mobGriefing is false. The range of detection is a 24x7x24‌[JE only] or 11x5x11‌[BE only] area (counted from the block the mob is standing on). When a player in Survival or Adventure Game-mode is nearby (also includes iron golems and villagers), the zombie prefers to attack the player rather than trampling the turtle egg.