Package org.bukkit.material
Class DetectorRail
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Rails
org.bukkit.material.ExtendedRails
org.bukkit.material.DetectorRail
- All Implemented Interfaces:
Cloneable
,PressureSensor
Deprecated.
Represents a detector rail
-
Constructor Summary
ConstructorDescriptionDeprecated.DetectorRail(Material type)
Deprecated.DetectorRail(Material type, byte data)
Deprecated.Magic value -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.boolean
Deprecated.void
setPressed(boolean isPressed)
Deprecated.Methods inherited from class org.bukkit.material.ExtendedRails
getConvertedData, isCurve, setDirection
Methods inherited from class org.bukkit.material.Rails
getDirection, isOnSlope, toString
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
DetectorRail
public DetectorRail()Deprecated. -
DetectorRail
Deprecated. -
DetectorRail
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
isPressed
public boolean isPressed()Deprecated.- Specified by:
isPressed
in interfacePressureSensor
-
setPressed
public void setPressed(boolean isPressed)Deprecated. -
clone
Deprecated.- Overrides:
clone
in classExtendedRails
-
BlockData
.