mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Moved NEI handlers to plugins package, added drying rack handler
This commit is contained in:
1 parent
9e7eec8215
commit
66a45e0145
15 files changed
+249
-124
No files matched your search
@@ -0,0 +1,42 @@
|
||||
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
|
||||
{
|
||||
|
||||
@Override
|
||||
public void loadConfig ()
|
||||
{
|
||||
API.registerGuiOverlay(CraftingStationGui.class, "crafting");
|
||||
API.registerGuiOverlayHandler(CraftingStationGui.class, new DefaultOverlayHandler(), "crafting");
|
||||
|
||||
API.registerRecipeHandler(new RecipeHandlerDryingRack());
|
||||
API.registerUsageHandler(new RecipeHandlerDryingRack());
|
||||
|
||||
API.registerRecipeHandler(new RecipeHandlerMelting());
|
||||
API.registerUsageHandler(new RecipeHandlerMelting());
|
||||
API.registerRecipeHandler(new RecipeHandlerAlloying());
|
||||
API.registerUsageHandler(new RecipeHandlerAlloying());
|
||||
API.registerRecipeHandler(new RecipeHandlerCastingTable());
|
||||
API.registerUsageHandler(new RecipeHandlerCastingTable());
|
||||
API.registerRecipeHandler(new RecipeHandlerCastingBasin());
|
||||
API.registerUsageHandler(new RecipeHandlerCastingBasin());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName ()
|
||||
{
|
||||
return "TConstruct";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getVersion ()
|
||||
{
|
||||
return "${version}";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user