Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.event.world |
Modifier and Type | Method | Description |
---|---|---|
static TreeType |
TreeType.valueOf(java.lang.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) |
Deprecated.
rarely used API that was largely for implementation purposes
|
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,
java.util.List<BlockState> blocks) |
Copyright © 2018. All rights reserved.