2014-02-09 02:34:52 +01:00
|
|
|
package appeng.integration.abstraction.helpers;
|
|
|
|
|
|
|
|
import appeng.tile.events.AETileEventHandler;
|
|
|
|
import appeng.tile.events.TileEventType;
|
2014-04-06 08:55:24 +02:00
|
|
|
import appeng.transformer.annotations.integration.Method;
|
2014-02-09 02:34:52 +01:00
|
|
|
import buildcraft.api.power.PowerHandler.PowerReceiver;
|
|
|
|
|
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 );
|
|
|
|
}
|
|
|
|
|
2014-05-10 04:08:56 +02:00
|
|
|
@Method(iname = "MJ5")
|
2014-02-09 02:34:52 +01:00
|
|
|
public abstract PowerReceiver getPowerReceiver();
|
|
|
|
|
2014-05-11 23:13:37 +02:00
|
|
|
public abstract double useEnergy(double f, double requred, boolean b);
|
2014-02-09 02:34:52 +01:00
|
|
|
|
|
|
|
public abstract void addEnergy(float failed);
|
|
|
|
|
|
|
|
public abstract void configure(int i, int j, float f, int k);
|
|
|
|
|
|
|
|
}
|