public class LongGrass extends MaterialData
| 构造器和说明 |
|---|
LongGrass() |
LongGrass(GrassSpecies species) |
LongGrass(int type)
已过时。
不安全的参数
|
LongGrass(int type,
byte data)
已过时。
不安全的参数
|
LongGrass(Material type) |
LongGrass(Material type,
byte data)
已过时。
不安全的参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
LongGrass |
clone() |
GrassSpecies |
getSpecies()
获取草丛的种类.
|
void |
setSpecies(GrassSpecies species)
设置草丛的种类.
|
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic LongGrass()
public LongGrass(GrassSpecies species)
@Deprecated public LongGrass(int type)
type - the raw type idpublic LongGrass(Material type)
@Deprecated
public LongGrass(int type,
byte data)
type - the raw type iddata - the raw data value@Deprecated public LongGrass(Material type, byte data)
type - the typedata - the raw data valuepublic GrassSpecies getSpecies()
原文:Gets the current species of this grass
public void setSpecies(GrassSpecies species)
原文:Sets the species of this grass
species - 新种类public java.lang.String toString()
toString 在类中 MaterialDatapublic LongGrass clone()
clone 在类中 MaterialData