Coal: Y=0 to Y=320 (very common). Iron: Y=-16 to Y=112 (most common at Y=16). Gold: Y=-64 to Y=32 (most common at Y=-16). Diamond: Y=-64 to Y=16 (most common at Y=-58). Emerald: only in mountains. Netherite: only in the Nether, Y=8 to Y=22.
Staircase Mining: dig diagonally to descend safely. Branch Mining: dig a main tunnel and side branches every 2 blocks. Cave Mining: explore natural caves (more efficient but more dangerous). Never dig straight down.
SOURCE
Content under CC BY-NC-SA 3.0. Minecraft is a trademark of Mojang Studios.