public interface ImmutableGrowthData extends ImmutableDataManipulator<ImmutableGrowthData,GrowthData>
ImmutableDataManipulator 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 |
|---|---|
ImmutableBoundedValue<Integer> |
growthStage()
Gets the
ImmutableBoundedValue for the "growth" stage. |
asMutable, copy, with, withgetContentVersion, toContainerImmutableBoundedValue<Integer> growthStage()
ImmutableBoundedValue for the "growth" stage.