Class DetectorRail

All Implemented Interfaces:
Cloneable, PressureSensor

@Deprecated(since="1.14.1") 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(since="1.6.2") public DetectorRail(Material type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the type
      data - the raw data value
  • Method Details