Skip to main content

get_top_connected_block

Function get_top_connected_block 

Source
pub fn get_top_connected_block(
    world: &dyn LevelReader,
    pos: BlockPos,
    body_block: BlockRef,
    growth_direction: Direction,
    head_block: BlockRef,
) -> Option<BlockPos>
Expand description

Vanilla equal getTopConnectedBlock()