Skip to main content

get_connection_state

Function get_connection_state 

Source
pub fn get_connection_state(
    block: BlockRef,
    world: &World,
    pos: &BlockPos,
) -> BlockStateId
Expand description

Gets the connection state for a position by checking all 4 horizontal neighbors.