Files
TinkersConstruct/src/main/java/tconstruct/plugins/nei/NEITConstructConfig.java
T
miozuneGitHub GTNH Actionsgithub-actions[bot]
69bb974420 Use compileOnlyApi for CoFH (#84)
* Use compileOnlyApi for CoFH

* spotlessApply (#85)

Co-authored-by: GitHub GTNH Actions <>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 08:07:18 +02:00

39 lines
1.2 KiB
Java

package tconstruct.plugins.nei;
import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;
import tconstruct.tools.gui.CraftingStationGui;
public class NEITConstructConfig implements IConfigureNEI {
@Override
public void loadConfig() {
API.registerGuiOverlay(CraftingStationGui.class, "crafting", new CraftingStationStackPositioner());
API.registerGuiOverlayHandler(CraftingStationGui.class, new CraftingStationOverlayHandler(), "crafting");
registerHandler(new RecipeHandlerDryingRack());
registerHandler(new RecipeHandlerToolMaterials());
registerHandler(new RecipeHandlerMelting());
registerHandler(new RecipeHandlerAlloying());
registerHandler(new RecipeHandlerCastingTable());
registerHandler(new RecipeHandlerCastingBasin());
BeltToggleFromGuiInputHandler.init();
}
@Override
public String getName() {
return "TConstruct";
}
@Override
public String getVersion() {
return "${version}";
}
private static void registerHandler(RecipeHandlerBase handler) {
API.registerRecipeHandler(handler);
API.registerUsageHandler(handler);
}
}