Support for NEI crafting overlay in crafting station with attached chest.

This commit is contained in:
Qowyn committed 2014-10-05 22:05:48 +02:00
1 parent 38da4d74bc
commit d92b0add32
4 files changed
+376 -5

No files matched your search

@@ -3,7 +3,6 @@ package tconstruct.plugins.nei;
import tconstruct.tools.gui.CraftingStationGui;
import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;
import codechicken.nei.recipe.DefaultOverlayHandler;
public class NEITConstructConfig implements IConfigureNEI
{
@@ -11,8 +10,8 @@ public class NEITConstructConfig implements IConfigureNEI
@Override
public void loadConfig ()
{
API.registerGuiOverlay(CraftingStationGui.class, "crafting");
API.registerGuiOverlayHandler(CraftingStationGui.class, new DefaultOverlayHandler(), "crafting");
API.registerGuiOverlay(CraftingStationGui.class, "crafting", new CraftingStationStackPositioner());
API.registerGuiOverlayHandler(CraftingStationGui.class, new CraftingStationOverlayHandler(), "crafting");
registerHandler(new RecipeHandlerDryingRack());
registerHandler(new RecipeHandlerToolMaterials());