![]() |
Bukkit
1.4.7-R1.0
|
Represents the different types of leaves. More...
Inheritance diagram for org.bukkit.material.Leaves:
Collaboration diagram for org.bukkit.material.Leaves:Public Member Functions | |
| Leaves () | |
| Leaves (TreeSpecies species) | |
| Leaves (final int type) | |
| Leaves (final Material type) | |
| Leaves (final int type, final byte data) | |
| Leaves (final Material type, final byte data) | |
| TreeSpecies | getSpecies () |
| Gets the current species of this leave. | |
| void | setSpecies (TreeSpecies species) |
| Sets the species of this leave. | |
| String | toString () |
| Leaves | clone () |
Public Member Functions inherited from org.bukkit.material.MaterialData | |
| MaterialData (final int type) | |
| MaterialData (final Material type) | |
| MaterialData (final int type, final byte data) | |
| MaterialData (final Material type, final byte data) | |
| byte | getData () |
| Gets the raw data in this material. | |
| void | setData (byte data) |
| Sets the raw data of this material. | |
| Material | getItemType () |
| Gets the Material that this MaterialData represents. | |
| int | getItemTypeId () |
| Gets the Material Id that this MaterialData represents. | |
| ItemStack | toItemStack () |
| Creates a new ItemStack based on this MaterialData. | |
| ItemStack | toItemStack (int amount) |
| Creates a new ItemStack based on this MaterialData. | |
| String | toString () |
| int | hashCode () |
| boolean | equals (Object obj) |
| MaterialData | clone () |
Represents the different types of leaves.
Definition at line 9 of file Leaves.java.
| org.bukkit.material.Leaves.Leaves | ( | ) |
Definition at line 10 of file Leaves.java.
References org.bukkit.Material.LEAVES.
| org.bukkit.material.Leaves.Leaves | ( | TreeSpecies | species | ) |
Definition at line 14 of file Leaves.java.
References org.bukkit.material.Leaves.setSpecies().
| org.bukkit.material.Leaves.Leaves | ( | final int | type | ) |
Definition at line 19 of file Leaves.java.
| org.bukkit.material.Leaves.Leaves | ( | final Material | type | ) |
Definition at line 23 of file Leaves.java.
| org.bukkit.material.Leaves.Leaves | ( | final int | type, |
| final byte | data | ||
| ) |
Definition at line 27 of file Leaves.java.
| org.bukkit.material.Leaves.Leaves | ( | final Material | type, |
| final byte | data | ||
| ) |
Definition at line 31 of file Leaves.java.
| Leaves org.bukkit.material.Leaves.clone | ( | ) |
Definition at line 59 of file Leaves.java.
References org.bukkit.material.Leaves.clone().
Referenced by org.bukkit.material.Leaves.clone().
| TreeSpecies org.bukkit.material.Leaves.getSpecies | ( | ) |
Gets the current species of this leave.
Definition at line 40 of file Leaves.java.
References org.bukkit.TreeSpecies.getByData(), and org.bukkit.material.MaterialData.getData().
Referenced by org.bukkit.material.Leaves.toString().
| void org.bukkit.material.Leaves.setSpecies | ( | TreeSpecies | species | ) |
Sets the species of this leave.
| species | New species of this leave |
Definition at line 49 of file Leaves.java.
References org.bukkit.TreeSpecies.getData(), and org.bukkit.material.MaterialData.setData().
Referenced by org.bukkit.material.Leaves.Leaves().
| String org.bukkit.material.Leaves.toString | ( | ) |
Definition at line 54 of file Leaves.java.
References org.bukkit.material.Leaves.getSpecies().