summaryrefslogtreecommitdiff
path: root/ihl/nei_integration/LabElectrolyzerRecipeHandler.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2016-04-11 19:44:54 +0300
committerFoghrye4 <foghrye4@gmail.com>2016-04-11 19:44:54 +0300
commit05c78126859231a68e199dc34613689bd0978e2f (patch)
tree050bea104a18c72905095d29f31bec2935a27a24 /ihl/nei_integration/LabElectrolyzerRecipeHandler.java
Initial commit
Diffstat (limited to 'ihl/nei_integration/LabElectrolyzerRecipeHandler.java')
-rw-r--r--ihl/nei_integration/LabElectrolyzerRecipeHandler.java74
1 files changed, 74 insertions, 0 deletions
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 <? extends GuiContainer > 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<UniversalRecipeInput, UniversalRecipeOutput> getRecipeList()
+ {
+ return LabElectrolyzerTileEntity.getRecipes();
+ }
+}