Class Button

All Implemented Interfaces:
java.lang.Cloneable, Attachable, Directional, Redstone

public class Button
extends SimpleAttachableMaterialData
implements Redstone
Represents a button
  • Constructor Details

    • Button

      public Button()
    • Button

      @Deprecated public Button​(int type)
      Deprecated.
      Magic value
      Parameters:
      type - the type
    • Button

      public Button​(Material type)
    • Button

      @Deprecated public Button​(int type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the raw type id
      data - the raw data value
    • Button

      @Deprecated public Button​(Material type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the type
      data - the raw data value
  • Method Details