Uses of Class
org.bukkit.TreeSpecies
Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.material |
Classes that represents various voxel types and states.
|
-
Uses of TreeSpecies in org.bukkit
Methods in org.bukkit that return TreeSpecies Modifier and Type Method Description static TreeSpecies
TreeSpecies. getByData(byte data)
Deprecated.Magic valuestatic TreeSpecies
TreeSpecies. valueOf(java.lang.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. -
Uses of TreeSpecies in org.bukkit.material
Methods in org.bukkit.material that return TreeSpecies Modifier and Type Method Description TreeSpecies
Leaves. getSpecies()
Gets the current species of this leaveTreeSpecies
Tree. getSpecies()
Gets the current species of this treeTreeSpecies
WoodenStep. getSpecies()
Gets the current species of this treeMethods in org.bukkit.material with parameters of type TreeSpecies Modifier and Type Method Description static Material
Door. getWoodDoorOfSpecies(TreeSpecies species)
Returns the item type of a wooden door for the given tree species.void
Leaves. setSpecies(TreeSpecies species)
Sets the species of this leavevoid
Tree. setSpecies(TreeSpecies species)
Sets the species of this treevoid
WoodenStep. setSpecies(TreeSpecies species)
Sets the species of this treeConstructors in org.bukkit.material with parameters of type TreeSpecies Constructor Description 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 rightDoor(TreeSpecies species, BlockFace face)
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to closedDoor(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 closedLeaves(TreeSpecies species)
Tree(TreeSpecies species)
Tree(TreeSpecies species, BlockFace dir)
WoodenStep(TreeSpecies species)
WoodenStep(TreeSpecies species, boolean inv)