Interface Dispenser

All Superinterfaces:
BlockData, Cloneable, Directional

public interface Dispenser
extends Directional
Similar to Powerable, 'triggered' indicates whether or not the dispenser is currently activated.
  • Method Details

    • isTriggered

      boolean isTriggered()
      Gets the value of the 'triggered' property.
      Returns:
      the 'triggered' value
    • setTriggered

      void setTriggered​(boolean triggered)
      Sets the value of the 'triggered' property.
      Parameters:
      triggered - the new 'triggered' value