aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-12-18 16:52:15 +0900
committerGitHub <noreply@github.com>2023-12-18 16:52:15 +0900
commitf1204f8dccdf372a2f1f2a0bc37bc00a56624931 (patch)
tree6c7e25ce1df5bb5d92a92430f50ffdeea8a40cb8 /src
parentf4da6962d11f8ed3919ddc39f25721921fb902cf (diff)
downloadGT5-Unofficial-f1204f8dccdf372a2f1f2a0bc37bc00a56624931.tar.gz
GT5-Unofficial-f1204f8dccdf372a2f1f2a0bc37bc00a56624931.tar.bz2
GT5-Unofficial-f1204f8dccdf372a2f1f2a0bc37bc00a56624931.zip
Remove now unneeded IMC handler (#78)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java2
-rw-r--r--src/main/java/com/elisis/gtnhlanth/xmod/nei/IMC.java37
2 files changed, 0 insertions, 39 deletions
diff --git a/src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java b/src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java
index 36a34f172a..b4c2f678d8 100644
--- a/src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java
+++ b/src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java
@@ -11,7 +11,6 @@ import com.elisis.gtnhlanth.common.register.LanthItemList;
import com.elisis.gtnhlanth.common.register.WerkstoffMaterialPool;
import com.elisis.gtnhlanth.loader.BotRecipes;
import com.elisis.gtnhlanth.loader.RecipeLoader;
-import com.elisis.gtnhlanth.xmod.nei.IMC;
import com.github.bartimaeusnek.bartworks.API.WerkstoffAdderRegistry;
import com.github.bartimaeusnek.bartworks.system.material.Werkstoff;
@@ -58,7 +57,6 @@ public class GTNHLanthanides {
public static void init(FMLInitializationEvent e) {
proxy.init(e);
WerkstoffMaterialPool.runInit();
- IMC.IMCSender();
}
@EventHandler
diff --git a/src/main/java/com/elisis/gtnhlanth/xmod/nei/IMC.java b/src/main/java/com/elisis/gtnhlanth/xmod/nei/IMC.java
deleted file mode 100644
index fab9ff9d65..0000000000
--- a/src/main/java/com/elisis/gtnhlanth/xmod/nei/IMC.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package com.elisis.gtnhlanth.xmod.nei;
-
-import net.minecraft.nbt.NBTTagCompound;
-
-import cpw.mods.fml.common.event.FMLInterModComms;
-
-public class IMC {
-
- public static void IMCSender() {
- sendHandler("gtnhlanth.recipe.digester", "gregtech:gt.blockmachines:10500");
- sendHandler("gtnhlanth.recipe.disstank", "gregtech:gt.blockmachines:10501");
-
- sendCatalyst("gtnhlanth.recipe.digester", "gregtech:gt.blockmachines:10500");
- sendCatalyst("gtnhlanth.recipe.disstank", "gregtech:gt.blockmachines:10501");
- }
-
- private static void sendHandler(String aName, String aBlock) {
- NBTTagCompound aNBT = new NBTTagCompound();
- aNBT.setString("handler", aName);
- aNBT.setString("modName", "GTNH: Lanthanides");
- aNBT.setString("modId", "gtnhlanth");
- aNBT.setBoolean("modRequired", true);
- aNBT.setString("itemName", aBlock);
- aNBT.setInteger("handlerHeight", 135);
- aNBT.setInteger("handlerWidth", 166);
- aNBT.setInteger("maxRecipesPerPage", 1);
- aNBT.setInteger("yShift", 6);
- FMLInterModComms.sendMessage("NotEnoughItems", "registerHandlerInfo", aNBT);
- }
-
- private static void sendCatalyst(String aName, String aStack) {
- NBTTagCompound aNBT = new NBTTagCompound();
- aNBT.setString("handlerID", aName);
- aNBT.setString("itemName", aStack);
- FMLInterModComms.sendMessage("NotEnoughItems", "registerCatalystInfo", aNBT);
- }
-}