|
||||||||||
| 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.Crops
public class Crops
Represents the different types of crops.
| Constructor Summary | |
|---|---|
Crops()
|
|
Crops(CropState state)
|
|
Crops(int type)
Deprecated. Magic value |
|
Crops(int type,
byte data)
Deprecated. Magic value |
|
Crops(Material type)
|
|
Crops(Material type,
byte data)
Deprecated. Magic value |
|
| Method Summary | |
|---|---|
Crops |
clone()
|
CropState |
getState()
Gets the current growth state of this crop |
void |
setState(CropState state)
Sets the growth state of this crop |
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 Crops()
public Crops(CropState state)
@Deprecated public Crops(int type)
public Crops(Material type)
@Deprecated
public Crops(int type,
byte data)
@Deprecated
public Crops(Material type,
byte data)
| Method Detail |
|---|
public CropState getState()
public void setState(CropState state)
state - New growth state of this croppublic String toString()
toString in class MaterialDatapublic Crops clone()
clone in class MaterialData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||