类 FlowerPot
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.FlowerPot
- 所有已实现的接口:
Cloneable
已过时。
Represents a flower pot.
-
构造器概要
-
方法概要
修饰符和类型方法说明clone()
已过时。已过时。Get the material in the flower potvoid
setContents
(MaterialData materialData) 已过时。Set the contents of the flower pottoString()
已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
FlowerPot
public FlowerPot()已过时。Default constructor for a flower pot. -
FlowerPot
已过时。 -
FlowerPot
已过时。Magic value- 参数:
type
- the typedata
- the raw data value
-
-
方法详细资料
-
getContents
已过时。Get the material in the flower pot- 返回:
- material MaterialData for the block currently in the flower pot or null if empty
-
setContents
已过时。Set the contents of the flower pot- 参数:
materialData
- MaterialData of the block to put in the flower pot.
-
toString
已过时。- 覆盖:
toString
在类中MaterialData
-
clone
已过时。- 覆盖:
clone
在类中MaterialData
-
BlockData
.