Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.material.DetectorRail Class Reference
Inheritance diagram for org.bukkit.material.DetectorRail:
org.bukkit.material.ExtendedRails org.bukkit.material.PressureSensor org.bukkit.material.Rails org.bukkit.material.MaterialData

Public Member Functions

 DetectorRail (final int type)
 
 DetectorRail (final Material type)
 
 DetectorRail (final int type, final byte data)
 
 DetectorRail (final Material type, final byte data)
 
boolean isPressed ()
 
void setPressed (boolean isPressed)
 
DetectorRail clone ()
 
- Public Member Functions inherited from org.bukkit.material.ExtendedRails
 ExtendedRails (final int type)
 
 ExtendedRails (final Material type)
 
 ExtendedRails (final int type, final byte data)
 
 ExtendedRails (final Material type, final byte data)
 
boolean isCurve ()
 
void setDirection (BlockFace face, boolean isOnSlope)
 
ExtendedRails clone ()
 
- Public Member Functions inherited from org.bukkit.material.Rails
 Rails (final int type)
 
 Rails (final Material type)
 
 Rails (final int type, final byte data)
 
 Rails (final Material type, final byte data)
 
boolean isOnSlope ()
 
boolean isCurve ()
 
BlockFace getDirection ()
 
String toString ()
 
void setDirection (BlockFace face, boolean isOnSlope)
 
Rails clone ()
 
- Public Member Functions inherited from org.bukkit.material.MaterialData
 MaterialData (final int type)
 
 MaterialData (final Material type)
 
 MaterialData (final int type, final byte data)
 
 MaterialData (final Material type, final byte data)
 
byte getData ()
 
void setData (byte data)
 
Material getItemType ()
 
int getItemTypeId ()
 
ItemStack toItemStack ()
 
ItemStack toItemStack (int amount)
 
String toString ()
 
int hashCode ()
 
boolean equals (Object obj)
 
MaterialData clone ()
 

Additional Inherited Members

- Protected Member Functions inherited from org.bukkit.material.ExtendedRails
byte getConvertedData ()
 
- Protected Member Functions inherited from org.bukkit.material.Rails
byte getConvertedData ()
 

Detailed Description

Represents a detector rail

Definition at line 8 of file DetectorRail.java.

Constructor & Destructor Documentation

org.bukkit.material.DetectorRail.DetectorRail ( final int  type)
Deprecated:
Magic value

Definition at line 18 of file DetectorRail.java.

18  {
19  super(type);
20  }
org.bukkit.material.DetectorRail.DetectorRail ( final int  type,
final byte  data 
)
Deprecated:
Magic value

Definition at line 31 of file DetectorRail.java.

31  {
32  super(type, data);
33  }
org.bukkit.material.DetectorRail.DetectorRail ( final Material  type,
final byte  data 
)
Deprecated:
Magic value

Definition at line 40 of file DetectorRail.java.

40  {
41  super(type, data);
42  }

The documentation for this class was generated from the following file: