diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-11-17 10:58:02 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-11-17 10:58:02 +1000 |
commit | 94389c154e4d517e4fcdebdacc3da9be414e8c75 (patch) | |
tree | 5c00c6c8689caf1dc4e0cba3f4363296279bb5b4 /src/Java/gregtech/api | |
parent | d7897d548e0d377df56a33b4be4a60717d97dd97 (diff) | |
download | GT5-Unofficial-94389c154e4d517e4fcdebdacc3da9be414e8c75.tar.gz GT5-Unofficial-94389c154e4d517e4fcdebdacc3da9be414e8c75.tar.bz2 GT5-Unofficial-94389c154e4d517e4fcdebdacc3da9be414e8c75.zip |
+ Added the Cutting Factory Multiblock.
+ Added a config for the Cutting Factory.
% Hid Generator Array Logging.
Diffstat (limited to 'src/Java/gregtech/api')
-rw-r--r-- | src/Java/gregtech/api/util/ThermalFuel.java | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/Java/gregtech/api/util/ThermalFuel.java b/src/Java/gregtech/api/util/ThermalFuel.java new file mode 100644 index 0000000000..4f6637e13f --- /dev/null +++ b/src/Java/gregtech/api/util/ThermalFuel.java @@ -0,0 +1,43 @@ +package gregtech.api.util; + +import gtPlusPlus.core.util.math.MathUtils; +import net.minecraftforge.fluids.FluidStack; + +public class ThermalFuel { + + public static void addThermalFuel(FluidStack aInput1, FluidStack aInput2, FluidStack aOutput1, int euValue, int aSpecialValue) { + GT_Recipe x = new GT_Recipe( + true, + null, + null, + null, + null, + new FluidStack[]{aInput1, aInput2}, + new FluidStack[]{aOutput1}, + 20, //1 Tick + euValue, //No Eu produced + aSpecialValue //Magic Number + ); + Recipe_GT.Gregtech_Recipe_Map.sGeoThermalFuels.addRecipe(x); + } + + public static void addSteamTurbineFuel(FluidStack aInput1) { + GT_Recipe x = new GT_Recipe( + true, + null, + null, + null, + null, + new FluidStack[]{aInput1}, + null, + 20, //1 Tick + MathUtils.findPercentageOfInt((aInput1.amount/2), 95), //No Eu produced + 0 //Magic Number + ); + Recipe_GT.Gregtech_Recipe_Map.sSteamTurbineFuels.addRecipe(x); + } + + + + +} |