Applied-Energistics-2-tiler.../integration/abstraction/helpers/BaseMJperdition.java

25 lines
670 B
Java
Raw Normal View History

2014-02-09 02:34:52 +01:00
package appeng.integration.abstraction.helpers;
import appeng.tile.events.AETileEventHandler;
import appeng.tile.events.TileEventType;
import appeng.transformer.annotations.integration.Method;
2014-02-09 02:34:52 +01:00
import buildcraft.api.power.PowerHandler.PowerReceiver;
public abstract class BaseMJperdition extends AETileEventHandler
2014-02-09 02:34:52 +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);
}