2013-08-27 00:49:32 +02:00
|
|
|
package mekanism.client.nei;
|
2013-08-10 21:52:59 +02:00
|
|
|
|
2014-04-12 03:51:02 +02:00
|
|
|
import mekanism.client.gui.GuiChemicalCrystallizer;
|
2014-02-01 20:59:31 +01:00
|
|
|
import mekanism.client.gui.GuiChemicalDissolutionChamber;
|
2014-01-10 02:47:06 +01:00
|
|
|
import mekanism.client.gui.GuiChemicalInfuser;
|
2013-12-24 06:23:30 +01:00
|
|
|
import mekanism.client.gui.GuiChemicalInjectionChamber;
|
2014-01-10 00:06:44 +01:00
|
|
|
import mekanism.client.gui.GuiChemicalOxidizer;
|
2014-02-01 20:36:55 +01:00
|
|
|
import mekanism.client.gui.GuiChemicalWasher;
|
2013-08-27 00:49:32 +02:00
|
|
|
import mekanism.client.gui.GuiCombiner;
|
|
|
|
import mekanism.client.gui.GuiCrusher;
|
2014-01-10 18:58:05 +01:00
|
|
|
import mekanism.client.gui.GuiElectrolyticSeparator;
|
2013-08-27 00:49:32 +02:00
|
|
|
import mekanism.client.gui.GuiEnrichmentChamber;
|
|
|
|
import mekanism.client.gui.GuiMetallurgicInfuser;
|
|
|
|
import mekanism.client.gui.GuiOsmiumCompressor;
|
2014-01-13 21:41:23 +01:00
|
|
|
import mekanism.client.gui.GuiPrecisionSawmill;
|
2013-08-27 00:49:32 +02:00
|
|
|
import mekanism.client.gui.GuiPurificationChamber;
|
2014-01-10 04:09:48 +01:00
|
|
|
import mekanism.client.gui.GuiRotaryCondensentrator;
|
2014-01-16 05:03:40 +01:00
|
|
|
import mekanism.client.gui.GuiSalinationController;
|
2013-08-10 21:52:59 +02:00
|
|
|
import mekanism.common.Mekanism;
|
|
|
|
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());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-10 21:52:59 +02:00
|
|
|
API.registerRecipeHandler(new OsmiumCompressorRecipeHandler());
|
|
|
|
API.registerUsageHandler(new OsmiumCompressorRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-10 21:52:59 +02:00
|
|
|
API.registerRecipeHandler(new CrusherRecipeHandler());
|
|
|
|
API.registerUsageHandler(new CrusherRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-10 21:52:59 +02:00
|
|
|
API.registerRecipeHandler(new CombinerRecipeHandler());
|
|
|
|
API.registerUsageHandler(new CombinerRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-10 21:52:59 +02:00
|
|
|
API.registerRecipeHandler(new MetallurgicInfuserRecipeHandler());
|
|
|
|
API.registerUsageHandler(new MetallurgicInfuserRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-10 21:52:59 +02:00
|
|
|
API.registerRecipeHandler(new PurificationChamberRecipeHandler());
|
|
|
|
API.registerUsageHandler(new PurificationChamberRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-12-24 06:23:30 +01:00
|
|
|
API.registerRecipeHandler(new ChemicalInjectionChamberRecipeHandler());
|
|
|
|
API.registerUsageHandler(new ChemicalInjectionChamberRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-10 21:52:59 +02:00
|
|
|
API.registerRecipeHandler(new MekanismRecipeHandler());
|
|
|
|
API.registerUsageHandler(new MekanismRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2014-01-10 00:06:44 +01:00
|
|
|
API.registerRecipeHandler(new ChemicalOxidizerRecipeHandler());
|
|
|
|
API.registerUsageHandler(new ChemicalOxidizerRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2014-01-10 02:47:06 +01:00
|
|
|
API.registerRecipeHandler(new ChemicalInfuserRecipeHandler());
|
|
|
|
API.registerUsageHandler(new ChemicalInfuserRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2014-01-10 14:12:47 +01:00
|
|
|
API.registerRecipeHandler(new RotaryCondensentratorRecipeHandler());
|
|
|
|
API.registerUsageHandler(new RotaryCondensentratorRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2014-01-10 18:58:05 +01:00
|
|
|
API.registerRecipeHandler(new ElectrolyticSeparatorRecipeHandler());
|
|
|
|
API.registerUsageHandler(new ElectrolyticSeparatorRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2014-01-13 21:41:23 +01:00
|
|
|
API.registerRecipeHandler(new PrecisionSawmillRecipeHandler());
|
|
|
|
API.registerUsageHandler(new PrecisionSawmillRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2014-01-16 05:03:40 +01:00
|
|
|
API.registerRecipeHandler(new SalinationControllerRecipeHandler());
|
|
|
|
API.registerUsageHandler(new SalinationControllerRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2014-02-01 20:59:31 +01:00
|
|
|
API.registerRecipeHandler(new ChemicalDissolutionChamberRecipeHandler());
|
|
|
|
API.registerUsageHandler(new ChemicalDissolutionChamberRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2014-02-01 20:36:55 +01:00
|
|
|
API.registerRecipeHandler(new ChemicalWasherRecipeHandler());
|
|
|
|
API.registerUsageHandler(new ChemicalWasherRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2014-04-12 03:51:02 +02:00
|
|
|
API.registerRecipeHandler(new ChemicalCrystallizerRecipeHandler());
|
|
|
|
API.registerUsageHandler(new ChemicalCrystallizerRecipeHandler());
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-11-30 03:31:39 +01:00
|
|
|
API.setGuiOffset(GuiEnrichmentChamber.class, 16, 6);
|
|
|
|
API.setGuiOffset(GuiOsmiumCompressor.class, 16, 6);
|
|
|
|
API.setGuiOffset(GuiCrusher.class, 16, 6);
|
|
|
|
API.setGuiOffset(GuiCombiner.class, 16, 6);
|
|
|
|
API.setGuiOffset(GuiPurificationChamber.class, 16, 6);
|
2013-12-24 06:23:30 +01:00
|
|
|
API.setGuiOffset(GuiChemicalInjectionChamber.class, 16, 6);
|
2013-08-10 21:52:59 +02:00
|
|
|
API.setGuiOffset(GuiMetallurgicInfuser.class, 5, 15);
|
2014-01-10 02:47:06 +01:00
|
|
|
API.setGuiOffset(GuiChemicalOxidizer.class, ChemicalOxidizerRecipeHandler.xOffset, ChemicalOxidizerRecipeHandler.yOffset);
|
|
|
|
API.setGuiOffset(GuiChemicalInfuser.class, ChemicalInfuserRecipeHandler.xOffset, ChemicalInfuserRecipeHandler.yOffset);
|
2014-01-10 04:09:48 +01:00
|
|
|
API.setGuiOffset(GuiRotaryCondensentrator.class, RotaryCondensentratorRecipeHandler.xOffset, RotaryCondensentratorRecipeHandler.yOffset);
|
2014-01-10 18:58:05 +01:00
|
|
|
API.setGuiOffset(GuiElectrolyticSeparator.class, ElectrolyticSeparatorRecipeHandler.xOffset, ElectrolyticSeparatorRecipeHandler.yOffset);
|
2014-01-13 21:41:23 +01:00
|
|
|
API.setGuiOffset(GuiPrecisionSawmill.class, 16, 6);
|
2014-01-16 05:03:40 +01:00
|
|
|
API.setGuiOffset(GuiSalinationController.class, SalinationControllerRecipeHandler.xOffset, SalinationControllerRecipeHandler.yOffset);
|
2014-02-01 20:59:31 +01:00
|
|
|
API.setGuiOffset(GuiChemicalDissolutionChamber.class, ChemicalDissolutionChamberRecipeHandler.xOffset, ChemicalDissolutionChamberRecipeHandler.yOffset);
|
2014-02-01 20:36:55 +01:00
|
|
|
API.setGuiOffset(GuiChemicalWasher.class, ChemicalWasherRecipeHandler.xOffset, ChemicalWasherRecipeHandler.yOffset);
|
2014-04-12 03:51:02 +02:00
|
|
|
API.setGuiOffset(GuiChemicalCrystallizer.class, ChemicalCrystallizerRecipeHandler.xOffset, ChemicalCrystallizerRecipeHandler.yOffset);
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-10 21:52:59 +02:00
|
|
|
API.hideItem(Mekanism.boundingBlockID);
|
2013-11-12 04:52:12 +01:00
|
|
|
API.hideItem(Mekanism.ItemProxy.itemID);
|
2013-08-10 21:52:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getName()
|
|
|
|
{
|
|
|
|
return "Mekanism NEI Plugin";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getVersion()
|
|
|
|
{
|
2014-01-16 05:03:40 +01:00
|
|
|
return "1.2";
|
2013-08-10 21:52:59 +02:00
|
|
|
}
|
|
|
|
}
|