类 Gate
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Gate
- 所有已实现的接口:
Cloneable
,Directional
,Openable
代表栅栏门
-
构造器概要
构造器 -
方法概要
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Gate
public Gate() -
Gate
public Gate(int type, byte data) -
Gate
public Gate(byte data)
-
-
方法详细资料
-
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
- 返回:
- 这个方块的朝向
-
isOpen
public boolean isOpen()从接口复制的说明:Openable
检测这个门是否开着.原文:Check to see if the door is open.
-
setOpen
public void setOpen(boolean isOpen) 从接口复制的说明:Openable
设置这个门是否开着.原文:Configure this door to be either open or closed;
-
toString
- 覆盖:
toString
在类中MaterialData
-
clone
- 覆盖:
clone
在类中MaterialData
-