Expand description
Fluid collision and passability logic.
Equivalent to various collision checks in FlowingFluid.java.
Functionsยง
- can_
hold_ any_ fluid_ state - Checks if a block state can hold any fluid, without world access.
- can_
hold_ fluid - Vanilla equivalent:
FlowingFluid.canHoldFluid(BlockGetter, BlockPos, BlockState, Fluid). - can_
hold_ specific_ fluid - Vanilla equivalent:
FlowingFluid.canHoldSpecificFluid(BlockGetter, BlockPos, BlockState, Fluid). - can_
pass_ horizontally_ internal - Core passability logic for horizontal fluid spread.
- can_
pass_ through_ wall - Checks if fluid can pass through a wall between two positions.
- is_
fluid_ ๐excluded_ block - Returns true if a block is in the vanilla fluid exclusion list.