BlockData.@Deprecated public class DetectorRail extends ExtendedRails implements PressureSensor
| Constructor and Description |
|---|
DetectorRail()
Deprecated.
|
DetectorRail(Material type)
Deprecated.
|
DetectorRail(Material type,
byte data)
Deprecated.
Magic value
|
| Modifier and Type | Method and Description |
|---|---|
DetectorRail |
clone()
Deprecated.
|
boolean |
isPressed()
Deprecated.
|
void |
setPressed(boolean isPressed)
Deprecated.
|
getConvertedData, isCurve, setDirectiongetDirection, isOnSlope, toStringequals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic 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 © 2022. All rights reserved.