mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-14 01:14:18 +00:00
69bb974420
* 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>
39 lines
1.2 KiB
Java
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);
|
|
}
|
|
}
|