|
||||||||||
| 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.WoodenStep
public class WoodenStep
Represents the different types of wooden steps.
| Constructor Summary | |
|---|---|
WoodenStep()
|
|
WoodenStep(int type)
|
|
WoodenStep(int type,
byte data)
|
|
WoodenStep(Material type,
byte data)
|
|
WoodenStep(TreeSpecies species)
|
|
WoodenStep(TreeSpecies species,
boolean inv)
|
|
| Method Summary | |
|---|---|
WoodenStep |
clone()
|
TreeSpecies |
getSpecies()
Gets the current species of this tree |
boolean |
isInverted()
Test if step is inverted |
void |
setInverted(boolean inv)
Set step inverted state |
void |
setSpecies(TreeSpecies species)
Sets the species of this tree |
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 WoodenStep()
public WoodenStep(int type)
public WoodenStep(TreeSpecies species)
public WoodenStep(TreeSpecies species,
boolean inv)
public WoodenStep(int type,
byte data)
public WoodenStep(Material type,
byte data)
| Method Detail |
|---|
public TreeSpecies getSpecies()
public void setSpecies(TreeSpecies species)
species - New species of this treepublic boolean isInverted()
public void setInverted(boolean inv)
inv - - true if step is inverted (top half), false if step is normal (bottom half)public WoodenStep clone()
clone in class MaterialDatapublic String toString()
toString in class MaterialData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||