Interface Piston

All Superinterfaces:
BlockData, Cloneable, Directional

public interface Piston extends Directional
'extended' denotes whether the piston head is currently extended or not.
  • Method Details

    • isExtended

      boolean isExtended()
      Gets the value of the 'extended' property.
      Returns:
      the 'extended' value
    • setExtended

      void setExtended(boolean extended)
      Sets the value of the 'extended' property.
      Parameters:
      extended - the new 'extended' value