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 TreeSpeciesTreeSpecies. getByData(byte data)Deprecated.Magic valuestatic TreeSpeciesTreeSpecies. 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 TreeSpeciesLeaves. getSpecies()Gets the current species of this leaveTreeSpeciesTree. getSpecies()Gets the current species of this treeTreeSpeciesWoodenStep. getSpecies()Gets the current species of this treeMethods in org.bukkit.material with parameters of type TreeSpecies Modifier and Type Method Description static MaterialDoor. getWoodDoorOfSpecies(TreeSpecies species)Returns the item type of a wooden door for the given tree species.voidLeaves. setSpecies(TreeSpecies species)Sets the species of this leavevoidTree. setSpecies(TreeSpecies species)Sets the species of this treevoidWoodenStep. 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)