aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-07-26 17:03:04 +0900
committermiozune <miozune@gmail.com>2023-07-26 17:03:04 +0900
commite81f60321643b05dd11ae8671d6d288467b274c1 (patch)
treeae2c9cef960150724aca3b568c3bdaf7ed80f448 /src/main
parent531df09558d0af89cd90560a77c1b27de67927d5 (diff)
downloadGT5-Unofficial-e81f60321643b05dd11ae8671d6d288467b274c1.tar.gz
GT5-Unofficial-e81f60321643b05dd11ae8671d6d288467b274c1.tar.bz2
GT5-Unofficial-e81f60321643b05dd11ae8671d6d288467b274c1.zip
Remove reference to sByProductList
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java b/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
index f21b23b738..67dbbc3fbe 100644
--- a/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
+++ b/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
@@ -1619,39 +1619,6 @@ public class RecipeLoader {
GT_Log.out.print("Chemical Bath done!\n");
- // For ByProduct List
- for (GT_Recipe recipe : GT_Recipe.GT_Recipe_Map.sByProductList.mRecipeList) {
- ItemStack input = recipe.mInputs[0];
- if (GT_Utility.isStackValid(input)) {
- int[] oreDict = OreDictionary.getOreIDs(input);
- for (int oreDictID : oreDict) {
- if (OreDictionary.getOreName(oreDictID).startsWith("ore")
- && OreDictionary.getOreName(oreDictID).contains("Cerium")) {
- GT_Recipe tRecipe = recipe.copy();
- for (int i = 0; i < tRecipe.mOutputs.length; i++) {
- if (!GT_Utility.isStackValid(tRecipe.mOutputs[i])) continue;
- if (tRecipe.mOutputs[i].isItemEqual(Materials.Cerium.getDust(1))) {
- remove.add(tRecipe);
- } else if (tRecipe.mOutputs[i].isItemEqual(Materials.Samarium.getDust(1))) {
- remove.add(tRecipe);
- }
- }
- break;
- }
- }
- }
- }
- GT_Recipe.GT_Recipe_Map.sByProductList.mRecipeList.removeAll(remove);
- GT_Recipe.GT_Recipe_Map.sByProductList.mRecipeList.addAll(reAdd);
- GT_Recipe.GT_Recipe_Map.sByProductList.reInit();
-
- GT_Log.out.print(Tags.MODID + ": Replace " + remove.size() + "! ");
-
- remove.clear();
- reAdd.clear();
-
- GT_Log.out.print("ByProduct List done!\n");
-
// For Cauldron Wash
registerCauldronCleaningFor(Materials.Cerium, WerkstoffMaterialPool.CeriumRichMixture.getBridgeMaterial());
registerCauldronCleaningFor(