类 FlowerPot
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.FlowerPot
- 所有已实现的接口:
Cloneable
已过时。
代表一个花盆。
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()已过时。已过时。获取花盆中的物品。voidsetContents(MaterialData materialData) 已过时。设置花盆中的物品。toString()已过时。从类继承的方法 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.