diff options
author | Dream-Master <dream-master@gmx.net> | 2017-09-21 21:03:27 +0200 |
---|---|---|
committer | Dream-Master <dream-master@gmx.net> | 2017-09-27 22:27:09 +0200 |
commit | dd08b27e29442d5f3c4b6dbc2cc8b469b6c5563b (patch) | |
tree | 9eab55862385b92d86d2ee67a193e2b2e1fb8235 /src/main/java/gregtech/api/interfaces/internal | |
parent | bd367eda6d4ad48f8fe5aa7123b180008e64f161 (diff) | |
download | GT5-Unofficial-dd08b27e29442d5f3c4b6dbc2cc8b469b6c5563b.tar.gz GT5-Unofficial-dd08b27e29442d5f3c4b6dbc2cc8b469b6c5563b.tar.bz2 GT5-Unofficial-dd08b27e29442d5f3c4b6dbc2cc8b469b6c5563b.zip |
add Deprecated recipes @Technus can you please check if i did right. I need to add a new recipe in the adder because you cant use two Boolean in one recipe
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/internal')
-rw-r--r-- | src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java | 19 |
1 files changed, 19 insertions, 0 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 e4f141ea51..82fd7b3743 100644 --- a/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java +++ b/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java @@ -185,6 +185,9 @@ public interface IGT_RecipeAdder { public boolean addMultiblockChemicalRecipe(ItemStack[] aInputs, FluidStack[] aFluidInputs, FluidStack[] aFluidOutputs, ItemStack[] aOutputs, int aDuration, int aEUtick); + public boolean addChemicalRecipeDeprecated(ItemStack aInput1, ItemStack aInput2, FluidStack aFluidInput, FluidStack aFluidOutput, ItemStack aOutput, ItemStack aOutput2, int aDuration, int aEUtick); + + /** * Adds a Blast Furnace Recipe * @@ -698,4 +701,20 @@ public interface IGT_RecipeAdder { * @return true if the Sound got added, otherwise false. */ public boolean addSonictronSound(ItemStack aItemStack, String aSoundName); + + + /** + * Returns whether the recipes added are currently being marked as deprecated. + * Currently only affects Chemical Reactor Recipes. + */ + + public boolean isAddingDeprecatedRecipes(); + + /** + * Sets whether the recipes added from this point on should be marked as deprecated or not. + * Currently only affects Chemical Reactor Recipes. + */ + + public void setIsAddingDeprecatedRecipes(boolean isAddingDeprecatedRecipes); + } |