2015-04-14 01:12:24 +02:00
|
|
|
package techreborn.compat.nei;
|
|
|
|
|
|
|
|
import codechicken.nei.api.API;
|
|
|
|
import codechicken.nei.api.IConfigureNEI;
|
2015-11-17 22:48:06 +01:00
|
|
|
import techreborn.api.recipe.machines.VacuumFreezerRecipe;
|
2015-08-09 12:05:32 +02:00
|
|
|
import techreborn.compat.nei.recipes.*;
|
2015-05-23 14:54:12 +02:00
|
|
|
import techreborn.lib.ModInfo;
|
2015-04-15 17:23:12 +02:00
|
|
|
|
|
|
|
public class NEIConfig implements IConfigureNEI {
|
2015-04-14 01:12:24 +02:00
|
|
|
|
2015-08-09 12:05:32 +02:00
|
|
|
@Override
|
|
|
|
public String getName() {
|
|
|
|
return ModInfo.MOD_ID;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getVersion() {
|
|
|
|
return ModInfo.MOD_VERSION;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void loadConfig() {
|
|
|
|
ShapedRollingMachineHandler shapedRollingMachineHandler = new ShapedRollingMachineHandler();
|
|
|
|
ShapelessRollingMachineHandler shapelessRollingMachineHandler = new ShapelessRollingMachineHandler();
|
|
|
|
|
|
|
|
ImplosionCompressorRecipeHandler implosion = new ImplosionCompressorRecipeHandler();
|
|
|
|
API.registerUsageHandler(implosion);
|
|
|
|
API.registerRecipeHandler(implosion);
|
|
|
|
|
|
|
|
AlloySmelterRecipeHandler alloy = new AlloySmelterRecipeHandler();
|
|
|
|
API.registerUsageHandler(alloy);
|
|
|
|
API.registerRecipeHandler(alloy);
|
|
|
|
|
2015-11-01 23:10:32 +01:00
|
|
|
IronAlloySmelterRecipeHandler ironAlloy = new IronAlloySmelterRecipeHandler();
|
|
|
|
API.registerUsageHandler(ironAlloy);
|
|
|
|
API.registerRecipeHandler(ironAlloy);
|
|
|
|
|
2015-08-09 12:05:32 +02:00
|
|
|
IndustrialSawmillRecipeHandler sawmill = new IndustrialSawmillRecipeHandler();
|
|
|
|
API.registerUsageHandler(sawmill);
|
|
|
|
API.registerRecipeHandler(sawmill);
|
|
|
|
|
|
|
|
ChemicalReactorRecipeHandler chem = new ChemicalReactorRecipeHandler();
|
|
|
|
API.registerUsageHandler(chem);
|
|
|
|
API.registerRecipeHandler(chem);
|
|
|
|
|
|
|
|
CentrifugeRecipeHandler cent = new CentrifugeRecipeHandler();
|
|
|
|
API.registerUsageHandler(cent);
|
|
|
|
API.registerRecipeHandler(cent);
|
|
|
|
|
|
|
|
GrinderRecipeHandler grind = new GrinderRecipeHandler();
|
|
|
|
API.registerUsageHandler(grind);
|
|
|
|
API.registerRecipeHandler(grind);
|
|
|
|
|
|
|
|
IndustrialElectrolyzerRecipeHandler elec = new IndustrialElectrolyzerRecipeHandler();
|
|
|
|
API.registerUsageHandler(elec);
|
|
|
|
API.registerRecipeHandler(elec);
|
|
|
|
|
|
|
|
BlastFurnaceRecipeHandler blast = new BlastFurnaceRecipeHandler();
|
|
|
|
API.registerUsageHandler(blast);
|
|
|
|
API.registerRecipeHandler(blast);
|
|
|
|
|
|
|
|
API.registerUsageHandler(shapedRollingMachineHandler);
|
|
|
|
API.registerRecipeHandler(shapedRollingMachineHandler);
|
|
|
|
|
|
|
|
API.registerUsageHandler(shapelessRollingMachineHandler);
|
|
|
|
API.registerRecipeHandler(shapelessRollingMachineHandler);
|
|
|
|
|
2015-11-16 20:01:27 +01:00
|
|
|
AssemblingMachineRecipeHandler assemblingMachineRecipe = new AssemblingMachineRecipeHandler();
|
|
|
|
API.registerUsageHandler(assemblingMachineRecipe);
|
|
|
|
API.registerRecipeHandler(assemblingMachineRecipe);
|
|
|
|
|
2015-11-16 22:24:10 +01:00
|
|
|
FustionReacorRecipeHandler fustionReacorRecipeHandler = new FustionReacorRecipeHandler();
|
|
|
|
API.registerUsageHandler(fustionReacorRecipeHandler);
|
|
|
|
API.registerRecipeHandler(fustionReacorRecipeHandler);
|
|
|
|
|
2015-11-17 22:48:06 +01:00
|
|
|
VacuumFreezerRecipeHandler vacuumFreezerRecipe = new VacuumFreezerRecipeHandler();
|
|
|
|
API.registerUsageHandler(vacuumFreezerRecipe);
|
|
|
|
API.registerRecipeHandler(vacuumFreezerRecipe);
|
|
|
|
|
2015-08-09 12:05:32 +02:00
|
|
|
}
|
2015-04-14 01:12:24 +02:00
|
|
|
}
|