aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/goodgenerator/crossmod
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-12-04 08:11:34 +0900
committerGitHub <noreply@github.com>2023-12-04 00:11:34 +0100
commit981df39ed10c780e38d91503de42dcd46c2e47e4 (patch)
tree13591ba87d0eb3bff575a405a3cd25360d3dd961 /src/main/java/goodgenerator/crossmod
parentc8fc878cd693b454d500f1cae611a363b59914ea (diff)
downloadGT5-Unofficial-981df39ed10c780e38d91503de42dcd46c2e47e4.tar.gz
GT5-Unofficial-981df39ed10c780e38d91503de42dcd46c2e47e4.tar.bz2
GT5-Unofficial-981df39ed10c780e38d91503de42dcd46c2e47e4.zip
Migrate to new RecipeMap (#219)
* Migrate GG recipemaps * Migrate the rest * Split classes, renames, more adapt to GT changes * Update GT to adapt to MaceratorBackend removal * update gradle+deps+bs --------- Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: BlueWeabo <ilia.iliev2005@gmail.com>
Diffstat (limited to 'src/main/java/goodgenerator/crossmod')
-rw-r--r--src/main/java/goodgenerator/crossmod/nei/IMCForNEI.java62
1 files changed, 0 insertions, 62 deletions
diff --git a/src/main/java/goodgenerator/crossmod/nei/IMCForNEI.java b/src/main/java/goodgenerator/crossmod/nei/IMCForNEI.java
deleted file mode 100644
index 863e18fe92..0000000000
--- a/src/main/java/goodgenerator/crossmod/nei/IMCForNEI.java
+++ /dev/null
@@ -1,62 +0,0 @@
-package goodgenerator.crossmod.nei;
-
-import net.minecraft.nbt.NBTTagCompound;
-
-import cpw.mods.fml.common.event.FMLInterModComms;
-import goodgenerator.crossmod.LoadedList;
-
-public class IMCForNEI {
-
- public static void IMCSender() {
- sendHandler("gg.recipe.neutron_activator", "gregtech:gt.blockmachines:32013");
- sendCatalyst("gg.recipe.neutron_activator", "gregtech:gt.blockmachines:32013");
-
- sendHandler("gg.recipe.extreme_heat_exchanger", "gregtech:gt.blockmachines:32017");
- sendCatalyst("gg.recipe.extreme_heat_exchanger", "gregtech:gt.blockmachines:32017");
-
- sendHandler("gg.recipe.precise_assembler", "gregtech:gt.blockmachines:32018");
- sendCatalyst("gg.recipe.precise_assembler", "gregtech:gt.blockmachines:32018");
- sendCatalyst("gt.recipe.assembler", "gregtech:gt.blockmachines:32018");
-
- sendCatalyst("gt.recipe.fusionreactor", "gregtech:gt.blockmachines:32019", -10);
- sendCatalyst("gt.recipe.fusionreactor", "gregtech:gt.blockmachines:32020", -10);
- sendCatalyst("gt.recipe.fusionreactor", "gregtech:gt.blockmachines:32021", -10);
- if (LoadedList.GTPP) {
- sendCatalyst("gt.recipe.fusionreactor", "gregtech:gt.blockmachines:32022", -10);
- sendCatalyst("gt.recipe.fusionreactor", "gregtech:gt.blockmachines:32023", -10);
- }
-
- sendHandler("gg.recipe.componentassemblyline", "gregtech:gt.blockmachines:32026", 2);
- sendCatalyst("gg.recipe.componentassemblyline", "gregtech:gt.blockmachines:32026");
- }
-
- private static void sendHandler(String aName, String aBlock) {
- sendHandler(aName, aBlock, 1);
- }
-
- private static void sendHandler(String aName, String aBlock, int maxRecipesPerPage) {
- NBTTagCompound aNBT = new NBTTagCompound();
- aNBT.setString("handler", aName);
- aNBT.setString("modName", "Good Generator");
- aNBT.setString("modId", "GoodGenerator");
- aNBT.setBoolean("modRequired", true);
- aNBT.setString("itemName", aBlock);
- aNBT.setInteger("handlerHeight", 135);
- aNBT.setInteger("handlerWidth", 166);
- aNBT.setInteger("maxRecipesPerPage", maxRecipesPerPage);
- aNBT.setInteger("yShift", 6);
- FMLInterModComms.sendMessage("NotEnoughItems", "registerHandlerInfo", aNBT);
- }
-
- private static void sendCatalyst(String aName, String aStack, int aPriority) {
- NBTTagCompound aNBT = new NBTTagCompound();
- aNBT.setString("handlerID", aName);
- aNBT.setString("itemName", aStack);
- aNBT.setInteger("priority", aPriority);
- FMLInterModComms.sendMessage("NotEnoughItems", "registerCatalystInfo", aNBT);
- }
-
- private static void sendCatalyst(String aName, String aStack) {
- sendCatalyst(aName, aStack, 0);
- }
-}