Uses of Enum
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
Methods in org.bukkit that return TreeTypeModifier and TypeMethodDescriptionstatic TreeTypeReturns 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.Methods in org.bukkit with parameters of type TreeTypeModifier and TypeMethodDescriptionbooleanRegionAccessor.generateTree(Location location, Random random, TreeType type) Creates a tree at the givenLocationbooleanRegionAccessor.generateTree(Location location, Random random, TreeType type, Predicate<BlockState> statePredicate) Creates a tree at the givenLocationbooleanRegionAccessor.generateTree(Location location, Random random, TreeType type, Consumer<BlockState> stateConsumer) Creates a tree at the givenLocationbooleanWorld.generateTree(Location location, TreeType type) Creates a tree at the givenLocationbooleanWorld.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
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(Location location, TreeType species, boolean bonemeal, Player player, List<BlockState> blocks)