add ae2 recipe support and add a gui to set the count of item that CraftingHelper needs to craft

This commit is contained in:
vfyjxf committed 2022-01-02 16:00:18 +08:00
1 parent 512d1fa562
commit fde98d153e
27 files changed
+1287 -343

No files matched your search

@@ -83,4 +83,13 @@ public class GuiUtils {
}
}
public static boolean isWirelessTerminalGuiObject(Object guiObj) {
try {
Class<?> wirelessTerminalGuiObjClass = Class.forName("net.p455w0rd.wirelesscraftingterminal.helpers.WirelessTerminalGuiObject");
return wirelessTerminalGuiObjClass.isInstance(guiObj);
} catch (ClassNotFoundException e) {
return false;
}
}
}