|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.material.MaterialData org.bukkit.material.LongGrass
public class LongGrass
Represents the different types of long grasses.
Constructor Summary | |
---|---|
LongGrass()
|
|
LongGrass(GrassSpecies species)
|
|
LongGrass(int type)
Deprecated. Magic value |
|
LongGrass(int type,
byte data)
Deprecated. Magic value |
|
LongGrass(Material type)
|
|
LongGrass(Material type,
byte data)
Deprecated. Magic value |
Method Summary | |
---|---|
LongGrass |
clone()
|
GrassSpecies |
getSpecies()
Gets the current species of this grass |
void |
setSpecies(GrassSpecies species)
Sets the species of this grass |
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 LongGrass()
public LongGrass(GrassSpecies species)
@Deprecated public LongGrass(int type)
public LongGrass(Material type)
@Deprecated public LongGrass(int type, byte data)
@Deprecated public LongGrass(Material type, byte data)
Method Detail |
---|
public GrassSpecies getSpecies()
public void setSpecies(GrassSpecies species)
species
- New species of this grasspublic String toString()
toString
in class MaterialData
public LongGrass clone()
clone
in class MaterialData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |