Class Lever

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

public class Lever
extends SimpleAttachableMaterialData
implements Redstone
Represents a lever
  • Constructor Details

    • Lever

      public Lever()
    • Lever

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

      public Lever​(Material type)
    • Lever

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

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