Expand description
Canyon (ravine) carver.
Mirrors vanilla’s CanyonWorldCarver. Carves a single long, narrow tunnel
per chunk with per-height width variation; runs only from an overworld
biome’s carver list (minecraft:canyon, 1 % probability).
Structs§
- Canyon
State 🔒 - Position + rotation state that evolves along the canyon’s length.
- Canyon
Tunnel 🔒 - Static per-tunnel parameters for the canyon’s
do_carveloop.
Constants§
- CARVER_
RANGE 🔒 - Vanilla
WorldCarver.getRange()— 4 chunks each direction. Shared with the cave carver. - MAX_
TUNNEL_ 🔒DISTANCE - Vanilla:
(getRange() * 2 - 1) * 16.
Functions§
- should_
skip_ 🔒canyon - Vanilla
CanyonWorldCarver.shouldSkip. Vanilla indexeswidthFactorPerHeight[yIndex - 1]whereyIndex = world_y - context.getMinGenY(); i.e. the previous Y’s width factor applied to this block’s radial test.