diff options
| author | miozune <miozune@gmail.com> | 2024-09-07 12:49:42 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-07 03:49:42 +0000 |
| commit | d57edae3a55131600090a3aee00c85c4b94621ad (patch) | |
| tree | f3eee9af20c8907b33504773fee24e3779512e68 /src/main/java/gtneioreplugin/plugin/IMCForNEI.java | |
| parent | 82604eadb847335e4b4ddf2e90a28b325786837b (diff) | |
| download | GT5-Unofficial-d57edae3a55131600090a3aee00c85c4b94621ad.tar.gz GT5-Unofficial-d57edae3a55131600090a3aee00c85c4b94621ad.tar.bz2 GT5-Unofficial-d57edae3a55131600090a3aee00c85c4b94621ad.zip | |
Followup for the great renaming & cleanup IMC for NEI (#3083)
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Co-authored-by: boubou19 <miisterunknown@gmail.com>
Diffstat (limited to 'src/main/java/gtneioreplugin/plugin/IMCForNEI.java')
| -rw-r--r-- | src/main/java/gtneioreplugin/plugin/IMCForNEI.java | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/main/java/gtneioreplugin/plugin/IMCForNEI.java b/src/main/java/gtneioreplugin/plugin/IMCForNEI.java deleted file mode 100644 index 620140c630..0000000000 --- a/src/main/java/gtneioreplugin/plugin/IMCForNEI.java +++ /dev/null @@ -1,52 +0,0 @@ -package gtneioreplugin.plugin; - -import net.minecraft.nbt.NBTTagCompound; - -import cpw.mods.fml.common.event.FMLInterModComms; -import gtneioreplugin.GTNEIOrePlugin; - -public class IMCForNEI { - - public static void IMCSender() { - // Though these 2 are already registered in NEI jar, we need to re-register - // because new DimensionDisplayItems made tabs a bit taller. - sendHandler("gregtech5.plugin.gtneioreplugin.PluginGT5VeinStat", "gregtech:gt.blockores:386"); - - sendHandler("gregtech5.plugin.gtneioreplugin.PluginGT5SmallOreStat", "gregtech:gt.blockores:85"); - - sendHandler("gregtech5.plugin.gtneioreplugin.PluginGT5UndergroundFluid", "gregtech:gt.metaitem.01:32619"); - sendCatalyst("gregtech5.plugin.gtneioreplugin.PluginGT5UndergroundFluid", "gregtech:gt.blockmachines:1157"); - sendCatalyst("gregtech5.plugin.gtneioreplugin.PluginGT5UndergroundFluid", "gregtech:gt.blockmachines:141"); - sendCatalyst("gregtech5.plugin.gtneioreplugin.PluginGT5UndergroundFluid", "gregtech:gt.blockmachines:142"); - sendCatalyst("gregtech5.plugin.gtneioreplugin.PluginGT5UndergroundFluid", "gregtech:gt.blockmachines:149"); - sendCatalyst("gregtech5.plugin.gtneioreplugin.PluginGT5UndergroundFluid", "gregtech:gt.blockmachines:148"); - } - - private static void sendHandler(String name, String itemStack) { - NBTTagCompound aNBT = new NBTTagCompound(); - aNBT.setString("handler", name); - aNBT.setString("modName", GTNEIOrePlugin.NAME); - aNBT.setString("modId", GTNEIOrePlugin.MODID); - aNBT.setBoolean("modRequired", true); - aNBT.setString("itemName", itemStack); - aNBT.setInteger("handlerHeight", 160); - aNBT.setInteger("handlerWidth", 166); - aNBT.setInteger("maxRecipesPerPage", 2); - aNBT.setInteger("yShift", 0); - FMLInterModComms.sendMessage("NotEnoughItems", "registerHandlerInfo", aNBT); - } - - @SuppressWarnings("SameParameterValue") - private static void sendCatalyst(String name, String itemStack, int priority) { - NBTTagCompound aNBT = new NBTTagCompound(); - aNBT.setString("handlerID", name); - aNBT.setString("itemName", itemStack); - aNBT.setInteger("priority", priority); - FMLInterModComms.sendMessage("NotEnoughItems", "registerCatalystInfo", aNBT); - } - - @SuppressWarnings("SameParameterValue") - private static void sendCatalyst(String name, String itemStack) { - sendCatalyst(name, itemStack, 0); - } -} |
