From dd08b27e29442d5f3c4b6dbc2cc8b469b6c5563b Mon Sep 17 00:00:00 2001 From: Dream-Master Date: Thu, 21 Sep 2017 21:03:27 +0200 Subject: 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 --- .../api/interfaces/internal/IGT_RecipeAdder.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/main/java/gregtech/api/interfaces') 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); + } -- cgit