2014-02-09 02:34:52 +01:00
|
|
|
package appeng.integration.abstraction.helpers;
|
|
|
|
|
|
|
|
import appeng.tile.events.AETileEventHandler;
|
|
|
|
import appeng.tile.events.TileEventType;
|
|
|
|
import buildcraft.api.power.PowerHandler.PowerReceiver;
|
|
|
|
import cpw.mods.fml.common.Optional.Method;
|
|
|
|
|
2014-02-16 19:41:45 +01:00
|
|
|
public abstract class BaseMJperdition extends AETileEventHandler
|
2014-02-09 02:34:52 +01:00
|
|
|
{
|
|
|
|
|
2014-02-16 19:41:45 +01:00
|
|
|
public BaseMJperdition() {
|
2014-02-09 02:34:52 +01:00
|
|
|
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);
|
|
|
|
|
|
|
|
}
|