diff options
author | Mary <33456283+FourIsTheNumber@users.noreply.github.com> | 2024-08-27 17:52:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 21:52:06 +0000 |
commit | 00aea6dfa13e3945dc4f23d1fd8435c715aa3f94 (patch) | |
tree | e9ebbf164abff84d2fb1fbbbed7a727a0210ec4d /src/main/java/gregtech/api/util | |
parent | 55a6ac375cd21584aef3d38e4770d9961f2bddb3 (diff) | |
download | GT5-Unofficial-00aea6dfa13e3945dc4f23d1fd8435c715aa3f94.tar.gz GT5-Unofficial-00aea6dfa13e3945dc4f23d1fd8435c715aa3f94.tar.bz2 GT5-Unofficial-00aea6dfa13e3945dc4f23d1fd8435c715aa3f94.zip |
Remove IC2 recipe maps for good (#2971)
* Changed conflicting recipe in mass fabricator to a new circuit
* Added circuit 1 to assembler recipes for vanilla tools
* Removed redundant windmill shaft recipes in gt++. These are loaded in coremod already
* Remove redundant canner registration by bartworks
* IC2 thermal centrifuge recipes added to GT
* IC2 compressor recipes added to GT
* IC2 extractor recipes added to GT
* IC2 macerator recipes added to GT
* /cofh killall ic2 recipes
* Revert "Remove redundant canner registration by bartworks"
This reverts commit bb032ad728f147b82d67ea68e2df5c1ce5e3e149.
* Fixed typo in comment
---------
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/util')
-rw-r--r-- | src/main/java/gregtech/api/util/GT_ModHandler.java | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/util/GT_ModHandler.java b/src/main/java/gregtech/api/util/GT_ModHandler.java index dabdbbc56b..b5c7c6fb6e 100644 --- a/src/main/java/gregtech/api/util/GT_ModHandler.java +++ b/src/main/java/gregtech/api/util/GT_ModHandler.java @@ -559,8 +559,26 @@ public class GT_ModHandler { } /** - * Adds GT versions of the IC2 recipes from the supplied IC2RecipeList. + * Removes IC2 recipes. */ + public static void removeAllIC2Recipes() { + getMaceratorRecipeList().entrySet() + .clear(); + getCompressorRecipeList().entrySet() + .clear(); + getExtractorRecipeList().entrySet() + .clear(); + getOreWashingRecipeList().entrySet() + .clear(); + getThermalCentrifugeRecipeList().entrySet() + .clear(); + } + + /** + * Adds GT versions of the IC2 recipes from the supplied IC2RecipeList. Deprecated because all IC2 recipes + * have been manually added to GT. + */ + @Deprecated public static void addIC2RecipesToGT(Map<IRecipeInput, RecipeOutput> aIC2RecipeList, RecipeMap<?> aGTRecipeMap, boolean aAddGTRecipe, boolean aRemoveIC2Recipe, boolean aExcludeGTIC2Items) { Map<ItemStack, ItemStack> aRecipesToRemove = new HashMap<>(); |