Skip to main content

should_skip_canyon

Function should_skip_canyon 

Source
fn should_skip_canyon(
    width_factors: &[f32],
    min_y: i32,
    xd: f64,
    yd: f64,
    zd: f64,
    world_y: i32,
) -> bool
Expand description

Vanilla CanyonWorldCarver.shouldSkip. Vanilla indexes widthFactorPerHeight[yIndex - 1] where yIndex = world_y - context.getMinGenY(); i.e. the previous Y’s width factor applied to this block’s radial test.