类 CocoaPlant
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.CocoaPlant
- 所有已实现的接口:
Cloneable,Attachable,Directional
@Deprecated(since="1.14.1")
public class CocoaPlant
extends MaterialData
implements Directional, Attachable
已过时。
代表可可植物。
-
嵌套类概要
嵌套类 -
构造器概要
构造器构造器说明已过时。已过时。CocoaPlant(CocoaPlant.CocoaPlantSize sz, BlockFace dir) 已过时。CocoaPlant(Material type, byte data) 已过时。魔法值 -
方法概要
修饰符和类型方法说明clone()已过时。已过时。获取此方块附着的面.已过时。获取此方块的朝向.getSize()已过时。获取植物的大小。voidsetFacingDirection(BlockFace face) 已过时。设置此方块的朝向.void已过时。设置植物的大小。toString()已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
CocoaPlant
public CocoaPlant()已过时。 -
CocoaPlant
已过时。魔法值- 参数:
type- 类型data- 原始数据值
-
CocoaPlant
已过时。 -
CocoaPlant
已过时。
-
-
方法详细资料
-
getSize
已过时。获取植物的大小。- 返回:
- 大小
原文:Get size of plant
-
setSize
已过时。设置植物的大小。- 参数:
sz- 植物的大小原文:Set size of plant
-
getAttachedFace
已过时。从接口复制的说明:Attachable获取此方块附着的面.原文: Gets the face that this block is attached on
- 指定者:
getAttachedFace在接口中Attachable- 返回:
- 附着的面
-
setFacingDirection
已过时。从接口复制的说明:Directional设置此方块的朝向.原文: Sets the direction that this block is facing in
- 指定者:
setFacingDirection在接口中Directional- 参数:
face- 朝向
-
getFacing
已过时。从接口复制的说明:Directional获取此方块的朝向.原文: Gets the direction this block is facing
- 指定者:
getFacing在接口中Directional- 返回:
- 此方块的朝向
-
clone
已过时。- 覆盖:
clone在类中MaterialData
-
toString
已过时。- 覆盖:
toString在类中MaterialData
-
BlockData。