Skip to main content

steep_material_condition

Function steep_material_condition 

Source
fn steep_material_condition(
    worldgen_surface: &Heightmap,
    block_x: i32,
    block_z: i32,
) -> bool
Expand description

Vanilla’s SurfaceRules.steep() condition. It is asymmetric: only south-vs-north and west-vs-east deltas are checked.