mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-19 11:59:17 +00:00
24 lines
429 B
Java
24 lines
429 B
Java
package crazypants.enderio.machine;
|
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
import crazypants.enderio.machine.IMachineRecipe.ResultStack;
|
|
|
|
public interface IPoweredTask {
|
|
|
|
void update(float availableEnergy);
|
|
|
|
boolean isComplete();
|
|
|
|
float getProgress();
|
|
|
|
ResultStack[] getCompletedResult();
|
|
|
|
float getRequiredEnergy();
|
|
|
|
float getChance();
|
|
|
|
void writeToNBT(NBTTagCompound nbtRoot);
|
|
|
|
IMachineRecipe getRecipe();
|
|
|
|
} |