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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Test if tripwire is currently activatedbooleanDeprecated, for removal: This API element is subject to removal in a future version.Test if object triggering this tripwire directlyvoidsetActivated(boolean act) Deprecated, for removal: This API element is subject to removal in a future version.Set tripwire activated statevoidsetObjectTriggering(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.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
Tripwirepublic Tripwire()Deprecated, for removal: This API element is subject to removal in a future version.
- 
TripwireDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
isActivatedpublic 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
 
- 
setActivatedpublic 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
 
- 
isObjectTriggeringpublic 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
 
- 
setObjectTriggeringpublic 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
 
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- clonein class- MaterialData
 
- 
toStringDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- toStringin class- MaterialData
 
 
- 
BlockData.