public interface Sapling extends BlockData
getMaximumStage()
it will attempt to grow
into a tree as the next stage.Modifier and Type | Method | Description |
---|---|---|
int |
getMaximumStage() |
Gets the maximum allowed value of the 'stage' property.
|
int |
getStage() |
Gets the value of the 'stage' property.
|
void |
setStage(int stage) |
Sets the value of the 'stage' property.
|
clone, getAsString, getAsString, getMaterial, matches, merge
int getStage()
void setStage(int stage)
stage
- the new 'stage' valueint getMaximumStage()
Copyright © 2019. All rights reserved.