From 12b7dfffcbdc23c0905fe614249ad74f87ef5152 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Wed, 13 Jul 2016 16:49:29 +1000 Subject: + Added the Industrial Electrolyzer --- src/Java/miscutil/core/handler/COMPAT_HANDLER.java | 2 ++ .../gregtech/GregtechIndustrialElectrolyzer.java | 27 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/Java/miscutil/core/handler/registration/gregtech/GregtechIndustrialElectrolyzer.java (limited to 'src/Java/miscutil/core/handler') diff --git a/src/Java/miscutil/core/handler/COMPAT_HANDLER.java b/src/Java/miscutil/core/handler/COMPAT_HANDLER.java index 9b56389f7f..2e72a4a09d 100644 --- a/src/Java/miscutil/core/handler/COMPAT_HANDLER.java +++ b/src/Java/miscutil/core/handler/COMPAT_HANDLER.java @@ -23,6 +23,7 @@ import miscutil.core.handler.registration.gregtech.GregtechConduits; import miscutil.core.handler.registration.gregtech.GregtechEnergyBuffer; import miscutil.core.handler.registration.gregtech.GregtechIndustrialCentrifuge; import miscutil.core.handler.registration.gregtech.GregtechIndustrialCokeOven; +import miscutil.core.handler.registration.gregtech.GregtechIndustrialElectrolyzer; import miscutil.core.handler.registration.gregtech.GregtechIndustrialPlatePress; import miscutil.core.handler.registration.gregtech.GregtechIronBlastFurnace; import miscutil.core.handler.registration.gregtech.GregtechRocketFuelGenerator; @@ -87,6 +88,7 @@ public class COMPAT_HANDLER { GregtechIndustrialCokeOven.run(); GregtechIndustrialPlatePress.run(); GregtechRocketFuelGenerator.run(); + GregtechIndustrialElectrolyzer.run(); } } diff --git a/src/Java/miscutil/core/handler/registration/gregtech/GregtechIndustrialElectrolyzer.java b/src/Java/miscutil/core/handler/registration/gregtech/GregtechIndustrialElectrolyzer.java new file mode 100644 index 0000000000..ae71e5375e --- /dev/null +++ b/src/Java/miscutil/core/handler/registration/gregtech/GregtechIndustrialElectrolyzer.java @@ -0,0 +1,27 @@ +package miscutil.core.handler.registration.gregtech; + +import miscutil.core.util.Utils; +import miscutil.core.xmod.gregtech.api.enums.GregtechItemList; +import miscutil.core.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntityIndustrialElectrolyzer; + +public class GregtechIndustrialElectrolyzer +{ + + + + public static void run() + { + if (miscutil.core.lib.LoadedMods.Gregtech){ + Utils.LOG_INFO("MiscUtils: Gregtech5u Content | Registering Industrial Electrolyzer Multiblock."); + run1(); + } + + } + + private static void run1() + { + //Industrial Electrolyzer Multiblock + GregtechItemList.Industrial_Electrolyzer.set(new GregtechMetaTileEntityIndustrialElectrolyzer(796, "industrialcentrifuge.controller.tier.single", "Industrial Electrolyzer Controller").getStackForm(1L)); + + } +} \ No newline at end of file -- cgit