Uses of Enum Class
org.bukkit.TreeType
Packages that use TreeType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of TreeType in org.bukkit
Subclasses with type arguments of type TreeType in org.bukkitMethods in org.bukkit that return TreeTypeModifier and TypeMethodDescriptionstatic TreeTypeReturns 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.Methods in org.bukkit with parameters of type TreeTypeModifier and TypeMethodDescriptionbooleanRegionAccessor.generateTree(@NotNull Location location, @NotNull Random random, @NotNull TreeType type) Creates a tree at the givenLocationbooleanRegionAccessor.generateTree(@NotNull Location location, @NotNull Random random, @NotNull TreeType type, @Nullable Consumer<? super BlockState> stateConsumer) Creates a tree at the givenLocationbooleanRegionAccessor.generateTree(@NotNull Location location, @NotNull Random random, @NotNull TreeType type, @Nullable Predicate<? super BlockState> statePredicate) Creates a tree at the givenLocationbooleanWorld.generateTree(@NotNull Location location, @NotNull TreeType type) Deprecated.booleanWorld.generateTree(@NotNull Location loc, @NotNull TreeType type, @NotNull BlockChangeDelegate delegate) Deprecated.this method does not handle block entities (bee nests) -
Uses of TreeType in org.bukkit.event.world
Methods in org.bukkit.event.world that return TreeTypeModifier and TypeMethodDescriptionStructureGrowEvent.getSpecies()Gets the species type (birch, normal, pine, red mushroom, brown mushroom)Constructors in org.bukkit.event.world with parameters of type TreeTypeModifierConstructorDescriptionStructureGrowEvent(@NotNull Location location, @NotNull TreeType species, boolean bonemeal, @Nullable Player player, @NotNull List<BlockState> blocks)
RegionAccessor.generateTree(Location, java.util.Random, TreeType)to specify its own random instance and this method is not accessible throughRegionAccessor