Minecraft wiki entry for Ruined_Portal, associated text: In the Nether, ruined portals with air pockets generate from Y-level 32 to 100. Ruined portals without air pockets have a 50% chance to spawn from Y-level 27 to 29, and a 50% chance to spawn from Y-level 29 to 100.