@Deprecated public class PoweredRail extends ExtendedRails implements Redstone
BlockData.| Constructor | Description | 
|---|---|
| PoweredRail() | Deprecated. | 
| PoweredRail(Material type) | Deprecated. | 
| PoweredRail(Material type,
           byte data) | Deprecated.
 Magic value | 
| Modifier and Type | Method | Description | 
|---|---|---|
| PoweredRail | clone() | Deprecated. | 
| boolean | isPowered() | Deprecated. Gets the current state of this Material, indicating if it's powered or
 unpowered | 
| void | setPowered(boolean isPowered) | Deprecated. Set whether this PoweredRail should be powered or not. | 
getConvertedData, isCurve, setDirectionequals, getData, getItemType, hashCode, setData, toItemStack, toItemStackfinalize, getClass, notify, notifyAll, wait, wait, waitgetDirection, isOnSlope, toStringpublic PoweredRail()
public PoweredRail(Material type)
@Deprecated public PoweredRail(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isPowered()
Redstonepublic void setPowered(boolean isPowered)
isPowered - whether or not the rail is poweredpublic PoweredRail clone()
clone in class ExtendedRailsCopyright © 2020. All rights reserved.