public final class GlowTree extends Object
Modifier and Type | Method and Description |
---|---|
static GenericTree |
newInstance(org.bukkit.TreeType type,
Random random,
BlockStateDelegate delegate)
Creates a tree of any vanilla type.
|
public static GenericTree newInstance(org.bukkit.TreeType type, Random random, BlockStateDelegate delegate)
type
- the tree typerandom
- the PRNGdelegate
- the BlockStateDelegate used to check for space and to fill wood and leaf
blockstype
Copyright © 2021. All rights reserved.