aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
diff options
context:
space:
mode:
authorJakub <53441451+kuba6000@users.noreply.github.com>2022-08-29 16:04:28 +0200
committerGitHub <noreply@github.com>2022-08-29 16:04:28 +0200
commit7d1f51a8937e0a86486267437d444696e81e8aa0 (patch)
treea5b145e7271998f7b4b968a2212ed487e54a92b5 /src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
parent5267969156d30b4bb5f4cb2279ebb49db6bd40e2 (diff)
downloadGT5-Unofficial-7d1f51a8937e0a86486267437d444696e81e8aa0.tar.gz
GT5-Unofficial-7d1f51a8937e0a86486267437d444696e81e8aa0.tar.bz2
GT5-Unofficial-7d1f51a8937e0a86486267437d444696e81e8aa0.zip
Buildscript + Spotless (#318)
* Convert AES.java to readable class * Buildscript * Spotless
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java81
1 files changed, 37 insertions, 44 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
index 99e3d5c4d9..271e29d654 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
@@ -1,7 +1,7 @@
package gtPlusPlus.xmod.gregtech.recipes;
-import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GTPP_Recipe;
+import gregtech.api.util.GT_Recipe;
import gtPlusPlus.api.objects.Logger;
import gtPlusPlus.core.material.Material;
import gtPlusPlus.core.material.ORES;
@@ -11,47 +11,40 @@ 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
- };
-
-
-
-
-
-
-
- }
-
- }
-
+ 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};
+ }
+ }
}