public class DetectorRail extends ExtendedRails implements PressureSensor
Constructor and Description |
---|
DetectorRail() |
DetectorRail(int type)
Deprecated.
Magic value
|
DetectorRail(int type,
byte data)
Deprecated.
Magic value
|
DetectorRail(Material type) |
DetectorRail(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
DetectorRail |
clone() |
boolean |
isPressed() |
void |
setPressed(boolean isPressed) |
getConvertedData, isCurve, setDirection
getDirection, isOnSlope, toString
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public DetectorRail()
@Deprecated public DetectorRail(int type)
public DetectorRail(Material type)
@Deprecated public DetectorRail(int type, byte data)
@Deprecated public DetectorRail(Material type, byte data)
public boolean isPressed()
isPressed
in interface PressureSensor
public void setPressed(boolean isPressed)
public DetectorRail clone()
clone
in class ExtendedRails
Copyright © 2015. All rights reserved.