Skip to main content

World_GetBlock

Function World_GetBlock 

Source
pub fn World_GetBlock(x: c_int, y: c_int, z: c_int) -> BlockID
Expand description

ยงPanics

Panics if (x, y, z) lies outside the loaded world, producing a negative packed index or a masked id that does not fit in BlockID.