Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.event.world |
Modifier and Type | Method and 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 and 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 and Description |
---|---|
TreeType |
StructureGrowEvent.getSpecies()
Gets the species type (birch, normal, pine, red mushroom, brown
mushroom)
|
Constructor and Description |
---|
StructureGrowEvent(Location location,
TreeType species,
boolean bonemeal,
Player player,
List<BlockState> blocks) |
Copyright © 2016. All rights reserved.