Uses of Enum Class
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 class with the specified name.static TreeType[]
TreeType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionboolean
RegionAccessor.generateTree
(@NotNull Location location, @NotNull Random random, @NotNull TreeType type) Creates a tree at the givenLocation
boolean
RegionAccessor.generateTree
(@NotNull Location location, @NotNull Random random, @NotNull TreeType type, @Nullable Predicate<BlockState> statePredicate) Creates a tree at the givenLocation
boolean
RegionAccessor.generateTree
(@NotNull Location location, @NotNull Random random, @NotNull TreeType type, @Nullable Consumer<BlockState> stateConsumer) Creates a tree at the givenLocation
boolean
World.generateTree
(@NotNull Location location, @NotNull TreeType type) Creates a tree at the givenLocation
boolean
World.generateTree
(@NotNull Location loc, @NotNull TreeType type, @NotNull 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
(@NotNull Location location, @NotNull TreeType species, boolean bonemeal, @Nullable Player player, @NotNull List<BlockState> blocks)