2014-09-19 13:58:12 +02:00
|
|
|
package tconstruct.plugins.nei;
|
|
|
|
|
|
|
|
|
|
import tconstruct.tools.gui.CraftingStationGui;
|
|
|
|
|
import codechicken.nei.api.API;
|
|
|
|
|
import codechicken.nei.api.IConfigureNEI;
|
|
|
|
|
|
|
|
|
|
public class NEITConstructConfig implements IConfigureNEI
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void loadConfig ()
|
|
|
|
|
{
|
2014-10-05 22:05:48 +02:00
|
|
|
API.registerGuiOverlay(CraftingStationGui.class, "crafting", new CraftingStationStackPositioner());
|
|
|
|
|
API.registerGuiOverlayHandler(CraftingStationGui.class, new CraftingStationOverlayHandler(), "crafting");
|
2014-09-19 13:58:12 +02:00
|
|
|
|
2014-09-24 17:05:33 +02:00
|
|
|
registerHandler(new RecipeHandlerDryingRack());
|
|
|
|
|
registerHandler(new RecipeHandlerToolMaterials());
|
|
|
|
|
registerHandler(new RecipeHandlerMelting());
|
|
|
|
|
registerHandler(new RecipeHandlerAlloying());
|
|
|
|
|
registerHandler(new RecipeHandlerCastingTable());
|
|
|
|
|
registerHandler(new RecipeHandlerCastingBasin());
|
2014-09-19 13:58:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String getName ()
|
|
|
|
|
{
|
|
|
|
|
return "TConstruct";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String getVersion ()
|
|
|
|
|
{
|
|
|
|
|
return "${version}";
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-24 17:05:33 +02:00
|
|
|
private static void registerHandler (RecipeHandlerBase handler)
|
|
|
|
|
{
|
|
|
|
|
API.registerRecipeHandler(handler);
|
|
|
|
|
API.registerUsageHandler(handler);
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-19 13:58:12 +02:00
|
|
|
}
|