aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces
diff options
context:
space:
mode:
authorJohannes Gäßler <updrn@student.kit.edu>2017-05-24 23:59:42 +0200
committerJohannes Gäßler <updrn@student.kit.edu>2017-05-24 23:59:42 +0200
commitb27566a70a5b13da2ae0fab3d33ff33bb1c555cf (patch)
tree341668d092621ab5e5d13ec30f56717a966110af /src/main/java/gregtech/api/interfaces
parent856f1bebbfdd19dc4d360d507119c8fedef7c3a5 (diff)
downloadGT5-Unofficial-b27566a70a5b13da2ae0fab3d33ff33bb1c555cf.tar.gz
GT5-Unofficial-b27566a70a5b13da2ae0fab3d33ff33bb1c555cf.tar.bz2
GT5-Unofficial-b27566a70a5b13da2ae0fab3d33ff33bb1c555cf.zip
Expanded Materials class for cracked Fluids, changed cracking recipes
Fluid cracking can be done with either Steam or Hydrogen and at 3 different severities for a total of six different recipes. Cracking severity is controlled with a programmed circuit. Removed the previously used liquids for cracked light fuel/heavy fuel Changed the Distillation Tower recipes so they can utilize up to 11 fluid outputs
Diffstat (limited to 'src/main/java/gregtech/api/interfaces')
-rw-r--r--src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java b/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java
index dc7c0ce2f6..c15eda80e7 100644
--- a/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java
+++ b/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java
@@ -556,7 +556,7 @@ public interface IGT_RecipeAdder {
/**
* Adds a Distillation Tower Recipe
- * Every Fluid also gets seperate distillation recipes
+ * Every Fluid also gets separate distillation recipes
*
* @param aInput1 must be != null
* @param aOutputs must be != null 1-5 Fluids
@@ -584,9 +584,22 @@ public interface IGT_RecipeAdder {
* @param aDuration
* @param aEUt
*/
+ @Deprecated
public boolean addCrackingRecipe(FluidStack aInput, FluidStack aOutput, int aDuration, int aEUt);
/**
+ * Adds Oil Cracking Recipe
+ *
+ * @param circuitConfig The circuit configuration to control cracking severity
+ * @param aInput The fluid to be cracked
+ * @param aInput2 The fluid to catalyze the cracking (typically Hydrogen or Steam)
+ * @param aOutput The cracked fluid
+ * @param aDuration
+ * @param aEUt
+ */
+ public boolean addCrackingRecipe(int circuitConfig, FluidStack aInput, FluidStack aInput2, FluidStack aOutput, int aDuration, int aEUt);
+
+ /**
* Adds a Sound to the Sonictron9001
* you should NOT call this in the preInit-Phase!
*