类 Vine
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Vine
- 所有已实现的接口:
Cloneable
代表藤蔓
-
构造器概要
构造器 -
方法概要
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Vine
public Vine() -
Vine
已过时。不安全的参数- 参数:
type
- the raw type iddata
- the raw data value
-
Vine
已过时。不安全的参数- 参数:
data
- the raw data value
-
Vine
-
Vine
-
-
方法详细资料
-
isOnFace
检测藤蔓是否靠在与其相邻方块的表面. 你可以通过BlockFace.NORTH_EAST
等一次检查两个表面.原文: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
.- 参数:
face
- 朝向- 返回:
- 藤蔓是否靠在那个表面
-
putOnFace
使这个藤蔓附着在相邻方块的指定表面.原文:Attach the vine to the specified face of an adjacent block.
- 参数:
face
- 朝向
-
removeFromFace
从相邻的方块的指定表面拆除藤蔓.原文:Detach the vine from the specified face of an adjacent block.
- 参数:
face
- 朝向
-
toString
- 覆盖:
toString
在类中MaterialData
-
clone
- 覆盖:
clone
在类中MaterialData
-