diff options
Diffstat (limited to 'ihl/nei_integration/LabElectrolyzerRecipeHandler.java')
| -rw-r--r-- | ihl/nei_integration/LabElectrolyzerRecipeHandler.java | 74 |
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();
+ }
+}
|
