From 05c78126859231a68e199dc34613689bd0978e2f Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Mon, 11 Apr 2016 19:44:54 +0300 Subject: Initial commit --- .../LabElectrolyzerRecipeHandler.java | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 ihl/nei_integration/LabElectrolyzerRecipeHandler.java (limited to 'ihl/nei_integration/LabElectrolyzerRecipeHandler.java') diff --git a/ihl/nei_integration/LabElectrolyzerRecipeHandler.java b/ihl/nei_integration/LabElectrolyzerRecipeHandler.java new file mode 100644 index 0000000..c36e27d --- /dev/null +++ b/ihl/nei_integration/LabElectrolyzerRecipeHandler.java @@ -0,0 +1,74 @@ +package ihl.nei_integration; + +import java.util.Map; + +import ihl.processing.chemistry.LabElectrolyzerGui; +import ihl.processing.chemistry.LabElectrolyzerTileEntity; +import ihl.recipes.UniversalRecipeInput; +import ihl.recipes.UniversalRecipeOutput; +import net.minecraft.client.gui.inventory.GuiContainer; + + +public class LabElectrolyzerRecipeHandler extends MachineRecipeHandler +{ + @Override + public Class getGuiClass() + { + return LabElectrolyzerGui.class; + } + + @Override + protected int[] getInputPosX() + { + return new int[]{42-5,60-5,78-5}; + } + + @Override + protected int[] getInputPosY() + { + return new int[]{15-11}; + } + + @Override + protected int[] getOutputPosX() + { + return new int[]{8-5,87-5,106-5}; + } + + @Override + protected int[] getOutputPosY() + { + return new int[]{15-11,51-11,15-11}; + } + + + @Override + public String getRecipeName() + { + return "Lab electrolyzer"; + } + + @Override + public String getRecipeId() + { + return "ihl.labElectrolyzer"; + } + + @Override + public String getGuiTexture() + { + return "ihl:textures/gui/GUILabElectrolyzer.png"; + } + + @Override + public String getOverlayIdentifier() + { + return "labElectrolyzer"; + } + + @Override + public Map getRecipeList() + { + return LabElectrolyzerTileEntity.getRecipes(); + } +} -- cgit v1.2.3