org.bukkit.material
Class Leaves
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Leaves
- All Implemented Interfaces:
- Cloneable
public class Leaves
- extends MaterialData
Represents the different types of leaves.
Leaves
public Leaves()
Leaves
public Leaves(TreeSpecies species)
Leaves
public Leaves(int type)
Leaves
public Leaves(Material type)
Leaves
public Leaves(int type,
byte data)
Leaves
public Leaves(Material type,
byte data)
getSpecies
public TreeSpecies getSpecies()
- Gets the current species of this leave
- Returns:
- TreeSpecies of this leave
setSpecies
public void setSpecies(TreeSpecies species)
- Sets the species of this leave
- Parameters:
species
- New species of this leave
toString
public String toString()
- Overrides:
toString
in class MaterialData
clone
public Leaves clone()
- Overrides:
clone
in class MaterialData
Copyright © 2013. All Rights Reserved.