类 Tripwire
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Tripwire
- 所有已实现的接口:
Cloneable
已过时。
Represents the tripwire
-
构造器概要
-
方法概要
修饰符和类型方法说明clone()
已过时。boolean
已过时。Test if tripwire is currently activatedboolean
已过时。Test if object triggering this tripwire directlyvoid
setActivated
(boolean act) 已过时。Set tripwire activated statevoid
setObjectTriggering
(boolean trig) 已过时。Set object triggering state for this tripwiretoString()
已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Tripwire
public Tripwire()已过时。 -
Tripwire
已过时。Magic value- 参数:
type
- the typedata
- the raw data value
-
-
方法详细资料
-
isActivated
public boolean isActivated()已过时。Test if tripwire is currently activated- 返回:
- true if activated, false if not
-
setActivated
public void setActivated(boolean act) 已过时。Set tripwire activated state- 参数:
act
- - true if activated, false if not
-
isObjectTriggering
public boolean isObjectTriggering()已过时。Test if object triggering this tripwire directly- 返回:
- true if object activating tripwire, false if not
-
setObjectTriggering
public void setObjectTriggering(boolean trig) 已过时。Set object triggering state for this tripwire- 参数:
trig
- - true if object activating tripwire, false if not
-
clone
已过时。- 覆盖:
clone
在类中MaterialData
-
toString
已过时。- 覆盖:
toString
在类中MaterialData
-
BlockData
.