Expand description
Cave carver (overworld + nether variants).
Mirrors vanilla’s CaveWorldCarver + NetherWorldCarver. Single entry
point CarveRun::carve_cave dispatched off a CaveKind — vanilla’s
overrides for nether (cave bound, thickness multiplier, y scale,
per-block placement) are captured as kind-specific constants so the
tunnel recursion logic stays shared.
Structs§
- Tunnel
Params 🔒 - Static per-tunnel configuration passed through
create_tunnelrecursion unchanged between iterations. - Tunnel
State 🔒 - Position + rotation state that evolves along a tunnel’s length.
Enums§
- Cave
Kind - Which cave carver flavor to run.
Constants§
- CARVER_
RANGE 🔒 - Vanilla
WorldCarver.getRange()— range in chunks. 4 each direction. - MAX_
TUNNEL_ 🔒DISTANCE - Vanilla
SectionPos.sectionToBlockCoord(getRange() * 2 - 1)= 112.