Class Sapling

    • Constructor Detail

      • Sapling

        public Sapling()
        Deprecated.
        Constructs a sapling.
      • Sapling

        public Sapling​(TreeSpecies species)
        Deprecated.
        Constructs a sapling of the given tree species.
        Parameters:
        species - the species of the sapling
      • Sapling

        public Sapling​(TreeSpecies species,
                       boolean isInstantGrowable)
        Deprecated.
        Constructs a sapling of the given tree species and if is it instant growable
        Parameters:
        species - the species of the tree block
        isInstantGrowable - true if the Sapling should grow when next ticked with bonemeal
      • Sapling

        public Sapling​(Material type)
        Deprecated.
        Constructs a sapling of the given type.
        Parameters:
        type - the type of tree block
      • Sapling

        public Sapling​(Material type,
                       TreeSpecies species)
        Deprecated.
        Constructs a sapling of the given type and tree species.
        Parameters:
        type - the type of sapling
        species - the species of the sapling
      • Sapling

        public Sapling​(Material type,
                       TreeSpecies species,
                       boolean isInstantGrowable)
        Deprecated.
        Constructs a sapling of the given type and tree species and if is it instant growable
        Parameters:
        type - the type of sapling
        species - the species of the sapling
        isInstantGrowable - true if the Sapling should grow when next ticked with bonemeal
      • Sapling

        @Deprecated
        public Sapling​(Material type,
                       byte data)
        Deprecated.
        Magic value
        Parameters:
        type - the type
        data - the raw data value
    • Method Detail

      • isInstantGrowable

        public boolean isInstantGrowable()
        Deprecated.
        Checks if the Sapling would grow when next ticked with bonemeal
        Returns:
        true if the Sapling would grow when next ticked with bonemeal
      • setIsInstantGrowable

        public void setIsInstantGrowable​(boolean isInstantGrowable)
        Deprecated.
        Set whether this sapling will grow when next ticked with bonemeal
        Parameters:
        isInstantGrowable - true if the Sapling should grow when next ticked with bonemeal