public class Leaves extends MaterialData
| Constructor and Description |
|---|
Leaves() |
Leaves(int type)
Deprecated.
Magic value
|
Leaves(int type,
byte data)
Deprecated.
Magic value
|
Leaves(Material type) |
Leaves(Material type,
byte data)
Deprecated.
Magic value
|
Leaves(TreeSpecies species) |
| Modifier and Type | Method and Description |
|---|---|
Leaves |
clone() |
TreeSpecies |
getSpecies()
Gets the current species of this leave
|
void |
setSpecies(TreeSpecies species)
Sets the species of this leave
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Leaves()
public Leaves(TreeSpecies species)
@Deprecated public Leaves(int type)
public Leaves(Material type)
@Deprecated public Leaves(int type, byte data)
@Deprecated public Leaves(Material type, byte data)
public TreeSpecies getSpecies()
public void setSpecies(TreeSpecies species)
species - New species of this leavepublic String toString()
toString in class MaterialDatapublic Leaves clone()
clone in class MaterialDataCopyright © 2014. All rights reserved.