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

79 lines
2.8 KiB
Java
Raw Normal View History

2015-04-14 01:12:24 +02:00
package techreborn.compat.nei;
import techreborn.compat.nei.recipes.AlloySmelterRecipeHandler;
import techreborn.compat.nei.recipes.AssemblingMachineRecipeHandler;
import techreborn.compat.nei.recipes.CentrifugeRecipeHandler;
2015-05-12 01:17:17 +02:00
import techreborn.compat.nei.recipes.ChemicalReactorRecipeHandler;
2015-05-08 21:29:13 +02:00
import techreborn.compat.nei.recipes.ImplosionCompressorRecipeHandler;
import techreborn.compat.nei.recipes.IndustrialSawmillRecipeHandler;
import techreborn.compat.nei.recipes.LatheRecipeHandler;
2015-05-12 00:50:49 +02:00
import techreborn.compat.nei.recipes.PlateCuttingMachineRecipeHandler;
2015-04-24 15:20:09 +02:00
import techreborn.lib.ModInfo;
2015-04-14 01:12:24 +02:00
import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;
2015-04-15 17:23:12 +02:00
public class NEIConfig implements IConfigureNEI {
2015-04-14 01:12:24 +02:00
2015-04-24 15:20:09 +02:00
@Override
public String getName()
{
return ModInfo.MOD_ID;
}
@Override
public String getVersion()
{
return ModInfo.MOD_VERSION;
}
public static BlastFurnaceRecipeHandler blastFurnaceRecipeHandle;
2015-04-24 15:20:09 +02:00
@Override
2015-05-01 21:07:37 +02:00
public void loadConfig() {
ShapedRollingMachineHandler shapedRollingMachineHandler = new ShapedRollingMachineHandler();
ShapelessRollingMachineHandler shapelessRollingMachineHandler = new ShapelessRollingMachineHandler();
NEIConfig.blastFurnaceRecipeHandle = new BlastFurnaceRecipeHandler();
2015-04-24 15:20:09 +02:00
2015-05-08 21:29:13 +02:00
ImplosionCompressorRecipeHandler implosion = new ImplosionCompressorRecipeHandler();
API.registerUsageHandler(implosion);
API.registerRecipeHandler(implosion);
AlloySmelterRecipeHandler alloy = new AlloySmelterRecipeHandler();
API.registerUsageHandler(alloy);
API.registerRecipeHandler(alloy);
AssemblingMachineRecipeHandler assembling = new AssemblingMachineRecipeHandler();
API.registerUsageHandler(assembling);
API.registerRecipeHandler(assembling);
LatheRecipeHandler lathe = new LatheRecipeHandler();
API.registerUsageHandler(lathe);
API.registerRecipeHandler(lathe);
IndustrialSawmillRecipeHandler sawmill = new IndustrialSawmillRecipeHandler();
API.registerUsageHandler(sawmill);
API.registerRecipeHandler(sawmill);
2015-05-12 00:50:49 +02:00
PlateCuttingMachineRecipeHandler plate = new PlateCuttingMachineRecipeHandler();
API.registerUsageHandler(plate);
API.registerRecipeHandler(plate);
2015-05-12 01:17:17 +02:00
ChemicalReactorRecipeHandler chem = new ChemicalReactorRecipeHandler();
API.registerUsageHandler(chem);
API.registerRecipeHandler(chem);
CentrifugeRecipeHandler cent = new CentrifugeRecipeHandler();
API.registerUsageHandler(cent);
API.registerRecipeHandler(cent);
2015-04-24 15:20:09 +02:00
2015-05-01 21:07:37 +02:00
API.registerUsageHandler(shapedRollingMachineHandler);
API.registerRecipeHandler(shapedRollingMachineHandler);
2015-04-29 17:02:01 +02:00
2015-05-01 21:07:37 +02:00
API.registerUsageHandler(shapelessRollingMachineHandler);
API.registerRecipeHandler(shapelessRollingMachineHandler);
2015-04-14 01:12:24 +02:00
API.registerUsageHandler(NEIConfig.blastFurnaceRecipeHandle);
API.registerRecipeHandler(NEIConfig.blastFurnaceRecipeHandle);
2015-05-01 21:07:37 +02:00
}
2015-04-14 01:12:24 +02:00
}