getBiomeAt

Function getBiomeAt 

Source
pub unsafe extern "C" fn getBiomeAt(
    g: *const Generator,
    scale: c_int,
    x: c_int,
    y: c_int,
    z: c_int,
) -> c_int
Expand description

Gets the biome for a specified scaled position. Note that the scale should be either 1 or 4, for block or biome coordinates respectively. Returns none (-1) upon failure.