类 TrapDoor
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
org.bukkit.material.TrapDoor
- 所有已实现的接口:
Cloneable
,Attachable
,Directional
,Openable
已过时。
Represents a trap door
-
构造器概要
-
方法概要
修饰符和类型方法说明clone()
已过时。已过时。Gets the face that this block is attached onboolean
已过时。Test if trapdoor is invertedboolean
isOpen()
已过时。Check to see if the door is open.void
setFacingDirection
(BlockFace face) 已过时。Sets the direction that this block is facing invoid
setInverted
(boolean inv) 已过时。Set trapdoor inverted statevoid
setOpen
(boolean isOpen) 已过时。Configure this door to be either open or closed;toString()
已过时。从类继承的方法 org.bukkit.material.SimpleAttachableMaterialData
getFacing
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
TrapDoor
public TrapDoor()已过时。 -
TrapDoor
已过时。 -
TrapDoor
已过时。Magic value- 参数:
type
- the typedata
- the raw data value
-
-
方法详细资料
-
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; -
isInverted
public boolean isInverted()已过时。Test if trapdoor is inverted- 返回:
- true if inverted (top half), false if normal (bottom half)
-
setInverted
public void setInverted(boolean inv) 已过时。Set trapdoor inverted state- 参数:
inv
- - true if inverted (top half), false if normal (bottom half)
-
getAttachedFace
已过时。从接口复制的说明:Attachable
Gets the face that this block is attached on- 指定者:
getAttachedFace
在接口中Attachable
- 返回:
- BlockFace attached to
-
setFacingDirection
已过时。从接口复制的说明:Directional
Sets the direction that this block is facing in- 指定者:
setFacingDirection
在接口中Directional
- 参数:
face
- The facing direction
-
toString
已过时。- 覆盖:
toString
在类中SimpleAttachableMaterialData
-
clone
已过时。- 覆盖:
clone
在类中SimpleAttachableMaterialData
-
BlockData
.