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, getSoundGroup, matches, merge
int getAge()
void setAge(int age)
age
- the new 'age' valueint getMaximumAge()
Copyright © 2021. All rights reserved.