类 Vine
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Vine
- 所有已实现的接口:
Cloneable
已过时。
代表藤蔓。
-
构造器概要
构造器 -
方法概要
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Vine
public Vine()已过时。 -
Vine
已过时。魔法值原文:Magic value
- 参数:
type- 物品类型data- 原始数据值
-
Vine
已过时。魔法值原文:Magic value
- 参数:
data- 原始数据值
-
Vine
已过时。 -
Vine
已过时。
-
-
方法详细资料
-
isOnFace
已过时。检查藤蔓是否附着在相邻方块的指定面上。 你可以通过传递例如BlockFace.NORTH_EAST来同时检查两个面。- 参数:
face- 要检查的面。- 返回:
- 是否附着在该面上。
原文:Check if the vine is attached to the specified face of an adjacent block. You can check two faces at once by passing e.g.
BlockFace.NORTH_EAST.
-
putOnFace
已过时。将藤蔓附着到相邻方块的指定面上。- 参数:
face- 要附着的面。原文:Attach the vine to the specified face of an adjacent block.
-
removeFromFace
已过时。将藤蔓从相邻方块的指定面上分离。- 参数:
face- 要分离的面。原文:Detach the vine from the specified face of an adjacent block.
-
toString
已过时。- 覆盖:
toString在类中MaterialData
-
clone
已过时。- 覆盖:
clone在类中MaterialData
-
BlockData。