Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.material |
Classes that represents various voxel types and states.
|
Modifier and Type | Method and Description |
---|---|
static TreeSpecies |
TreeSpecies.getByData(byte data)
Deprecated.
Magic value
|
static TreeSpecies |
TreeSpecies.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TreeSpecies[] |
TreeSpecies.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
TreeSpecies |
WoodenStep.getSpecies()
Gets the current species of this tree
|
TreeSpecies |
Tree.getSpecies()
Gets the current species of this tree
|
TreeSpecies |
Leaves.getSpecies()
Gets the current species of this leave
|
Modifier and Type | Method and Description |
---|---|
static Material |
Door.getWoodDoorOfSpecies(TreeSpecies species)
Returns the item type of a wooden door for the given tree species.
|
void |
WoodenStep.setSpecies(TreeSpecies species)
Sets the species of this tree
|
void |
Tree.setSpecies(TreeSpecies species)
Sets the species of this tree
|
void |
Leaves.setSpecies(TreeSpecies species)
Sets the species of this leave
|
Constructor and Description |
---|
Door(TreeSpecies species,
BlockFace face)
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to
closed
|
Door(TreeSpecies species,
BlockFace face,
boolean isOpen)
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to open
or closed
|
Door(TreeSpecies species,
boolean isHingeRight)
Constructs the top half of a wooden door of the given species and with the hinge on the left or right
|
Leaves(TreeSpecies species) |
Tree(TreeSpecies species) |
Tree(TreeSpecies species,
BlockFace dir) |
WoodenStep(TreeSpecies species) |
WoodenStep(TreeSpecies species,
boolean inv) |
Copyright © 2022. All rights reserved.