aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/glease/ggfab/nei/IMCForNEI.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/glease/ggfab/nei/IMCForNEI.java')
-rw-r--r--src/main/java/net/glease/ggfab/nei/IMCForNEI.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/net/glease/ggfab/nei/IMCForNEI.java b/src/main/java/net/glease/ggfab/nei/IMCForNEI.java
new file mode 100644
index 0000000000..ed96005bd4
--- /dev/null
+++ b/src/main/java/net/glease/ggfab/nei/IMCForNEI.java
@@ -0,0 +1,23 @@
+package net.glease.ggfab.nei;
+
+import cpw.mods.fml.common.event.FMLInterModComms;
+import net.minecraft.nbt.NBTTagCompound;
+
+public class IMCForNEI {
+
+ public static void IMCSender() {
+ sendCatalyst("gt.recipe.fakeAssemblylineProcess", "gregtech:gt.blockmachines:13532", -1);
+ }
+
+ 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);
+ }
+}