setPowered

public void setPowered(boolean isPowered)

Set whether this PoweredRail should be powered or not.

Parameters

isPowered

whether or not the rail is powered