Mekanism-tilera-Edition/common/mekanism/client/nei/NEIMekanismConfig.java

112 lines
4.9 KiB
Java
Raw Normal View History

package mekanism.client.nei;
import mekanism.client.gui.GuiChemicalCrystallizer;
import mekanism.client.gui.GuiChemicalDissolutionChamber;
2014-01-10 02:47:06 +01:00
import mekanism.client.gui.GuiChemicalInfuser;
import mekanism.client.gui.GuiChemicalInjectionChamber;
import mekanism.client.gui.GuiChemicalOxidizer;
2014-02-01 20:36:55 +01:00
import mekanism.client.gui.GuiChemicalWasher;
import mekanism.client.gui.GuiCombiner;
import mekanism.client.gui.GuiCrusher;
2014-01-10 18:58:05 +01:00
import mekanism.client.gui.GuiElectrolyticSeparator;
import mekanism.client.gui.GuiEnrichmentChamber;
import mekanism.client.gui.GuiMetallurgicInfuser;
import mekanism.client.gui.GuiOsmiumCompressor;
import mekanism.client.gui.GuiPrecisionSawmill;
import mekanism.client.gui.GuiPurificationChamber;
import mekanism.client.gui.GuiRotaryCondensentrator;
import mekanism.client.gui.GuiSalinationController;
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());
API.registerRecipeHandler(new OsmiumCompressorRecipeHandler());
API.registerUsageHandler(new OsmiumCompressorRecipeHandler());
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());
API.registerRecipeHandler(new ChemicalInjectionChamberRecipeHandler());
API.registerUsageHandler(new ChemicalInjectionChamberRecipeHandler());
API.registerRecipeHandler(new MekanismRecipeHandler());
API.registerUsageHandler(new MekanismRecipeHandler());
API.registerRecipeHandler(new ChemicalOxidizerRecipeHandler());
API.registerUsageHandler(new ChemicalOxidizerRecipeHandler());
2014-01-10 02:47:06 +01:00
API.registerRecipeHandler(new ChemicalInfuserRecipeHandler());
API.registerUsageHandler(new ChemicalInfuserRecipeHandler());
API.registerRecipeHandler(new RotaryCondensentratorRecipeHandler());
API.registerUsageHandler(new RotaryCondensentratorRecipeHandler());
2014-01-10 18:58:05 +01:00
API.registerRecipeHandler(new ElectrolyticSeparatorRecipeHandler());
API.registerUsageHandler(new ElectrolyticSeparatorRecipeHandler());
API.registerRecipeHandler(new PrecisionSawmillRecipeHandler());
API.registerUsageHandler(new PrecisionSawmillRecipeHandler());
API.registerRecipeHandler(new SalinationControllerRecipeHandler());
API.registerUsageHandler(new SalinationControllerRecipeHandler());
API.registerRecipeHandler(new ChemicalDissolutionChamberRecipeHandler());
API.registerUsageHandler(new ChemicalDissolutionChamberRecipeHandler());
2014-02-01 20:36:55 +01:00
API.registerRecipeHandler(new ChemicalWasherRecipeHandler());
API.registerUsageHandler(new ChemicalWasherRecipeHandler());
API.registerRecipeHandler(new ChemicalCrystallizerRecipeHandler());
API.registerUsageHandler(new ChemicalCrystallizerRecipeHandler());
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);
API.setGuiOffset(GuiChemicalInjectionChamber.class, 16, 6);
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);
API.setGuiOffset(GuiRotaryCondensentrator.class, RotaryCondensentratorRecipeHandler.xOffset, RotaryCondensentratorRecipeHandler.yOffset);
2014-01-10 18:58:05 +01:00
API.setGuiOffset(GuiElectrolyticSeparator.class, ElectrolyticSeparatorRecipeHandler.xOffset, ElectrolyticSeparatorRecipeHandler.yOffset);
API.setGuiOffset(GuiPrecisionSawmill.class, 16, 6);
API.setGuiOffset(GuiSalinationController.class, SalinationControllerRecipeHandler.xOffset, SalinationControllerRecipeHandler.yOffset);
API.setGuiOffset(GuiChemicalDissolutionChamber.class, ChemicalDissolutionChamberRecipeHandler.xOffset, ChemicalDissolutionChamberRecipeHandler.yOffset);
2014-02-01 20:36:55 +01:00
API.setGuiOffset(GuiChemicalWasher.class, ChemicalWasherRecipeHandler.xOffset, ChemicalWasherRecipeHandler.yOffset);
API.setGuiOffset(GuiChemicalCrystallizer.class, ChemicalCrystallizerRecipeHandler.xOffset, ChemicalCrystallizerRecipeHandler.yOffset);
API.hideItem(Mekanism.boundingBlockID);
API.hideItem(Mekanism.ItemProxy.itemID);
}
@Override
public String getName()
{
return "Mekanism NEI Plugin";
}
@Override
public String getVersion()
{
return "1.2";
}
}