Package org.bukkit.material
Class ExtendedRails
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Rails
org.bukkit.material.ExtendedRails
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- DetectorRail,- PoweredRail
Deprecated, for removal: This API element is subject to removal in a future version.
This is the superclass for the 
DetectorRail and PoweredRail
 classes- 
Constructor SummaryConstructorsConstructorDescriptionExtendedRails(Material type) Deprecated, for removal: This API element is subject to removal in a future version.ExtendedRails(Material type, byte data) Deprecated.Magic value
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.protected byteDeprecated.Magic valuebooleanisCurve()Deprecated, for removal: This API element is subject to removal in a future version.voidsetDirection(BlockFace face, boolean isOnSlope) Deprecated, for removal: This API element is subject to removal in a future version.Set the direction of these tracksMethods inherited from class org.bukkit.material.RailsgetDirection, isOnSlope, toStringMethods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
ExtendedRailsDeprecated, for removal: This API element is subject to removal in a future version.
- 
ExtendedRailsDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
isCurvepublic boolean isCurve()Deprecated, for removal: This API element is subject to removal in a future version.
- 
getConvertedDataDeprecated.Magic valueReturn the data without the extended properties used byPoweredRailandDetectorRail. Overridden inExtendedRails- Overrides:
- getConvertedDatain class- Rails
- Returns:
- the data without the extended part
 
- 
setDirectionDeprecated, for removal: This API element is subject to removal in a future version.Description copied from class:RailsSet the direction of these tracksNote 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. - Overrides:
- setDirectionin class- Rails
- Parameters:
- face- the direction the track should be facing
- isOnSlope- whether or not the track should be on a slope
 
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
BlockData.