111 lines
4.9 KiB
Java
111 lines
4.9 KiB
Java
package mekanism.client.nei;
|
|
|
|
import mekanism.client.gui.GuiChemicalCrystallizer;
|
|
import mekanism.client.gui.GuiChemicalDissolutionChamber;
|
|
import mekanism.client.gui.GuiChemicalInfuser;
|
|
import mekanism.client.gui.GuiChemicalInjectionChamber;
|
|
import mekanism.client.gui.GuiChemicalOxidizer;
|
|
import mekanism.client.gui.GuiChemicalWasher;
|
|
import mekanism.client.gui.GuiCombiner;
|
|
import mekanism.client.gui.GuiCrusher;
|
|
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());
|
|
|
|
API.registerRecipeHandler(new ChemicalInfuserRecipeHandler());
|
|
API.registerUsageHandler(new ChemicalInfuserRecipeHandler());
|
|
|
|
API.registerRecipeHandler(new RotaryCondensentratorRecipeHandler());
|
|
API.registerUsageHandler(new RotaryCondensentratorRecipeHandler());
|
|
|
|
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());
|
|
|
|
API.registerRecipeHandler(new ChemicalWasherRecipeHandler());
|
|
API.registerUsageHandler(new ChemicalWasherRecipeHandler());
|
|
|
|
API.registerRecipeHandler(new ChemicalCrystallizerRecipeHandler());
|
|
API.registerUsageHandler(new ChemicalCrystallizerRecipeHandler());
|
|
|
|
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);
|
|
API.setGuiOffset(GuiChemicalOxidizer.class, ChemicalOxidizerRecipeHandler.xOffset, ChemicalOxidizerRecipeHandler.yOffset);
|
|
API.setGuiOffset(GuiChemicalInfuser.class, ChemicalInfuserRecipeHandler.xOffset, ChemicalInfuserRecipeHandler.yOffset);
|
|
API.setGuiOffset(GuiRotaryCondensentrator.class, RotaryCondensentratorRecipeHandler.xOffset, RotaryCondensentratorRecipeHandler.yOffset);
|
|
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);
|
|
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";
|
|
}
|
|
}
|