Cloneable, PressureSensorpublic class DetectorRail extends ExtendedRails implements PressureSensor
| Constructor | Description | 
|---|---|
| DetectorRail() | |
| DetectorRail(Material type) | |
| DetectorRail(Material type,
            byte data) | Deprecated. 
 Magic value | 
| Modifier and Type | Method | Description | 
|---|---|---|
| DetectorRail | clone() | |
| boolean | isPressed() | |
| void | setPressed(boolean isPressed) | 
getConvertedData, isCurve, setDirectionequals, getData, getItemType, hashCode, setData, toItemStack, toItemStackfinalize, getClass, notify, notifyAll, wait, wait, waitgetDirection, isOnSlope, toStringpublic DetectorRail()
public DetectorRail(Material type)
@Deprecated public DetectorRail(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isPressed()
isPressed in interface PressureSensorpublic void setPressed(boolean isPressed)
public DetectorRail clone()
clone in class ExtendedRailsCopyright © 2019. All rights reserved.