public interface Ageable extends BlockData
getMaximumAge()
indicates that the crop is ripe and ready
to be harvested.Modifier and Type | Method and Description |
---|---|
int |
getAge()
Gets the value of the 'age' property.
|
int |
getMaximumAge()
Gets the maximum allowed value of the 'age' property.
|
void |
setAge(int age)
Sets the value of the 'age' property.
|
clone, getAsString, getAsString, getMaterial, matches, merge
int getAge()
void setAge(int age)
age
- the new 'age' valueint getMaximumAge()
Copyright © 2022. All rights reserved.