/FileExtraction/Java_unseen/trychen_ChinaCraft/src/main/java/unstudio/chinacraft/client/nei/NEIAPI.java
package unstudio.chinacraft.client.nei;

import unstudio.chinacraft.client.gui.GuiBuhrimill;
import unstudio.chinacraft.client.gui.GuiJadeBench;
import unstudio.chinacraft.common.ChinaCraft;
import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;

/**
 * NEIAPI 入口
 */
public class NEIAPI implements IConfigureNEI {
    @Override
    public void loadConfig() {
        API.registerRecipeHandler(new BuhrimillRecipeHandler());
        API.registerUsageHandler(new BuhrimillRecipeHandler());
        API.registerGuiOverlay(GuiBuhrimill.class, "buhrimill");
        API.registerRecipeHandler(new JadeBenchRecipeHandler());
        API.registerUsageHandler(new JadeBenchRecipeHandler());
        API.registerGuiOverlay(GuiJadeBench.class, "jadebench");
    }

    @Override
    public String getName() {
        return ChinaCraft.NAME;
    }

    @Override
    public String getVersion() {
        return ChinaCraft.VERSION;
    }

}
