public interface MoistureData extends DataManipulator<MoistureData,ImmutableMoistureData>
DataManipulator 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 |
|---|---|
MutableBoundedValue<Integer> |
moisture()
Gets the
MutableBoundedValue for the "moisture" state. |
asImmutable, copy, fill, fill, from, set, set, set, set, transformgetContentVersion, toContainerMutableBoundedValue<Integer> moisture()
MutableBoundedValue for the "moisture" state.Keys.MOISTURE