public interface IAEItemPowerStorage
IAEPowerStorage
, but for items.Modifier and Type | Method and Description |
---|---|
double |
extractAEPower(net.minecraft.item.ItemStack is,
double amt)
Attempt to extract power from the device, it will extract what it can and
return it.
|
double |
getAECurrentPower(net.minecraft.item.ItemStack is) |
double |
getAEMaxPower(net.minecraft.item.ItemStack is) |
AccessRestriction |
getPowerFlow(net.minecraft.item.ItemStack is)
Control the power flow by telling what the network can do, either add? or
subtract? or both!
|
double |
injectAEPower(net.minecraft.item.ItemStack is,
double amt)
Inject amt, power into the device, it will store what it can, and return
the amount unable to be stored.
|
double injectAEPower(net.minecraft.item.ItemStack is, double amt)
double extractAEPower(net.minecraft.item.ItemStack is, double amt)
amt
- to be extracted power from devicedouble getAEMaxPower(net.minecraft.item.ItemStack is)
double getAECurrentPower(net.minecraft.item.ItemStack is)
AccessRestriction getPowerFlow(net.minecraft.item.ItemStack is)