Fixed BC Power Handler.

This commit is contained in:
AlgorithmX2
2014-01-29 19:21:01 -06:00
parent b21af365cf
commit e7575c157b
8 changed files with 141 additions and 105 deletions
@@ -0,0 +1,24 @@
package appeng.integration.modules.helpers;
import appeng.tile.events.AETileEventHandler;
import appeng.tile.events.TileEventType;
import buildcraft.api.power.PowerHandler.PowerReceiver;
import cpw.mods.fml.common.Optional.Method;
public abstract class BaseBCperdition extends AETileEventHandler
{
public BaseBCperdition() {
super( TileEventType.TICK, TileEventType.WORLD_NBT );
}
@Method(modid = "BuildCraftAPI|power")
public abstract PowerReceiver getPowerReceiver();
public abstract double useEnergy(float f, float requred, boolean b);
public abstract void addEnergy(float failed);
public abstract void configure(int i, int j, float f, int k);
}