类 Gate
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Gate
- 所有已实现的接口:
Cloneable
,Directional
,Openable
已过时。
Represents a fence gate
-
构造器概要
-
方法概要
修饰符和类型方法说明clone()
已过时。已过时。Gets the direction this block is facingboolean
isOpen()
已过时。Check to see if the door is open.void
setFacingDirection
(BlockFace face) 已过时。Sets the direction that this block is facing invoid
setOpen
(boolean isOpen) 已过时。Configure this door to be either open or closed;toString()
已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Gate
public Gate()已过时。 -
Gate
已过时。Magic value- 参数:
type
- the typedata
- the raw data value
-
Gate
public Gate(byte data) 已过时。
-
-
方法详细资料
-
setFacingDirection
已过时。从接口复制的说明:Directional
Sets the direction that this block is facing in- 指定者:
setFacingDirection
在接口中Directional
- 参数:
face
- The facing direction
-
getFacing
已过时。从接口复制的说明:Directional
Gets the direction this block is facing- 指定者:
getFacing
在接口中Directional
- 返回:
- the direction this block is facing
-
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
-
BlockData
.