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 public class PoweredRail extends ExtendedRails implements Redstone
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
 Use 
BlockData.Represents a powered rail
- 
Constructor SummaryConstructors Constructor Description PoweredRail()Deprecated.PoweredRail(Material type)Deprecated.PoweredRail(Material type, byte data)Deprecated.Magic value
- 
Method SummaryModifier and Type Method Description PoweredRailclone()Deprecated.booleanisPowered()Deprecated.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.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
 
 
-