FluidFlowMode

Controls how fluid flows into and out of a block.

Entries

Link copied to clipboard

Prevents fluid from entering the block and waterlogged fluid from flowing out.

Link copied to clipboard

Replaces the block with incoming fluid.

Link copied to clipboard

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.

Link copied to clipboard

Prevents flowing water from entering the block, but allows stored water to flow out.

Link copied to clipboard

Allows incoming water to waterlog the block and stored water to flow out. Note that this essentially creates new source blocks.

Properties

Link copied to clipboard

Whether fluid is allowed to flow into the block's position.

Link copied to clipboard

Whether fluid at the block's position is allowed to flow out.

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether this mode requires the block to have a waterlogged state.

Link copied to clipboard

Whether incoming fluid waterlogs the block instead of replacing it.

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.