Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
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(Location location,
TreeType type) |
Creates a tree at the given
Location |
boolean |
World.generateTree(Location loc,
TreeType type,
BlockChangeDelegate delegate) |
Creates a tree at the given
Location |
Modifier and Type | Method | Description |
---|---|---|
TreeType |
StructureGrowEvent.getSpecies() |
Gets the species type (birch, normal, pine, red mushroom, brown
mushroom)
|
Constructor | Description |
---|---|
StructureGrowEvent(Location location,
TreeType species,
boolean bonemeal,
Player player,
List<BlockState> blocks) |
Copyright © 2019. All rights reserved.