Guardian
Guardians are aquatic hostile mobs that spawn in ocean monuments. They attack with a slow-charging laser beam, and inflict retaliatory damage when damaged by a melee attack.
Guardians spawn naturally in ocean monuments. They require water, flowing or stationary, to spawn.
In Java Edition guardians spawn less often in ocean open to the sky than they do in covered areas (such as inside or underneath the monument). Specifically, spawning fails 95% of the time if the spawning water block is below sea level (Y=63 by default), all blocks between the spawning water block and sea level are liquid or fully transparent, and the block at sea level has a view of the sky. They can spawn only if the spawning block and the block below the spawning block are both water. The block above the spawning block also cannot be solid and has to be transparent, air, or water.
Local game data
Guardian
Complete article available
This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.