public class Sapling extends Wood
Material.SAPLINGDEFAULT_SPECIES, DEFAULT_TYPE| Constructor and Description | 
|---|
| Sapling()Constructs a sapling. | 
| Sapling(int type,
       byte data)Deprecated. 
 Magic value | 
| Sapling(Material type)Constructs a sapling of the given type. | 
| Sapling(Material type,
       byte data)Deprecated. 
 Magic value | 
| Sapling(Material type,
       TreeSpecies species)Constructs a sapling of the given type and tree species. | 
| Sapling(Material type,
       TreeSpecies species,
       boolean isInstantGrowable)Constructs a sapling of the given type and tree species and if is it
 instant growable | 
| Sapling(TreeSpecies species)Constructs a sapling of the given tree species. | 
| Sapling(TreeSpecies species,
       boolean isInstantGrowable)Constructs a sapling of the given tree species and if is it instant
 growable | 
| Modifier and Type | Method and Description | 
|---|---|
| Sapling | clone() | 
| boolean | isInstantGrowable()Checks if the Sapling would grow when next ticked with bonemeal | 
| void | setIsInstantGrowable(boolean isInstantGrowable)Set whether this sapling will grow when next ticked with bonemeal | 
| String | toString() | 
getSpecies, setSpeciesequals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Sapling()
public Sapling(TreeSpecies species)
species - the species of the saplingpublic Sapling(TreeSpecies species, boolean isInstantGrowable)
species - the species of the tree blockisInstantGrowable - true if the Sapling should grow when next ticked with bonemealpublic Sapling(Material type)
type - the type of tree blockpublic Sapling(Material type, TreeSpecies species)
type - the type of saplingspecies - the species of the saplingpublic Sapling(Material type, TreeSpecies species, boolean isInstantGrowable)
type - the type of saplingspecies - the species of the saplingisInstantGrowable - true if the Sapling should grow when next ticked
 with bonemeal@Deprecated public Sapling(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public Sapling(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isInstantGrowable()
public void setIsInstantGrowable(boolean isInstantGrowable)
isInstantGrowable - true if the Sapling should grow when next ticked
 with bonemealCopyright © 2016. All rights reserved.