Package org.bukkit.material
Class Tripwire
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.Tripwire
-
- All Implemented Interfaces:
Cloneable
@Deprecated public class Tripwire extends MaterialData
Deprecated.all usage of MaterialData is deprecated and subject to removal. UseBlockData.Represents the tripwire
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Tripwireclone()Deprecated.booleanisActivated()Deprecated.Test if tripwire is currently activatedbooleanisObjectTriggering()Deprecated.Test if object triggering this tripwire directlyvoidsetActivated(boolean act)Deprecated.Set tripwire activated statevoidsetObjectTriggering(boolean trig)Deprecated.Set object triggering state for this tripwireStringtoString()Deprecated.-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
Constructor Detail
-
Tripwire
public Tripwire()
Deprecated.
-
Tripwire
@Deprecated public Tripwire(Material type, byte data)
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Detail
-
isActivated
public boolean isActivated()
Deprecated.Test if tripwire is currently activated- Returns:
- true if activated, false if not
-
setActivated
public void setActivated(boolean act)
Deprecated.Set tripwire activated state- Parameters:
act- - true if activated, false if not
-
isObjectTriggering
public boolean isObjectTriggering()
Deprecated.Test if object triggering this tripwire directly- Returns:
- true if object activating tripwire, false if not
-
setObjectTriggering
public void setObjectTriggering(boolean trig)
Deprecated.Set object triggering state for this tripwire- Parameters:
trig- - true if object activating tripwire, false if not
-
clone
public Tripwire clone()
Deprecated.- Overrides:
clonein classMaterialData
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classMaterialData
-
-