Cloneable
, PressureSensor
BlockData
.@Deprecated public class DetectorRail extends ExtendedRails implements PressureSensor
Constructor | Description |
---|---|
DetectorRail() |
Deprecated.
|
DetectorRail(Material type) |
Deprecated.
|
DetectorRail(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
DetectorRail |
clone() |
Deprecated.
|
boolean |
isPressed() |
Deprecated.
|
void |
setPressed(boolean isPressed) |
Deprecated.
|
getConvertedData, isCurve, setDirection
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
finalize, getClass, notify, notifyAll, wait, wait, wait
getDirection, isOnSlope, toString
public DetectorRail()
public DetectorRail(Material type)
@Deprecated public DetectorRail(Material type, byte data)
type
- the typedata
- the raw data valuepublic boolean isPressed()
isPressed
in interface PressureSensor
public void setPressed(boolean isPressed)
public DetectorRail clone()
clone
in class ExtendedRails
Copyright © 2020. All rights reserved.