From 19baaab852cfbbcbe1362a10028f9d5af9435f59 Mon Sep 17 00:00:00 2001 From: TheDarkDnKTv Date: Tue, 18 May 2021 10:05:02 +0300 Subject: [PATCH] Removal of electrotine --- .../loaders/postload/GT_CraftingRecipeLoader.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/gregtechmod/loaders/postload/GT_CraftingRecipeLoader.java b/src/main/java/gregtechmod/loaders/postload/GT_CraftingRecipeLoader.java index 6438caba..ad51b957 100644 --- a/src/main/java/gregtechmod/loaders/postload/GT_CraftingRecipeLoader.java +++ b/src/main/java/gregtechmod/loaders/postload/GT_CraftingRecipeLoader.java @@ -998,5 +998,10 @@ public void run() { ItemStack redstone = new ItemStack(Items.redstone), iron = new ItemStack(Items.iron_ingot); RecipeHandler.scheduleCraftingToRemove(new RecipeHandler.InventoryRecipeMatcher(false, redstone, redstone, redstone, redstone, iron, redstone, redstone, redstone, redstone)); } + + if (GregTech_API.sRecipeFile.get(GT_ConfigCategories.Recipes.disabledrecipes, "ProjectRed_ElectrotineCompound", true)) { + ItemStack electrotine = GT_OreDictUnificator.get(OrePrefixes.dust, Materials.Electrotine), iron = new ItemStack(Items.iron_ingot); + RecipeHandler.scheduleCraftingToRemove(new RecipeHandler.InventoryRecipeMatcher(false, electrotine, electrotine, electrotine, electrotine, iron, electrotine, electrotine, electrotine, electrotine)); + } } }