Class DetectorRail

All Implemented Interfaces:
Cloneable, PressureSensor

@Deprecated public class DetectorRail extends ExtendedRails implements PressureSensor
Deprecated.
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents a detector rail
  • Constructor Details

    • DetectorRail

      public DetectorRail()
      Deprecated.
    • DetectorRail

      public DetectorRail(Material type)
      Deprecated.
    • DetectorRail

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

    • isPressed

      public boolean isPressed()
      Deprecated.
      Specified by:
      isPressed in interface PressureSensor
    • setPressed

      public void setPressed(boolean isPressed)
      Deprecated.
    • clone

      public DetectorRail clone()
      Deprecated.
      Overrides:
      clone in class ExtendedRails