diff options
author | chochem <40274384+chochem@users.noreply.github.com> | 2024-04-30 08:09:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 09:09:47 +0200 |
commit | 27bbb51c837704e2ff380276858483b6e42d06da (patch) | |
tree | f07508ad7bd0602a635d06bff95c05e13ed8bd2e /src/main/java/gregtech/loaders/oreprocessing/ProcessingLog.java | |
parent | 111adeda4ccf433ec193e57671f54eece2db0c69 (diff) | |
download | GT5-Unofficial-27bbb51c837704e2ff380276858483b6e42d06da.tar.gz GT5-Unofficial-27bbb51c837704e2ff380276858483b6e42d06da.tar.bz2 GT5-Unofficial-27bbb51c837704e2ff380276858483b6e42d06da.zip |
GT recipe.cfg cleanup (#2579)
* ichorium block fixes
* alu ingot fix
* iridium ore fix
* gt vanilla assembling fixes
* ic2 assembler recipe fix
* forestry assembler recipe fixes
* spotless
* electrolyzer
* more iridium ore fixes
* another ichorium block fix
* obsidian stick fix
* remove unused railcraft obsidian recipes
* remove disabled melon recipe
* bring custom plasma fuel values to code
* spotless
* remove most recipe config uses
* fully remove recipe.cfg
* dont change recipemapbackend for now
Diffstat (limited to 'src/main/java/gregtech/loaders/oreprocessing/ProcessingLog.java')
-rw-r--r-- | src/main/java/gregtech/loaders/oreprocessing/ProcessingLog.java | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingLog.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingLog.java index 7d36af7de3..737ef4682a 100644 --- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingLog.java +++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingLog.java @@ -16,8 +16,6 @@ import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import gregtech.GT_Mod; -import gregtech.api.GregTech_API; -import gregtech.api.enums.ConfigCategories; import gregtech.api.enums.GT_Values; import gregtech.api.enums.ItemList; import gregtech.api.enums.Materials; @@ -129,20 +127,14 @@ public class ProcessingLog implements gregtech.api.interfaces.IOreRecipeRegistra GT_ModHandler.getSmeltingOutput(GT_Utility.copyAmount(1, aStack), false, null), new ItemStack(Items.coal, 1, 1)))) { addPyrolyeOvenRecipes(aStack); - if (GregTech_API.sRecipeFile - .get(ConfigCategories.Recipes.disabledrecipes, "wood2charcoalsmelting", true)) { - GT_ModHandler.removeFurnaceSmelting(GT_Utility.copyAmount(1, aStack)); - } + GT_ModHandler.removeFurnaceSmelting(GT_Utility.copyAmount(1, aStack)); } for (int i = 0; i < 32767; i++) { if ((GT_Utility.areStacksEqual( GT_ModHandler.getSmeltingOutput(new ItemStack(aStack.getItem(), 1, i), false, null), new ItemStack(Items.coal, 1, 1)))) { addPyrolyeOvenRecipes(aStack); - if (GregTech_API.sRecipeFile - .get(ConfigCategories.Recipes.disabledrecipes, "wood2charcoalsmelting", true)) { - GT_ModHandler.removeFurnaceSmelting(new ItemStack(aStack.getItem(), 1, i)); - } + GT_ModHandler.removeFurnaceSmelting(new ItemStack(aStack.getItem(), 1, i)); } ItemStack tStack = GT_ModHandler.getRecipeOutput(new ItemStack(aStack.getItem(), 1, i)); if (tStack == null) { @@ -219,10 +211,7 @@ public class ProcessingLog implements gregtech.api.interfaces.IOreRecipeRegistra GT_ModHandler.getSmeltingOutput(GT_Utility.copyAmount(1, aStack), false, null), new ItemStack(Items.coal, 1, 1)))) { addPyrolyeOvenRecipes(aStack); - if (GregTech_API.sRecipeFile - .get(ConfigCategories.Recipes.disabledrecipes, "wood2charcoalsmelting", true)) { - GT_ModHandler.removeFurnaceSmelting(GT_Utility.copyAmount(1, aStack)); - } + GT_ModHandler.removeFurnaceSmelting(GT_Utility.copyAmount(1, aStack)); } ItemStack tStack = GT_ModHandler.getRecipeOutput(GT_Utility.copyAmount(1, aStack)); if (tStack != null) { @@ -293,8 +282,7 @@ public class ProcessingLog implements gregtech.api.interfaces.IOreRecipeRegistra GT_ModHandler.getSmeltingOutput(GT_Utility.copyAmount(1, aStack), false, null), new ItemStack(Items.coal, 1, 1)))) { addPyrolyeOvenRecipes(aStack); - if (GregTech_API.sRecipeFile.get(ConfigCategories.Recipes.disabledrecipes, "wood2charcoalsmelting", true)) - GT_ModHandler.removeFurnaceSmelting(GT_Utility.copyAmount(1, aStack)); + GT_ModHandler.removeFurnaceSmelting(GT_Utility.copyAmount(1, aStack)); } } |