diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2016-07-13 16:49:29 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2016-07-13 16:49:29 +1000 |
commit | 12b7dfffcbdc23c0905fe614249ad74f87ef5152 (patch) | |
tree | 64847e7c7d0275a194e80dbcbe5ce46ab9a3bbae /src/Java/miscutil/core/handler | |
parent | f63de1a19798e9e84a1c7b44353ea5fbeb59ac4b (diff) | |
download | GT5-Unofficial-12b7dfffcbdc23c0905fe614249ad74f87ef5152.tar.gz GT5-Unofficial-12b7dfffcbdc23c0905fe614249ad74f87ef5152.tar.bz2 GT5-Unofficial-12b7dfffcbdc23c0905fe614249ad74f87ef5152.zip |
+ Added the Industrial Electrolyzer
Diffstat (limited to 'src/Java/miscutil/core/handler')
-rw-r--r-- | src/Java/miscutil/core/handler/COMPAT_HANDLER.java | 2 | ||||
-rw-r--r-- | src/Java/miscutil/core/handler/registration/gregtech/GregtechIndustrialElectrolyzer.java | 27 |
2 files changed, 29 insertions, 0 deletions
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 |