2013-01-23 21:42:45 +01:00
|
|
|
package mekanism.nei;
|
|
|
|
|
2013-03-22 02:28:36 +01:00
|
|
|
import mekanism.client.GuiCombiner;
|
|
|
|
import mekanism.client.GuiCrusher;
|
|
|
|
import mekanism.client.GuiEnrichmentChamber;
|
|
|
|
import mekanism.client.GuiMetallurgicInfuser;
|
|
|
|
import mekanism.client.GuiOsmiumCompressor;
|
|
|
|
import mekanism.client.GuiPurificationChamber;
|
2013-02-22 04:03:54 +01:00
|
|
|
import mekanism.common.Mekanism;
|
2013-01-23 21:42:45 +01:00
|
|
|
import codechicken.nei.api.API;
|
|
|
|
import codechicken.nei.api.IConfigureNEI;
|
|
|
|
|
|
|
|
public class NEIMekanismConfig implements IConfigureNEI
|
|
|
|
{
|
|
|
|
@Override
|
|
|
|
public void loadConfig()
|
|
|
|
{
|
|
|
|
API.registerRecipeHandler(new EnrichmentChamberRecipeHandler());
|
|
|
|
API.registerUsageHandler(new EnrichmentChamberRecipeHandler());
|
2013-02-27 02:21:30 +01:00
|
|
|
API.registerRecipeHandler(new OsmiumCompressorRecipeHandler());
|
|
|
|
API.registerUsageHandler(new OsmiumCompressorRecipeHandler());
|
2013-01-23 21:42:45 +01:00
|
|
|
API.registerRecipeHandler(new CrusherRecipeHandler());
|
|
|
|
API.registerUsageHandler(new CrusherRecipeHandler());
|
|
|
|
API.registerRecipeHandler(new CombinerRecipeHandler());
|
|
|
|
API.registerUsageHandler(new CombinerRecipeHandler());
|
|
|
|
API.registerRecipeHandler(new MetallurgicInfuserRecipeHandler());
|
|
|
|
API.registerUsageHandler(new MetallurgicInfuserRecipeHandler());
|
|
|
|
API.registerRecipeHandler(new PurificationChamberRecipeHandler());
|
|
|
|
API.registerUsageHandler(new PurificationChamberRecipeHandler());
|
2013-06-01 18:37:43 +02:00
|
|
|
API.registerRecipeHandler(new MekanismRecipeHandler());
|
|
|
|
API.registerUsageHandler(new MekanismRecipeHandler());
|
2013-02-22 04:03:54 +01:00
|
|
|
|
2013-03-22 02:28:36 +01:00
|
|
|
API.setGuiOffset(GuiEnrichmentChamber.class, 16, 5);
|
|
|
|
API.setGuiOffset(GuiOsmiumCompressor.class, 16, 5);
|
|
|
|
API.setGuiOffset(GuiCrusher.class, 16, 5);
|
|
|
|
API.setGuiOffset(GuiCombiner.class, 16, 5);
|
|
|
|
API.setGuiOffset(GuiPurificationChamber.class, 16, 5);
|
|
|
|
API.setGuiOffset(GuiMetallurgicInfuser.class, 5, 15);
|
|
|
|
|
2013-03-11 18:49:01 +01:00
|
|
|
API.hideItem(Mekanism.boundingBlockID);
|
2013-01-23 21:42:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getName()
|
|
|
|
{
|
|
|
|
return "Mekanism NEI Plugin";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getVersion()
|
|
|
|
{
|
2013-03-22 02:28:36 +01:00
|
|
|
return "1.0.3";
|
2013-01-23 21:42:45 +01:00
|
|
|
}
|
|
|
|
}
|