TechReborn/src/main/java/techreborn/compat/nei/NEIConfig.java

28 lines
624 B
Java
Raw Normal View History

2015-04-14 01:12:24 +02:00
package techreborn.compat.nei;
import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;
2015-04-15 17:23:12 +02:00
import techreborn.lib.ModInfo;
public class NEIConfig implements IConfigureNEI {
2015-04-14 01:12:24 +02:00
2015-04-15 17:23:12 +02:00
@Override
public String getName() {
return ModInfo.MOD_ID;
}
2015-04-14 01:12:24 +02:00
2015-04-15 17:23:12 +02:00
@Override
public String getVersion() {
return ModInfo.MOD_VERSION;
}
2015-04-14 01:12:24 +02:00
2015-04-15 17:23:12 +02:00
@Override
public void loadConfig() {
CentrifugeRecipeHandler centrifugeRecipeHandler = new CentrifugeRecipeHandler();
2015-04-14 01:12:24 +02:00
2015-04-15 17:23:12 +02:00
API.registerRecipeHandler(centrifugeRecipeHandler);
API.registerUsageHandler(centrifugeRecipeHandler);
}
2015-04-14 01:12:24 +02:00
}