From b5e53e9a638d358729b73fd2ee1e87b019fe13a0 Mon Sep 17 00:00:00 2001 From: Alkalus Date: Fri, 11 Aug 2017 11:17:00 +1000 Subject: + Added a Hot Fuel Handler for the Thermal Boiler. + Added Lava + Water = Steam recipe to the Hot Fuels recipe map. --- src/Java/gregtech/api/util/HotFuel.java | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/Java/gregtech/api/util/HotFuel.java (limited to 'src/Java/gregtech') diff --git a/src/Java/gregtech/api/util/HotFuel.java b/src/Java/gregtech/api/util/HotFuel.java new file mode 100644 index 0000000000..c07a3e89fd --- /dev/null +++ b/src/Java/gregtech/api/util/HotFuel.java @@ -0,0 +1,28 @@ +package gregtech.api.util; + +import gregtech.api.util.GT_Recipe; +import gregtech.api.util.GT_Recipe.GT_Recipe_Map; +import net.minecraftforge.fluids.FluidStack; + +public class HotFuel { + + public static void addNewHotFuel(FluidStack aInput1, FluidStack aInput2, FluidStack aOutput1, int aSpecialValue) { + GT_Recipe x = new GT_Recipe( + true, + null, + null, + null, + null, + new FluidStack[]{aInput1, aInput2}, + new FluidStack[]{aOutput1}, + 1, //1 Tick + 0, //No Eu produced + aSpecialValue //Magic Number + ); + GT_Recipe_Map.sHotFuels.addRecipe(x); + } + + + + +} -- cgit