Changing a few things with IMC, NEI, removing buildcraft IMC

This commit is contained in:
Alexander Behrhof committed 2014-08-01 23:18:45 -04:00
1 parent 050c4277e0
commit 580f8b086f
5 files changed
+32 -54

No files matched your search

@@ -0,0 +1,21 @@
package tconstruct.plugins.nei;
import tconstruct.tools.gui.CraftingStationGui;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.common.FMLCommonHandler;
import codechicken.nei.recipe.DefaultOverlayHandler;
import codechicken.nei.api.API;
public class NEICompat
{
public static void registerNEICompat ()
{
if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT)
{
API.registerGuiOverlay(CraftingStationGui.class, "crafting");
API.registerGuiOverlayHandler(CraftingStationGui.class, new DefaultOverlayHandler(), "crafting");
}
}
}