Class GlowTree

java.lang.Object
net.glowstone.constants.GlowTree

public final class GlowTree extends Object
  • Method Details

    • newInstance

      public static GenericTree newInstance(org.bukkit.TreeType type, Random random, BlockStateDelegate delegate)
      Creates a tree of any vanilla type.
      Parameters:
      type - the tree type
      random - the PRNG
      delegate - the BlockStateDelegate used to check for space and to fill wood and leaf blocks
      Returns:
      a new tree of type