Package org.bukkit.material
Class PoweredRail
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Rails
org.bukkit.material.ExtendedRails
org.bukkit.material.PoweredRail
Deprecated.
Represents a powered rail
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated.PoweredRail(Material type)Deprecated.PoweredRail(Material type, byte data)Deprecated.Magic value
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated.booleanDeprecated.Gets the current state of this Material, indicating if it's powered or unpoweredvoidsetPowered(boolean isPowered)Deprecated.Set whether this PoweredRail should be powered or not.Methods inherited from class org.bukkit.material.ExtendedRailsgetConvertedData, isCurve, setDirectionMethods inherited from class org.bukkit.material.RailsgetDirection, isOnSlope, toStringMethods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
PoweredRailpublic PoweredRail()Deprecated.
- 
PoweredRailDeprecated.
- 
PoweredRailDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
isPoweredpublic boolean isPowered()Deprecated.Description copied from interface:RedstoneGets the current state of this Material, indicating if it's powered or unpowered
- 
setPoweredpublic void setPowered(boolean isPowered)Deprecated.Set whether this PoweredRail should be powered or not.- Parameters:
- isPowered- whether or not the rail is powered
 
- 
cloneDeprecated.- Overrides:
- clonein class- ExtendedRails
 
 
- 
BlockData.