A cross-section 64 cells wide and 24 deep. Gray is stone; black is air. The selected method turns underground stone into air. We count how far the explorer can descend through connected air (up, down, left and right) and the number of air regions.
Using 3D noise (cheese), find a threshold that reaches from the surface to the bottom with fewer than 300 air cells. Changing the seed changes the answer. Share your value in the video comments.
Each cell receives a smoothly varying value across width, depth and height: 3D value noise interpolates random values at the eight corners of cubes on an eight-cell grid. Making values above a threshold into air joins holes into large “cheese” cavities. Keeping only a band near 0.5 creates narrow “spaghetti” tunnels. Independent random values make disconnected holes; extruding a 2D map only makes vertical shafts.
An original teaching model based on Minecraft Wiki’s “Cave” and “World generation” and H. Kniberg’s 2022 explanation. The original game’s noise types, thresholds and frequencies are not published in those explanations. No game graphics or official textures are used.