Remove (very) outdated IC2-centered recipes/research

This commit is contained in:
Armisael committed 2026-11-28 01:34:04 -05:00
1 parent 1fa6321ea3
commit 8db2b1af93
11 files changed
-246

No files matched your search

@@ -21,9 +21,7 @@ import emt.util.EMTCraftingAspects;
import gregtech.api.enums.Circuits;
import gregtech.api.enums.GTValues;
import gregtech.api.enums.ItemList;
import gregtech.api.enums.StoneType;
import gregtech.api.enums.TierEU;
import gregtech.api.enums.materials.OreShapes;
import gregtech.api.enums.materials.Shapes;
import ic2.api.item.IC2Items;
import thaumcraft.api.aspects.Aspect;
@@ -32,14 +30,6 @@ import thaumcraft.common.config.ConfigItems;
public class EMT_GT_Loader {
public static ItemStack stoneOre(Material material, int amount) {
return MaterialLibAPI.getStack(material, OreShapes.ore, OreShapes.variantOf(StoneType.Stone.name()), amount);
}
public static ItemStack crushedOre(Material material, int amount) {
return MaterialLibAPI.getStack(material, Shapes.crushed, amount);
}
public static ItemStack plate(Material material, int amount) {
return MaterialLibAPI.getStack(material, Shapes.plate, amount);
}
-182
View File
@@ -25,7 +25,6 @@ import ic2.api.recipe.IRecipeInput;
import ic2.api.recipe.RecipeInputItemStack;
import ic2.api.recipe.Recipes;
import ic2.core.BasicMachineRecipeManager;
import ic2.core.Ic2Items;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.AspectList;
import thaumcraft.api.crafting.CrucibleRecipe;
@@ -38,7 +37,6 @@ import thaumcraft.common.config.ConfigItems;
public class EMTRecipes {
public static ItemStack uuMCell = new ItemStack(EMTItems.itemEMTItems, 1, 15);
public static IRecipe ironOmnitool;
public static IRecipe diamondChainsaw;
public static IRecipe ductTape;
@@ -48,20 +46,6 @@ public class EMTRecipes {
public static IRecipe featherWing;
public static IRecipe featherWings;
public static IRecipe taintedFeathers;
public static InfusionRecipe uraniumToIridium;
public static InfusionRecipe diamondToUranium;
public static InfusionRecipe goldToDiamond;
public static InfusionRecipe ironToGold;
public static InfusionRecipe stoneBricksToIronOre;
public static InfusionRecipe arcaneStoneToCopperOre;
public static InfusionRecipe arcaneStoneBricksToTinOre;
public static InfusionRecipe amberBlockToLeadOre;
public static InfusionRecipe amberBricksToUraniumOre;
public static InfusionRecipe charcoalToCoal;
public static InfusionRecipe shardToResin;
public static InfusionRecipe shardToRedstone;
public static InfusionRecipe shardToLapis;
public static InfusionRecipe glowstoneDustToBlock;
public static InfusionRecipe infusedQuantumArmor;
public static InfusionRecipe thaumiumDrill;
public static InfusionRecipe thaumiumChainsaw;
@@ -128,7 +112,6 @@ public class EMTRecipes {
public static CrucibleRecipe doubleEarthSolar;
public static CrucibleRecipe tripleEarthSolar;
public static CrucibleRecipe portableNode;
public static CrucibleRecipe uuMCrystal;
public static IRecipe thaumiumPlate;
/// The thaumium plate EMT's recipes consume: MaterialLib's under GregTech compatibility, else EMT's own.
@@ -268,159 +251,6 @@ public class EMTRecipes {
registerSmeltingRecipes();
}
public static void registerUUMInfusionRecipes() {
ItemStack iridium = IC2Items.getItem("iridiumOre").copy();
iridium.stackSize = 2;
uraniumToIridium = addInfusionCraftingRecipe(
"UU-Matter Infusion",
iridium,
4,
EMTCraftingAspects.uuMatterInfusions,
IC2Items.getItem("Uran238"),
new ItemStack[] { uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell,
uuMCell, uuMCell, uuMCell });
ItemStack uranium = IC2Items.getItem("Uran238").copy();
uranium.stackSize = 2;
diamondToUranium = addInfusionCraftingRecipe(
"UU-Matter Infusion",
uranium,
4,
EMTCraftingAspects.lesserUUMInfusions,
new ItemStack(Items.diamond),
new ItemStack[] { uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell });
ItemStack diamond = new ItemStack(Items.diamond).copy();
diamond.stackSize = 1;
goldToDiamond = addInfusionCraftingRecipe(
"UU-Matter Infusion",
diamond,
4,
EMTCraftingAspects.cheapUUMInfusions,
new ItemStack(Items.gold_ingot),
new ItemStack[] { uuMCell, uuMCell, uuMCell, uuMCell });
ItemStack gold = new ItemStack(Items.gold_ingot).copy();
gold.stackSize = 2;
ironToGold = addInfusionCraftingRecipe(
"UU-Matter Infusion",
gold,
4,
EMTCraftingAspects.cheapestUUMInfusions,
new ItemStack(Items.iron_ingot),
new ItemStack[] { uuMCell, uuMCell, uuMCell });
ItemStack ironOre = Registry.enableGTCompat ? EMT_GT_Loader.stoneOre(Materials.Iron, 16)
: new ItemStack(Blocks.iron_ore, 16);
stoneBricksToIronOre = addInfusionCraftingRecipe(
"UU-Matter Infusion",
ironOre,
4,
EMTCraftingAspects.cheapUUMInfusions,
new ItemStack(Blocks.stonebrick),
new ItemStack[] { uuMCell, uuMCell });
/**
* ItemStack copperOre = Items.getItem("copperOre").copy(); BUGGED IN 1.6 IF IC2 OREGEN IS DISABLED
**/
ItemStack copperOre = Registry.enableGTCompat ? EMT_GT_Loader.crushedOre(Materials.Copper, 32)
: withSize(IC2Items.getItem("crushedCopperOre"), 32);
arcaneStoneToCopperOre = addInfusionCraftingRecipe(
"UU-Matter Infusion",
copperOre,
4,
EMTCraftingAspects.cheapUUMInfusions,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 6),
new ItemStack[] { uuMCell, uuMCell });
/**
* ItemStack tinOre = Items.getItem("tinOre").copy(); BUGGED IN 1.6 IF IC2 OREGEN IS DISABLED
**/
ItemStack tinOre = Registry.enableGTCompat ? EMT_GT_Loader.crushedOre(Materials.Tin, 32)
: withSize(IC2Items.getItem("crushedTinOre"), 32);
arcaneStoneBricksToTinOre = addInfusionCraftingRecipe(
"UU-Matter Infusion",
tinOre,
4,
EMTCraftingAspects.cheapUUMInfusions,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 7),
new ItemStack[] { uuMCell, uuMCell });
/**
* ItemStack leadOre = Items.getItem("leadOre").copy(); BUGGED IN 1.6 IF IC2 OREGEN IS DISABLED
**/
ItemStack leadOre = Registry.enableGTCompat ? EMT_GT_Loader.crushedOre(Materials.Lead, 32)
: withSize(IC2Items.getItem("crushedLeadOre"), 32);
amberBlockToLeadOre = addInfusionCraftingRecipe(
"UU-Matter Infusion",
leadOre,
4,
EMTCraftingAspects.cheapUUMInfusions,
new ItemStack(ConfigBlocks.blockCosmeticOpaque, 1, 0),
new ItemStack[] { uuMCell, uuMCell });
ItemStack uraniumOre = Registry.enableGTCompat ? EMT_GT_Loader.stoneOre(Materials.Uranium, 8)
: withSize(IC2Items.getItem("uraniumOre"), 8);
amberBricksToUraniumOre = addInfusionCraftingRecipe(
"UU-Matter Infusion",
uraniumOre,
4,
EMTCraftingAspects.lesserUUMInfusions,
new ItemStack(ConfigBlocks.blockCosmeticOpaque, 1, 1),
new ItemStack[] { uuMCell, uuMCell, uuMCell });
ItemStack coal = new ItemStack(Items.coal, 1, 0).copy();
coal.stackSize = 16;
charcoalToCoal = addInfusionCraftingRecipe(
"UU-Matter Infusion",
coal,
4,
EMTCraftingAspects.cheapUUMInfusions,
new ItemStack(Items.coal, 1, 1),
new ItemStack[] { uuMCell, uuMCell });
ItemStack stickyResin = IC2Items.getItem("resin").copy();
stickyResin.stackSize = 21;
shardToResin = addInfusionCraftingRecipe(
"UU-Matter Infusion",
stickyResin,
4,
EMTCraftingAspects.cheapUUMInfusions,
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE),
new ItemStack[] { uuMCell, uuMCell, uuMCell });
ItemStack redstone = new ItemStack(Items.redstone).copy();
redstone.stackSize = 24;
shardToRedstone = addInfusionCraftingRecipe(
"UU-Matter Infusion",
redstone,
4,
EMTCraftingAspects.cheapUUMInfusions,
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE),
new ItemStack[] { uuMCell, uuMCell, uuMCell });
ItemStack lapisLazuli = new ItemStack(Items.dye, 1, 4).copy();
lapisLazuli.stackSize = 8;
shardToLapis = addInfusionCraftingRecipe(
"UU-Matter Infusion",
lapisLazuli,
4,
EMTCraftingAspects.cheapUUMInfusions,
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE),
new ItemStack[] { uuMCell, uuMCell, uuMCell });
ItemStack glowstone = new ItemStack(Blocks.glowstone).copy();
glowstone.stackSize = 1;
glowstoneDustToBlock = addInfusionCraftingRecipe(
"UU-Matter Infusion",
glowstone,
4,
EMTCraftingAspects.cheapestUUMInfusions,
new ItemStack(Items.glowstone_dust),
new ItemStack[] { uuMCell });
}
public static void registerLateRecipes() {
/** Infusion Recipes **/
lucrumGenerator = addInfusionCraftingRecipe(
@@ -1051,12 +881,6 @@ public class EMTRecipes {
itemStack,
EMTCraftingAspects.portableNode);
uuMCrystal = addCrucibleRecipe(
"UU-Matter Infusion",
new ItemStack(EMTItems.itemEMTItems, 1, 15),
Ic2Items.uuMatterCell.copy(),
EMTCraftingAspects.uuMatterCrystal);
/** IC2 Stuff related recipes **/
final boolean isDreamcraftNotLoaded = !Loader.isModLoaded("dreamcraft");
@@ -1199,10 +1023,4 @@ public class EMTRecipes {
new ItemStack(ConfigItems.itemResource, 1, 3));
}
}
private static ItemStack withSize(ItemStack stack, int size) {
ItemStack copy = stack.copy();
copy.stackSize = size;
return copy;
}
}
-27
View File
@@ -554,33 +554,6 @@ public class EMTResearches {
}
}
if (!EMTConfigHandler.uuMInfusionResearch) {
new EMTResearchItem(
"UU-Matter Infusion",
EMTResearchAspects.uuMInfusion,
5,
5,
3,
new ItemStack(EMTItems.itemEMTItems, 1, 15)).setParentsHidden("Electric Magic Tools").setConcealed()
.registerResearchItem().setPages(
new ResearchPage(""),
new ResearchPage(EMTRecipes.uuMCrystal),
new ResearchPage(EMTRecipes.charcoalToCoal),
new ResearchPage(EMTRecipes.glowstoneDustToBlock),
new ResearchPage(EMTRecipes.stoneBricksToIronOre),
new ResearchPage(EMTRecipes.arcaneStoneToCopperOre),
new ResearchPage(EMTRecipes.arcaneStoneBricksToTinOre),
new ResearchPage(EMTRecipes.amberBlockToLeadOre),
new ResearchPage(EMTRecipes.amberBricksToUraniumOre),
new ResearchPage(EMTRecipes.shardToResin),
new ResearchPage(EMTRecipes.shardToRedstone),
new ResearchPage(EMTRecipes.shardToLapis),
new ResearchPage(EMTRecipes.ironToGold),
new ResearchPage(EMTRecipes.goldToDiamond),
new ResearchPage(EMTRecipes.diamondToUranium),
new ResearchPage(EMTRecipes.uraniumToIridium));
}
if (!EMTConfigHandler.portableNodeResarch) {
new EMTResearchItem(
"Portable Node",
-1
View File
@@ -28,7 +28,6 @@ public class Registry {
}
EMTRecipes.registerLateRecipes();
// new EMT_GTNH_Recipes_And_Researches().run();
EMTRecipes.registerUUMInfusionRecipes();
EMTResearches.register();
if (enableGTCompat) {
Solars.registerReverseRecipes();
@@ -134,7 +134,6 @@ public class EMTConfigHandler {
public static boolean airSolarsResearch;
public static boolean earthSolarsResearch;
public static boolean saxumGenResearch;
public static boolean uuMInfusionResearch;
public static boolean portableNodeResarch;
public static boolean electricHoeGrowthResearch;
public static boolean chargeFocusResearch;
@@ -430,7 +429,6 @@ public class EMTConfigHandler {
airSolarsResearch = config.get(RESEARCH, "Air Solar Panels", false).getBoolean(airSolarsResearch);
earthSolarsResearch = config.get(RESEARCH, "Earth Solar Panels", false).getBoolean(earthSolarsResearch);
saxumGenResearch = config.get(RESEARCH, "Saxum Generator", false).getBoolean(saxumGenResearch);
uuMInfusionResearch = config.get(RESEARCH, "UU-Mater Infusion", false).getBoolean(uuMInfusionResearch);
portableNodeResarch = config.get(RESEARCH, "Portable Node", false).getBoolean(portableNodeResarch);
electricHoeGrowthResearch = config.get(RESEARCH, "Electric Hoe of Growth", false)
.getBoolean(electricHoeGrowthResearch);
@@ -67,14 +67,6 @@ public class EMTCraftingAspects {
.add(Aspect.EXCHANGE, 16);
public static AspectList earthSolars = new AspectList().add(Aspect.EARTH, 16).add(Aspect.MAGIC, 16)
.add(Aspect.EXCHANGE, 16);
public static AspectList uuMatterInfusions = new AspectList().add(Aspect.FIRE, 32).add(Aspect.WATER, 32)
.add(Aspect.AIR, 32).add(Aspect.EARTH, 32).add(Aspect.ORDER, 32).add(Aspect.ENTROPY, 32);
public static AspectList lesserUUMInfusions = new AspectList().add(Aspect.FIRE, 16).add(Aspect.WATER, 16)
.add(Aspect.AIR, 16).add(Aspect.EARTH, 16).add(Aspect.ORDER, 16).add(Aspect.ENTROPY, 16);
public static AspectList cheapUUMInfusions = new AspectList().add(Aspect.FIRE, 8).add(Aspect.WATER, 8)
.add(Aspect.AIR, 8).add(Aspect.EARTH, 8).add(Aspect.ORDER, 8).add(Aspect.ENTROPY, 8);
public static AspectList cheapestUUMInfusions = new AspectList().add(Aspect.FIRE, 4).add(Aspect.WATER, 4)
.add(Aspect.AIR, 4).add(Aspect.EARTH, 4).add(Aspect.ORDER, 4).add(Aspect.ENTROPY, 4);
public static AspectList portableNode = new AspectList().add(Aspect.MAGIC, 32).add(Aspect.AURA, 32)
.add(Aspect.GREED, 32);
public static AspectList electricHoeGrowth = new AspectList().add(Aspect.ENERGY, 32).add(Aspect.PLANT, 25)
@@ -96,6 +88,4 @@ public class EMTCraftingAspects {
public static AspectList quantumWing = new AspectList().add(Aspect.FLIGHT, 48).add(Aspect.AIR, 32)
.add(Aspect.MECHANISM, 48).add(Aspect.ENERGY, 32).add(Aspect.ARMOR, 48);
public static AspectList aerGenerator = new AspectList().add(Aspect.EXCHANGE, 16).add(Aspect.AIR, 8);
public static AspectList uuMatterCrystal = new AspectList().add(Aspect.CRYSTAL, 8).add(Aspect.COLD, 8)
.add(Aspect.MAGIC, 8);
}
@@ -73,8 +73,6 @@ public class EMTResearchAspects {
public static AspectList airSolars = new AspectList().add(Aspect.AIR, 4).add(Aspect.MAGIC, 3).add(Aspect.ENERGY, 4);
public static AspectList earthSolars = new AspectList().add(Aspect.EARTH, 4).add(Aspect.MAGIC, 3)
.add(Aspect.ENERGY, 4);
public static AspectList uuMInfusion = new AspectList().add(Aspect.ELDRITCH, 4).add(Aspect.MAGIC, 4)
.add(Aspect.CRAFT, 5);
public static AspectList portableNode = new AspectList().add(Aspect.MAGIC, 5).add(Aspect.AURA, 5)
.add(Aspect.GREED, 5);
public static AspectList electricHoeGrowth = new AspectList().add(Aspect.ENERGY, 4).add(Aspect.PLANT, 4)
@@ -321,9 +321,6 @@ emt.rsname.Earth Infused Solar Panels=Earth Infused Solar Panels
emt.tag.Earth Infused Solar Panels=Not for claustrophobic persons
emt.text.Earth Infused Solar Panels=You have decided to get closer to the core. These Solar Panels produce more energy under Y = 10, but keep in mind the rebellious spirits need to be able to see the sun to work.
emt.rsname.UU-Matter Infusion=UU-Matter Infusion
emt.tag.UU-Matter Infusion=A magically charged metamorphic liquid...
emt.text.UU-Matter Infusion=You have always found the powers possessed by UU-Mater very strange, even... magical looking, especially the ability to take a large number of shapes if manipulated correctly. And here you are, having discovered a way to shape the liquid through the process of Infusion Crafting. Many recipes are available, and all of them use between 4 to 32 of each primal aspect.
emt.rsname.Portable Node=Portable Node
emt.tag.Portable Node=Randomly convenient
@@ -376,9 +376,6 @@ emt.rsname.Earth Infused Solar Panels=Earth Infused Solar Panels
emt.tag.Earth Infused Solar Panels=Not for claustrophobic persons
emt.text.Earth Infused Solar Panels=You have decided to get closer to the core. These Solar Panels produce more energy under Y = 10, but keep in mind the rebellious spirits need to be able to see the sun to work.
emt.rsname.UU-Matter Infusion=UU-Matter Infusion
emt.tag.UU-Matter Infusion=A magically charged metamorphic liquid...
emt.text.UU-Matter Infusion=You have always found the powers possessed by UU-Matter very strange, even... magical looking, especially the ability to take a large number of shapes if manipulated correctly. And here you are, having discovered a way to shape the liquid through the process of Infusion Crafting. Many recipes are available, and all of them use between 4 to 32 of each primal aspect.
emt.rsname.Portable Node=Portable Node
emt.tag.Portable Node=Randomly convenient
@@ -363,9 +363,6 @@ emt.rsname.Earth Infused Solar Panels=Наполненная землёй, сж
emt.tag.Earth Infused Solar Panels=Не для людей, страдающих клаустрофобией
emt.text.Earth Infused Solar Panels=Вы решили приблизиться к ядру. Эти солнечные панели производят больше энергии, когда расположены под Y = 10, но имейте в виду, что непокорные духи должны видеть солнце, чтобы работать.
emt.rsname.UU-Matter Infusion=Наполнение материей
emt.tag.UU-Matter Infusion=Метаморфическая жидкость, заряженная магией...
emt.text.UU-Matter Infusion=Вы всегда догадывались, что материя обладает странной, и на вид... магической силой, особенно способностью принимать большое количество разных форм, при правильной манипуляции. И Вы, обнаружили способ сформировать жидкость через процесс наполнения. Стало доступно много рецептов и все они используют от 4 до 32 первичных аспектов.
emt.rsname.Portable Node=Переносной узел
emt.tag.Portable Node=Случайное удобство
@@ -358,9 +358,6 @@ emt.rsname.Earth Infused Solar Panels=注魔太阳能发电机(地)
emt.tag.Earth Infused Solar Panels=非幽闭症患者定制
emt.text.Earth Infused Solar Panels=你已决定向地心更进一步.这些太阳能在Y=10层以下的地方工作,但是记住它们仍需要在太阳的沐浴下才能工作.
emt.rsname.UU-Matter Infusion=UU物质注魔
emt.tag.UU-Matter Infusion=蕴含魔力的百变液体...
emt.text.UU-Matter Infusion=你总是觉得UU物质拥有的力量十分奇特,甚至...看起来像魔法般神奇,特别是大量种类的正确排列能合成物质.然后现在,你已发现了通过注魔合成塑造uu液体的方法.你能使用许多种合成,并且他们大都消耗4~32单位每种基础要素源质.
emt.rsname.Portable Node=便携式节点
emt.tag.Portable Node=处处实用