aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/recipes
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-04-17 11:33:21 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-04-17 11:33:21 +1000
commit144cd9c09a2dab9461a61b8bfe4d5f4165030e54 (patch)
tree582ed404f877eae4e5dbaf28285cd5d88da9f86f /src/Java/gtPlusPlus/xmod/gregtech/recipes
parent95747970ad7d142a2a981119bdfafca5ab5b27d2 (diff)
downloadGT5-Unofficial-144cd9c09a2dab9461a61b8bfe4d5f4165030e54.tar.gz
GT5-Unofficial-144cd9c09a2dab9461a61b8bfe4d5f4165030e54.tar.bz2
GT5-Unofficial-144cd9c09a2dab9461a61b8bfe4d5f4165030e54.zip
+ Added new sifting recipe for Rare Earth, allowing more lanthanides to be obtained.
- Removed Rare Earth centrifuge recipe. $ Corrected the spelling of Aluminium and Caesium.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/recipes')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java b/src/Java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
new file mode 100644
index 0000000000..5fae1e0b52
--- /dev/null
+++ b/src/Java/gtPlusPlus/xmod/gregtech/recipes/RecipesToRemove.java
@@ -0,0 +1,22 @@
+package gtPlusPlus.xmod.gregtech.recipes;
+
+import gregtech.api.util.GT_Recipe;
+import gtPlusPlus.core.util.minecraft.ItemUtils;
+import net.minecraft.item.ItemStack;
+import net.minecraftforge.fluids.FluidStack;
+
+public class RecipesToRemove {
+
+ public static void go() {
+
+ //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) {
+ GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.mRecipeList.remove(null);
+ }
+
+ }
+
+}