org.bukkit.material
public class PoweredRail extends ExtendedRails implements Redstone
| Constructor and Description | 
|---|
PoweredRail()  | 
PoweredRail(int type)
Deprecated. 
 
Magic value 
 | 
PoweredRail(int type,
           byte data)
Deprecated. 
 
Magic value 
 | 
PoweredRail(Material type)  | 
PoweredRail(Material type,
           byte data)
Deprecated. 
 
Magic value 
 | 
| Modifier and Type | Method and Description | 
|---|---|
PoweredRail | 
clone()  | 
boolean | 
isPowered()
Gets the current state of this Material, indicating if it's powered or
 unpowered 
 | 
void | 
setPowered(boolean isPowered)
Set whether this PoweredRail should be powered or not. 
 | 
getConvertedData, isCurve, setDirectiongetDirection, isOnSlope, toStringequals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic PoweredRail()
@Deprecated public PoweredRail(int type)
public PoweredRail(Material type)
@Deprecated public PoweredRail(int type, byte data)
@Deprecated public PoweredRail(Material type, byte data)
public boolean isPowered()
Redstonepublic void setPowered(boolean isPowered)
isPowered - whether or not the rail is poweredpublic PoweredRail clone()
clone in class ExtendedRailsCopyright © 2014. All rights reserved.