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)
          Deprecated. Magic value
DetectorRail(int type, byte data)
          Deprecated. Magic value
DetectorRail(Material type)
           
DetectorRail(Material type, byte data)
          Deprecated. Magic value
 
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

@Deprecated
public DetectorRail(int type)
Deprecated. Magic value


DetectorRail

public DetectorRail(Material type)

DetectorRail

@Deprecated
public DetectorRail(int type,
                               byte data)
Deprecated. Magic value


DetectorRail

@Deprecated
public DetectorRail(Material type,
                               byte data)
Deprecated. Magic value

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 © 2014. All rights reserved.