| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.material.MaterialData
org.bukkit.material.Rails
org.bukkit.material.ExtendedRails
public class ExtendedRails
This is the superclass for the DetectorRail and PoweredRail
 classes
| Constructor Summary | |
|---|---|
ExtendedRails(int type)
Deprecated. Magic value  | 
|
ExtendedRails(int type,
                           byte data)
Deprecated. Magic value  | 
|
ExtendedRails(Material type)
 | 
|
ExtendedRails(Material type,
                           byte data)
Deprecated. Magic value  | 
|
| Method Summary | |
|---|---|
 ExtendedRails | 
clone()
 | 
protected  byte | 
getConvertedData()
Deprecated. Magic value  | 
 boolean | 
isCurve()
 | 
 void | 
setDirection(BlockFace face,
                         boolean isOnSlope)
Set the direction of these tracks  | 
| 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 | 
|---|
@Deprecated public ExtendedRails(int type)
public ExtendedRails(Material type)
@Deprecated
public ExtendedRails(int type,
                                byte data)
@Deprecated
public ExtendedRails(Material type,
                                byte data)
| Method Detail | 
|---|
public boolean isCurve()
isCurve in class Rails@Deprecated protected byte getConvertedData()
RailsPoweredRail and DetectorRail. Overridden in ExtendedRails
getConvertedData in class Rails
public void setDirection(BlockFace face,
                         boolean isOnSlope)
RailsNote that tracks are bidirectional and that the direction returned is the ascending direction if the track is set on a slope. If it is set as a curve, the corner of the track should be supplied.
setDirection in class Railsface - the direction the track should be facingisOnSlope - whether or not the track should be on a slopepublic ExtendedRails clone()
clone in class Rails
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||