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 Attachable
isAttached, setAttachedMethods inherited from interface BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface MultipleFacing
getAllowedFaces, getFaces, hasFace, setFaceMethods inherited from interface 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
-