public class Sandstone extends MaterialData
| 构造器和说明 |
|---|
Sandstone() |
Sandstone(int type)
已过时。
不安全的参数
|
Sandstone(int type,
byte data)
已过时。
不安全的参数
|
Sandstone(Material type) |
Sandstone(Material type,
byte data)
已过时。
不安全的参数
|
Sandstone(SandstoneType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
Sandstone |
clone() |
SandstoneType |
getType()
获取这个沙石的种类.
|
void |
setType(SandstoneType type)
设置这个沙石的种类.
|
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Sandstone()
public Sandstone(SandstoneType type)
@Deprecated public Sandstone(int type)
type - the raw type idpublic Sandstone(Material type)
@Deprecated
public Sandstone(int type,
byte data)
type - the raw type iddata - the raw data@Deprecated public Sandstone(Material type, byte data)
type - the typedata - the raw datapublic SandstoneType getType()
原文:Gets the current type of this sandstone
public void setType(SandstoneType type)
原文:Sets the type of this sandstone
type - 新种类public java.lang.String toString()
toString 在类中 MaterialDatapublic Sandstone clone()
clone 在类中 MaterialData