aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
diff options
context:
space:
mode:
authoriouter <62897714+iouter@users.noreply.github.com>2022-01-07 12:36:06 +0800
committerGitHub <noreply@github.com>2022-01-07 12:36:06 +0800
commit0834d4b8b45a881f36ed5b295ac0fb38df49fa9a (patch)
tree6fb4a45cf17dd22748148417bc7bb0efb850cea3 /src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
parentea1439a4195c8f77c45625ea2593a232bf19984e (diff)
parent9b2e050151ad93170e84321d067d1e9d4ded4ba5 (diff)
downloadGT5-Unofficial-0834d4b8b45a881f36ed5b295ac0fb38df49fa9a.tar.gz
GT5-Unofficial-0834d4b8b45a881f36ed5b295ac0fb38df49fa9a.tar.bz2
GT5-Unofficial-0834d4b8b45a881f36ed5b295ac0fb38df49fa9a.zip
Merge branch 'GTNewHorizons:master' into master
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
new file mode 100644
index 0000000000..99e3d5c4d9
--- /dev/null
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
@@ -0,0 +1,57 @@
+package gtPlusPlus.xmod.gregtech.recipes;
+
+import gregtech.api.util.GT_Recipe;
+import gregtech.api.util.GTPP_Recipe;
+import gtPlusPlus.api.objects.Logger;
+import gtPlusPlus.core.material.Material;
+import gtPlusPlus.core.material.ORES;
+import gtPlusPlus.core.util.minecraft.ItemUtils;
+import net.minecraft.item.ItemStack;
+import net.minecraftforge.fluids.FluidStack;
+
+public class RecipesToRemove {
+
+ public static void go() {
+
+ Logger.INFO("Processing Gregtech recipe maps, removing recipes to suit GT++.");
+
+ //Remove Rare Earth Centrifuging
+ //1 Rare Earth Dust - 25% chance for small piles of: neodymium, yttrium, lanthanum, cerium, cadmium, and caesium
+ //Replaced by advanced sifting recipe.
+ GT_Recipe aRareEarthCentrifuging = GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.findRecipe(null, false, 20, new FluidStack[] {}, new ItemStack[] {ItemUtils.getItemStackOfAmountFromOreDict("dustRareEarth", 1)});
+ if (aRareEarthCentrifuging != null && aRareEarthCentrifuging.mEnabled) {
+ aRareEarthCentrifuging.mEnabled = false;
+ aRareEarthCentrifuging.mHidden = true;
+ GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.mRecipeList.remove(aRareEarthCentrifuging);
+ //GTPP_Recipe.GT_Recipe_Map_LargeCentrifuge.sMultiblockCentrifugeRecipes.mRecipeList.remove(aRareEarthCentrifuging);
+ GTPP_Recipe.GTPP_Recipe_Map.sMultiblockCentrifugeRecipes_GT.mRecipeList.remove(aRareEarthCentrifuging);
+ Logger.INFO("Removed vanilla GT Rare Earth processing.");
+ //Set the Chemical Symbol for Rare Earth now that we are giving it custom outputs
+ //Best not to set this unless the original recipe is removed.
+ /*Materials.RareEarth.mChemicalFormula = "("
+ +ELEMENT.getInstance().YTTRIUM.vChemicalSymbol
+ +ELEMENT.getInstance().NEODYMIUM.vChemicalSymbol
+ +ELEMENT.getInstance().LANTHANUM.vChemicalSymbol
+ +ELEMENT.getInstance().CERIUM.vChemicalSymbol
+ +ELEMENT.getInstance().CADMIUM.vChemicalSymbol
+ +ELEMENT.getInstance().CAESIUM.vChemicalSymbol
+ +ELEMENT.getInstance().YTTERBIUM.vChemicalSymbol
+ +ELEMENT.getInstance().SAMARIUM.vChemicalSymbol
+ +ELEMENT.getInstance().GADOLINIUM.vChemicalSymbol+
+ ")";*/
+
+ Material[] aLowTierOutputMaterials = new Material[] {
+ ORES.GREENOCKITE
+ };
+
+
+
+
+
+
+
+ }
+
+ }
+
+}