public class Crops extends MaterialData
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic 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)
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 MaterialDataCopyright © 2014. All rights reserved.