aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pers/gwyog/gtneioreplugin/plugin/NEIPluginConfig.java
blob: 06133bebcc0daf4ea4fa0e2ac44ed73c3e071d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package pers.gwyog.gtneioreplugin.plugin;

import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;
import cpw.mods.fml.common.Loader;
import pers.gwyog.gtneioreplugin.GTNEIOrePlugin;
//import pers.gwyog.gtneioreplugin.plugin.gregtech5.PluginGT5AsteroidStat;
import pers.gwyog.gtneioreplugin.plugin.gregtech5.PluginGT5SmallOreStat;
import pers.gwyog.gtneioreplugin.plugin.gregtech5.PluginGT5VeinStat;
import pers.gwyog.gtneioreplugin.util.GT5OreLayerHelper;

public class NEIPluginConfig implements IConfigureNEI {

    @Override
    public String getName() {
        return "GregTech Ore Plugin";
    }

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

    @Override
    public void loadConfig() {
            PluginGT5VeinStat pluginVeinStat = new PluginGT5VeinStat();
            //PluginGT5AsteroidStat pluginAsteriodStat = new PluginGT5AsteroidStat();
            PluginGT5SmallOreStat pluginSmallOreStat = new PluginGT5SmallOreStat();
            API.registerRecipeHandler(pluginVeinStat);
            API.registerUsageHandler(pluginVeinStat);
            //API.registerRecipeHandler(pluginAsteriodStat);
            //API.registerUsageHandler(pluginAsteriodStat);
            API.registerRecipeHandler(pluginSmallOreStat);
            API.registerUsageHandler(pluginSmallOreStat);
        }
    }