FlowerPot
.@Deprecated public class FlowerPot extends MaterialData
构造器和说明 |
---|
FlowerPot()
已过时。
该类的默认构造器.
|
FlowerPot(int type)
已过时。
不安全的参数
|
FlowerPot(int type,
byte data)
已过时。
不安全的参数
|
FlowerPot(Material type)
已过时。
|
FlowerPot(Material type,
byte data)
已过时。
不安全的参数
|
限定符和类型 | 方法和说明 |
---|---|
FlowerPot |
clone()
已过时。
|
MaterialData |
getContents()
已过时。
获取在花盆里的植物的方块.
|
void |
setContents(MaterialData materialData)
已过时。
设置在花盆里的植物的方块.
|
java.lang.String |
toString()
已过时。
|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public FlowerPot()
原文:Default constructor for a flower pot.
@Deprecated public FlowerPot(int type)
type
- the raw type idpublic FlowerPot(Material type)
@Deprecated public FlowerPot(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public FlowerPot(Material type, byte data)
type
- the typedata
- the raw data valuepublic MaterialData getContents()
原文:Get the material in the flower pot
public void setContents(MaterialData materialData)
原文:Set the contents of the flower pot
materialData
- 方块的MaterialDatapublic java.lang.String toString()
toString
在类中 MaterialData
public FlowerPot clone()
clone
在类中 MaterialData