org.bukkit.material
Class DetectorRail

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.Rails
          extended by org.bukkit.material.ExtendedRails
              extended by org.bukkit.material.DetectorRail
All Implemented Interfaces:
Cloneable, PressureSensor

public class DetectorRail
extends ExtendedRails
implements PressureSensor

Represents a detector rail


Constructor Summary
DetectorRail()
           
DetectorRail(int type)
           
DetectorRail(int type, byte data)
           
DetectorRail(Material type)
           
DetectorRail(Material type, byte data)
           
 
Method Summary
 DetectorRail clone()
           
 boolean isPressed()
           
 void setPressed(boolean isPressed)
           
 
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, getItemTypeId, hashCode, setData, toItemStack, toItemStack
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.