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
public class DetectorRail
- extends ExtendedRails
- implements PressureSensor
Represents a detector rail
DetectorRail
public DetectorRail()
DetectorRail
public DetectorRail(int type)
DetectorRail
public DetectorRail(Material type)
DetectorRail
public DetectorRail(int type,
byte data)
DetectorRail
public DetectorRail(Material type,
byte data)
isPressed
public boolean isPressed()
- Specified by:
isPressed
in interface PressureSensor
setPressed
public void setPressed(boolean isPressed)
clone
public DetectorRail clone()
- Overrides:
clone
in class ExtendedRails
Copyright © 2013. All Rights Reserved.