Function fluid_shape

Source
pub fn fluid_shape(
    fluid: &FluidState,
    world: &ChunkStorage,
    pos: &BlockPos,
) -> &'static VoxelShape
Expand description

Get the VoxelShape for the given fluid state.

The instance and position are required so it can check if the block above is also the same fluid type.