Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.event.world |
Modifier and Type | Method | Description |
---|---|---|
static TreeType |
TreeType.valueOf(String name) |
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 Type | Method | Description |
---|---|---|
boolean |
World.generateTree(@NotNull Location location,
@NotNull TreeType type) |
Creates a tree at the given
Location |
boolean |
World.generateTree(@NotNull Location loc,
@NotNull TreeType type,
@NotNull BlockChangeDelegate delegate) |
Creates a tree at the given
Location |
Modifier and Type | Method | Description |
---|---|---|
@NotNull TreeType |
StructureGrowEvent.getSpecies() |
Gets the species type (birch, normal, pine, red mushroom, brown
mushroom)
|
Constructor | Description |
---|---|
StructureGrowEvent(@NotNull Location location,
@NotNull TreeType species,
boolean bonemeal,
@Nullable Player player,
@NotNull List<BlockState> blocks) |
Copyright © 2020. All rights reserved.