FluidFlowMode
Controls how fluid flows into and out of a block.
Entries
Allows incoming water to waterlog the block, but prevents the stored water from flowing out. Note that the block will stay waterlogged, even when fluid stops flowing into it.
Prevents flowing water from entering the block, but allows stored water to flow out.
Allows incoming water to waterlog the block and stored water to flow out. Note that this essentially creates new source blocks.
Properties
Whether fluid is allowed to flow into the block's position.
Whether fluid at the block's position is allowed to flow out.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Whether this mode requires the block to have a waterlogged state.
Whether incoming fluid waterlogs the block instead of replacing it.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.