Package org.bukkit.block.data.type
Interface Tripwire
- All Superinterfaces:
Attachable,BlockData,Cloneable,MultipleFacing,Powerable
'disarmed' denotes that the tripwire was broken with shears and will not
subsequently produce a current when destroyed.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the 'disarmed' property.voidsetDisarmed(boolean disarmed) Sets the value of the 'disarmed' property.Methods inherited from interface org.bukkit.block.data.Attachable
isAttached, setAttachedMethods inherited from interface org.bukkit.block.data.BlockData
clone, createBlockState, getAsString, getAsString, getDestroySpeed, getDestroySpeed, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface org.bukkit.block.data.MultipleFacing
getAllowedFaces, getFaces, hasFace, setFaceMethods inherited from interface org.bukkit.block.data.Powerable
isPowered, setPowered
-
Method Details
-
isDisarmed
boolean isDisarmed()Gets the value of the 'disarmed' property.- Returns:
- the 'disarmed' value
-
setDisarmed
void setDisarmed(boolean disarmed) Sets the value of the 'disarmed' property.- Parameters:
disarmed- the new 'disarmed' value
-