|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.material.MaterialData
org.bukkit.material.Leaves
public class Leaves
Represents the different types of leaves.
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
Leaves |
clone()
|
TreeSpecies |
getSpecies()
Gets the current species of this leave |
void |
setSpecies(TreeSpecies species)
Sets the species of this leave |
String |
toString()
|
| Methods inherited from class org.bukkit.material.MaterialData |
|---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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)
| Method Detail |
|---|
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 MaterialData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||