![]() |
Bukkit
1.4.7-R1.0
|
This is the superclass for the DetectorRail and PoweredRail classes. More...
Inheritance diagram for org.bukkit.material.ExtendedRails:
Collaboration diagram for org.bukkit.material.ExtendedRails: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 () | |
| 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) |
| Set the direction of these tracks Note that tracks are bidirectional and that the direction returned is the ascending direction if the track is set on a slope. | |
| 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 () |
| Gets the raw data in this material. | |
| void | setData (byte data) |
| Sets the raw data of this material. | |
| Material | getItemType () |
| Gets the Material that this MaterialData represents. | |
| int | getItemTypeId () |
| Gets the Material Id that this MaterialData represents. | |
| ItemStack | toItemStack () |
| Creates a new ItemStack based on this MaterialData. | |
| ItemStack | toItemStack (int amount) |
| Creates a new ItemStack based on this MaterialData. | |
| 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 () |
| Return the data without the extended properties used by PoweredRail and DetectorRail. | |
This is the superclass for the DetectorRail and PoweredRail classes.
Definition at line 9 of file ExtendedRails.java.
| org.bukkit.material.ExtendedRails.ExtendedRails | ( | final int | type | ) |
Definition at line 10 of file ExtendedRails.java.
| org.bukkit.material.ExtendedRails.ExtendedRails | ( | final Material | type | ) |
Definition at line 14 of file ExtendedRails.java.
| org.bukkit.material.ExtendedRails.ExtendedRails | ( | final int | type, |
| final byte | data | ||
| ) |
Definition at line 18 of file ExtendedRails.java.
| org.bukkit.material.ExtendedRails.ExtendedRails | ( | final Material | type, |
| final byte | data | ||
| ) |
Definition at line 22 of file ExtendedRails.java.
| ExtendedRails org.bukkit.material.ExtendedRails.clone | ( | ) |
Definition at line 49 of file ExtendedRails.java.
References org.bukkit.material.ExtendedRails.clone().
Referenced by org.bukkit.material.ExtendedRails.clone().
|
protected |
Definition at line 32 of file ExtendedRails.java.
References org.bukkit.material.MaterialData.getData().
| boolean org.bukkit.material.ExtendedRails.isCurve | ( | ) |
Definition at line 27 of file ExtendedRails.java.
| void org.bukkit.material.ExtendedRails.setDirection | ( | BlockFace | face, |
| boolean | isOnSlope | ||
| ) |