diff options
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/GregtechPowerSubStation.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 fc43b9a09d..162a05b369 100644 --- a/src/Java/miscutil/core/handler/COMPAT_HANDLER.java +++ b/src/Java/miscutil/core/handler/COMPAT_HANDLER.java @@ -27,6 +27,7 @@ import miscutil.core.handler.registration.gregtech.GregtechIndustrialMassFabrica import miscutil.core.handler.registration.gregtech.GregtechIndustrialPlatePress; import miscutil.core.handler.registration.gregtech.GregtechIndustrialWiremill; import miscutil.core.handler.registration.gregtech.GregtechIronBlastFurnace; +import miscutil.core.handler.registration.gregtech.GregtechPowerSubStation; import miscutil.core.handler.registration.gregtech.GregtechRocketFuelGenerator; import miscutil.core.handler.registration.gregtech.GregtechSafeBlock; import miscutil.core.handler.registration.gregtech.GregtechSolarGenerators; @@ -92,6 +93,7 @@ public class COMPAT_HANDLER { GregtechIndustrialMassFabricator.run(); //GregtechIndustrialSinter.run(); GregtechSolarGenerators.run(); + GregtechPowerSubStation.run(); } } diff --git a/src/Java/miscutil/core/handler/registration/gregtech/GregtechPowerSubStation.java b/src/Java/miscutil/core/handler/registration/gregtech/GregtechPowerSubStation.java new file mode 100644 index 0000000000..58319ab4b4 --- /dev/null +++ b/src/Java/miscutil/core/handler/registration/gregtech/GregtechPowerSubStation.java @@ -0,0 +1,27 @@ +package miscutil.core.handler.registration.gregtech; + +import miscutil.core.util.Utils; +import miscutil.xmod.gregtech.api.enums.GregtechItemList; +import miscutil.xmod.gregtech.common.tileentities.machines.multi.GregtechMetaTileEntityPowerSubStationController; + +public class GregtechPowerSubStation +{ + + + + public static void run() + { + if (miscutil.core.lib.LoadedMods.Gregtech){ + Utils.LOG_INFO("Gregtech5u Content | Registering Power Substation Node."); + run1(); + } + + } + + private static void run1() + { + //Steam Condensors + GregtechItemList.PowerSubStation.set(new GregtechMetaTileEntityPowerSubStationController(802, "substation.01.input.single", "Power Substation Node").getStackForm(1L)); + + } +} |