Skip to main content

get_fluid_state

Function get_fluid_state 

Source
pub fn get_fluid_state(world: &Arc<World>, pos: BlockPos) -> FluidState
Expand description

Gets the fluid state at a given position.

Derives FluidState from the block state.