public interface ImmutableMoistureData extends ImmutableDataManipulator<ImmutableMoistureData,MoistureData>
ImmutableDataManipulator
that handles the "moisture" state of a
BlockState
. The "moisture" value usually involves mechanics to do
with crops and growth. Usually applies to BlockTypes.FARMLAND
.Modifier and Type | Method and Description |
---|---|
ImmutableBoundedValue<Integer> |
moisture()
Gets the
ImmutableBoundedValue for the "moisture" state. |
asMutable, copy, with, with
getContentVersion, toContainer
ImmutableBoundedValue<Integer> moisture()
ImmutableBoundedValue
for the "moisture" state.