public interface IAEPowerStorage extends IEnergySource
| Modifier and Type | Method and Description |
|---|---|
double |
getAECurrentPower() |
double |
getAEMaxPower() |
AccessRestriction |
getPowerFlow()
Control the power flow by telling what the network can do, either add? or subtract? or both!
|
double |
injectAEPower(double amt,
Actionable mode)
Inject amt, power into the device, it will store what it can, and return the amount unable to be stored.
|
boolean |
isAEPublicPowerStorage()
Checked on network reset to see if your block can be used as a public power storage ( use getPowerFlow to control
the behavior )
|
extractAEPowerdouble injectAEPower(double amt,
Actionable mode)
amt - to be injected amountmode - action modedouble getAEMaxPower()
double getAECurrentPower()
boolean isAEPublicPowerStorage()
AccessRestriction getPowerFlow()