Package org.bukkit.block.data
Interface Attachable
- All Known Subinterfaces:
- HangingSign,- Tripwire,- TripwireHook
'attached' denotes whether a tripwire hook or string forms a complete
 tripwire circuit and is ready to trigger.
 
Updating the property on a tripwire hook will change the texture to indicate a connected string, but will not have any effect when used on the tripwire string itself. It may however still be used to check whether the string forms a circuit.
Updating the property on a tripwire hook will change the texture to indicate a connected string, but will not have any effect when used on the tripwire string itself. It may however still be used to check whether the string forms a circuit.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGets the value of the 'attached' property.voidsetAttached(boolean attached) Sets the value of the 'attached' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
- 
Method Details- 
isAttachedboolean isAttached()Gets the value of the 'attached' property.- Returns:
- the 'attached' value
 
- 
setAttachedvoid setAttached(boolean attached) Sets the value of the 'attached' property.- Parameters:
- attached- the new 'attached' value
 
 
-