aboutsummaryrefslogtreecommitdiff
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
parentf4da6962d11f8ed3919ddc39f25721921fb902cf (diff)
downloadGT5-Unofficial-f1204f8dccdf372a2f1f2a0bc37bc00a56624931.tar.gz
GT5-Unofficial-f1204f8dccdf372a2f1f2a0bc37bc00a56624931.tar.bz2
GT5-Unofficial-f1204f8dccdf372a2f1f2a0bc37bc00a56624931.zip
Remove now unneeded IMC handler (#78)
-rw-r--r--build.gradle8
-rw-r--r--src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java2
-rw-r--r--src/main/java/com/elisis/gtnhlanth/xmod/nei/IMC.java37
3 files changed, 5 insertions, 42 deletions
diff --git a/build.gradle b/build.gradle
index 8507c7dfbd..50c3291c86 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,4 +1,4 @@
-//version: 1701530445
+//version: 1702141377
/*
DO NOT CHANGE THIS FILE!
Also, you may replace this file at any time if there is an update available.
@@ -54,7 +54,7 @@ plugins {
id 'com.diffplug.spotless' version '6.13.0' apply false // 6.13.0 is the last jvm8 supporting version
id 'com.modrinth.minotaur' version '2.+' apply false
id 'com.matthewprenger.cursegradle' version '1.4.0' apply false
- id 'com.gtnewhorizons.retrofuturagradle' version '1.3.24'
+ id 'com.gtnewhorizons.retrofuturagradle' version '1.3.26'
}
print("You might want to check out './gradlew :faq' if your build fails.\n")
@@ -613,7 +613,7 @@ repositories {
}
maven {
name = "ic2"
- url = getURL("https://maven.ic2.player.to/", "https://maven2.ic2.player.to/")
+ url = getURL("https://maven2.ic2.player.to/", "https://maven.ic2.player.to/")
content {
includeGroup "net.industrial-craft"
}
@@ -672,6 +672,8 @@ configurations.all {
substitute module('com.github.GTNewHorizons:SpongePoweredMixin') using module(mixinProviderSpecNoClassifer) withClassifier("dev") because("Unimixins replaces other mixin mods")
substitute module('com.github.GTNewHorizons:SpongeMixins') using module(mixinProviderSpecNoClassifer) withClassifier("dev") because("Unimixins replaces other mixin mods")
substitute module('io.github.legacymoddingmc:unimixins') using module(mixinProviderSpecNoClassifer) withClassifier("dev") because("Our previous unimixins upload was missing the dev classifier")
+
+ substitute module('org.scala-lang:scala-library:2.11.1') using module('org.scala-lang:scala-library:2.11.5') because('To allow mixing with Java 8 targets')
}
}
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);
- }
-}