pub fn get_flow(
world: &Arc<World>,
pos: BlockPos,
fluid_state: FluidState,
) -> DVec3Expand description
Computes the horizontal flow direction of a fluid, weighted by the height difference to same-fluid neighbors.
pub fn get_flow(
world: &Arc<World>,
pos: BlockPos,
fluid_state: FluidState,
) -> DVec3Computes the horizontal flow direction of a fluid, weighted by the height difference to same-fluid neighbors.