public interface ImmutableFluidLevelData extends ImmutableDataManipulator<ImmutableFluidLevelData,FluidLevelData>
ImmutableDataManipulator
for the "fluid level" state. Usually,
the level()
value remains such that at 0
, the "fluid level"
is the equivalent of being "dried out". Usually, this state applies to
BlockTypes.WATER
, BlockTypes.LAVA
, and
BlockTypes.CAULDRON
.Modifier and Type | Method and Description |
---|---|
ImmutableBoundedValue<Integer> |
level()
Gets the
ImmutableBoundedValue of the "fluid level" state. |
asMutable, copy, with, with
getContentVersion, toContainer
ImmutableBoundedValue<Integer> level()
ImmutableBoundedValue
of the "fluid level" state.