public interface FluidLevelData extends DataManipulator<FluidLevelData,ImmutableFluidLevelData>
DataManipulator
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 |
---|---|
MutableBoundedValue<Integer> |
level()
Gets the
MutableBoundedValue of the "fluid level" state. |
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
MutableBoundedValue<Integer> level()
MutableBoundedValue
of the "fluid level" state.Keys.FLUID_LEVEL