Minecraft wiki entry for Cave, associated text: Caves generate at any altitude up to Y-level 256, and may span from the surface all the way to the bedrock at Y-level -59. They frequently intersect natural structures such as other caves, dungeons, ravines, and mineshafts. Because of low light levels, hostile mobs and certain animals like bats and glow squid (only in water) often spawn in caves.