aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/GT_RecipeAdder.java
diff options
context:
space:
mode:
authorTechnus <daniel112092@gmail.com>2017-08-02 18:49:59 +0200
committerTechnus <daniel112092@gmail.com>2017-08-02 18:49:59 +0200
commit795af36006d3a438b5f6285c4b6ca8063c9de753 (patch)
tree98dab7918fb4b6af7b53925f83bebfd83eb4c2ed /src/main/java/gregtech/common/GT_RecipeAdder.java
parenta7578a01af2cb52b018008e986a335b513049739 (diff)
parent1ceb02303dbb0952618f7fe01028871934a9cb00 (diff)
downloadGT5-Unofficial-795af36006d3a438b5f6285c4b6ca8063c9de753.tar.gz
GT5-Unofficial-795af36006d3a438b5f6285c4b6ca8063c9de753.tar.bz2
GT5-Unofficial-795af36006d3a438b5f6285c4b6ca8063c9de753.zip
Merge branch 'experimental' of https://github.com/GTNewHorizons/GT5-Unofficial into experimental
Diffstat (limited to 'src/main/java/gregtech/common/GT_RecipeAdder.java')
-rw-r--r--src/main/java/gregtech/common/GT_RecipeAdder.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/GT_RecipeAdder.java b/src/main/java/gregtech/common/GT_RecipeAdder.java
index 1e1848705b..8d8b27c07e 100644
--- a/src/main/java/gregtech/common/GT_RecipeAdder.java
+++ b/src/main/java/gregtech/common/GT_RecipeAdder.java
@@ -194,7 +194,8 @@ public class GT_RecipeAdder implements IGT_RecipeAdder {
if ((aDuration = GregTech_API.sRecipeFile.get("blastfurnace", aInput1, aDuration)) <= 0) {
return false;
}
- GT_Recipe.GT_Recipe_Map.sBlastRecipes.addRecipe(true, new ItemStack[]{aInput1, aInput2}, new ItemStack[]{aOutput1, aOutput2}, null, null, new FluidStack[]{aFluidInput}, null, aDuration, aEUt, aLevel);
+ GT_Recipe.GT_Recipe_Map.sBlastRecipes.addRecipe(true, new ItemStack[]{aInput1, aInput2}, new ItemStack[]{aOutput1, aOutput2}, null, null,
+ new FluidStack[]{aFluidInput}, new FluidStack[]{aFluidOutput}, aDuration, aEUt, aLevel);
return true;
}
@@ -612,6 +613,10 @@ public class GT_RecipeAdder implements IGT_RecipeAdder {
return addBrewingRecipe(aIngredient, aInput, aOutput, 128, 4, aHidden);
}
+ public boolean addBrewingRecipeCustom(ItemStack aIngredient, Fluid aInput, Fluid aOutput, int aDuration, int aEUt, boolean aHidden) {
+ return addBrewingRecipe(aIngredient, aInput, aOutput, aDuration, aEUt, aHidden);
+ }
+
public boolean addFermentingRecipe(FluidStack aInput, FluidStack aOutput, int aDuration, int aEUt, boolean aHidden) {
if ((aInput == null) || (aOutput == null)) {
return false;