aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gregtech
diff options
context:
space:
mode:
authorAlkalus <draknyte1@hotmail.com>2017-08-11 11:17:00 +1000
committerAlkalus <draknyte1@hotmail.com>2017-08-11 11:17:00 +1000
commitb5e53e9a638d358729b73fd2ee1e87b019fe13a0 (patch)
treee1b6f1e59f034ca82ba05ed988c22b9fa81005d2 /src/Java/gregtech
parent8814a5c9cb27de275a4bd9badfe66c44584bd9af (diff)
downloadGT5-Unofficial-b5e53e9a638d358729b73fd2ee1e87b019fe13a0.tar.gz
GT5-Unofficial-b5e53e9a638d358729b73fd2ee1e87b019fe13a0.tar.bz2
GT5-Unofficial-b5e53e9a638d358729b73fd2ee1e87b019fe13a0.zip
+ Added a Hot Fuel Handler for the Thermal Boiler.
+ Added Lava + Water = Steam recipe to the Hot Fuels recipe map.
Diffstat (limited to 'src/Java/gregtech')
-rw-r--r--src/Java/gregtech/api/util/HotFuel.java28
1 files changed, 28 insertions, 0 deletions
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);
+ }
+
+
+
+
+}