Package org.bukkit.material
Class Tripwire
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Tripwire
- All Implemented Interfaces:
Cloneable
Deprecated, for removal: This API element is subject to removal in a future version.
Represents the tripwire
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Test if tripwire is currently activatedboolean
Deprecated, for removal: This API element is subject to removal in a future version.Test if object triggering this tripwire directlyvoid
setActivated
(boolean act) Deprecated, for removal: This API element is subject to removal in a future version.Set tripwire activated statevoid
setObjectTriggering
(boolean trig) Deprecated, for removal: This API element is subject to removal in a future version.Set object triggering state for this tripwiretoString()
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Tripwire
public Tripwire()Deprecated, for removal: This API element is subject to removal in a future version. -
Tripwire
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
isActivated
public boolean isActivated()Deprecated, for removal: This API element is subject to removal in a future version.Test if tripwire is currently activated- Returns:
- true if activated, false if not
-
setActivated
public void setActivated(boolean act) Deprecated, for removal: This API element is subject to removal in a future version.Set tripwire activated state- Parameters:
act
- - true if activated, false if not
-
isObjectTriggering
public boolean isObjectTriggering()Deprecated, for removal: This API element is subject to removal in a future version.Test if object triggering this tripwire directly- Returns:
- true if object activating tripwire, false if not
-
setObjectTriggering
public void setObjectTriggering(boolean trig) Deprecated, for removal: This API element is subject to removal in a future version.Set object triggering state for this tripwire- Parameters:
trig
- - true if object activating tripwire, false if not
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clone
in classMaterialData
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classMaterialData
-
BlockData
.