Skip to main content

get_new_liquid

Function get_new_liquid 

Source
pub fn get_new_liquid(
    world: &Arc<World>,
    pos: BlockPos,
    state: BlockStateId,
    fluid_id: FluidRef,
    drop_off: u8,
) -> FluidState
Expand description

Calculates the new fluid state at a position based on neighbors.