public interface GrowthData extends DataManipulator<GrowthData,ImmutableGrowthData>
DataManipulator that tracks the "growth" stage. Usually
applicable to BlockTypes.WHEAT, BlockTypes.PUMPKIN_STEM, etc.
The growth state is generalized such that at the highest "state",
the growth will cease and the owner would be "ready" for harvesting.| Modifier and Type | Method and Description |
|---|---|
MutableBoundedValue<Integer> |
growthStage()
Gets the
MutableBoundedValue for the "growth" stage. |
asImmutable, copy, fill, fill, from, set, set, set, set, transformgetContentVersion, toContainerMutableBoundedValue<Integer> growthStage()
MutableBoundedValue for the "growth" stage.Keys.GROWTH_STAGE