Uses of Enum
org.bukkit.TreeType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of TreeType in org.bukkit
Modifier and TypeMethodDescriptionstatic TreeType
Returns the enum constant of this type with the specified name.static TreeType[]
TreeType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionboolean
RegionAccessor.generateTree
(Location location, Random random, TreeType type) Creates a tree at the givenLocation
boolean
RegionAccessor.generateTree
(Location location, Random random, TreeType type, Predicate<BlockState> statePredicate) Creates a tree at the givenLocation
boolean
RegionAccessor.generateTree
(Location location, Random random, TreeType type, Consumer<BlockState> stateConsumer) Creates a tree at the givenLocation
boolean
World.generateTree
(Location location, TreeType type) Creates a tree at the givenLocation
boolean
World.generateTree
(Location loc, TreeType type, BlockChangeDelegate delegate) Deprecated.this method does not handle tile entities (bee nests) -
Uses of TreeType in org.bukkit.event.world
Modifier and TypeMethodDescriptionStructureGrowEvent.getSpecies()
Gets the species type (birch, normal, pine, red mushroom, brown mushroom)ModifierConstructorDescriptionStructureGrowEvent
(Location location, TreeType species, boolean bonemeal, Player player, List<BlockState> blocks)