Package org.bukkit.block.data.type
Interface Sapling
- All Known Subinterfaces:
- Bamboo,- MangrovePropagule
'stage' represents the growth stage of a sapling.
 
When the sapling reaches
When the sapling reaches
getMaximumStage() it will attempt to grow
 into a tree as the next stage.- 
Method SummaryMethods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, requiresCorrectToolForDrops
- 
Method Details- 
getStageint getStage()Gets the value of the 'stage' property.- Returns:
- the 'stage' value
 
- 
setStagevoid setStage(int stage) Sets the value of the 'stage' property.- Parameters:
- stage- the new 'stage' value
 
- 
getMaximumStageint getMaximumStage()Gets the maximum allowed value of the 'stage' property.- Returns:
- the maximum 'stage' value
 
 
-