Interface Tripwire

All Superinterfaces:
Attachable, BlockData, Cloneable, MultipleFacing, Powerable

public interface Tripwire
extends Attachable, MultipleFacing, Powerable
'disarmed' denotes that the tripwire was broken with shears and will not subsequently produce a current when destroyed.
  • 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