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

Public Member Functions

 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 ()
 

Protected Member Functions

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

Detailed Description

This is the superclass for the DetectorRail and PoweredRail classes

Definition at line 10 of file ExtendedRails.java.

Constructor & Destructor Documentation

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

Definition at line 16 of file ExtendedRails.java.

16  {
17  super(type);
18  }
org.bukkit.material.ExtendedRails.ExtendedRails ( final int  type,
final byte  data 
)
Deprecated:
Magic value

Definition at line 29 of file ExtendedRails.java.

29  {
30  super(type, data);
31  }
org.bukkit.material.ExtendedRails.ExtendedRails ( final Material  type,
final byte  data 
)
Deprecated:
Magic value

Definition at line 38 of file ExtendedRails.java.

38  {
39  super(type, data);
40  }

Member Function Documentation

byte org.bukkit.material.ExtendedRails.getConvertedData ( )
protected
Deprecated:
Magic value

Definition at line 53 of file ExtendedRails.java.

References org.bukkit.material.MaterialData.getData().

53  {
54  return (byte) (getData() & 0x7);
55  }

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