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
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)
Creates a tree at the givenLocation
-
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)