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)
type - the raw type idpublic Leaves(Material type)
@Deprecated public Leaves(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public Leaves(Material type, byte data)
type - the typedata - the raw data valuepublic 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 © 2022. All rights reserved.