diff options
author | Glease <4586901+Glease@users.noreply.github.com> | 2022-11-13 22:26:03 +0800 |
---|---|---|
committer | Glease <4586901+Glease@users.noreply.github.com> | 2022-11-13 22:26:03 +0800 |
commit | 7d0b6e0c15b651c39e4b560d092853eec4262115 (patch) | |
tree | 36c83ba4e9bc35eeaa614fbef6a4bad3d704deab /src/main/java/net/glease/ggfab/GigaGramFab.java | |
parent | d76948f4c064c8b6c3665e6c062b7d181f1f148c (diff) | |
download | GT5-Unofficial-7d0b6e0c15b651c39e4b560d092853eec4262115.tar.gz GT5-Unofficial-7d0b6e0c15b651c39e4b560d092853eec4262115.tar.bz2 GT5-Unofficial-7d0b6e0c15b651c39e4b560d092853eec4262115.zip |
adv assline
Diffstat (limited to 'src/main/java/net/glease/ggfab/GigaGramFab.java')
-rw-r--r-- | src/main/java/net/glease/ggfab/GigaGramFab.java | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/main/java/net/glease/ggfab/GigaGramFab.java b/src/main/java/net/glease/ggfab/GigaGramFab.java index 580a967504..14a62ea421 100644 --- a/src/main/java/net/glease/ggfab/GigaGramFab.java +++ b/src/main/java/net/glease/ggfab/GigaGramFab.java @@ -2,12 +2,25 @@ package net.glease.ggfab; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.event.*; +import gregtech.api.GregTech_API; +import gregtech.loaders.materialprocessing.ProcessingModSupport; +import net.glease.ggfab.mte.MTE_AdvAssLine; -@Mod(modid = GGConstants.MODID, version = GGConstants.VERSION, name = GGConstants.MODNAME, acceptedMinecraftVersions = "[1.7.10]", dependencies = "required-after:IC2;required-after:gregtech") +@Mod(modid = GGConstants.MODID, version = GGConstants.VERSION, name = GGConstants.MODNAME, acceptedMinecraftVersions = "[1.7.10]", dependencies = "required-after:IC2;required-before:gregtech") public class GigaGramFab { + public GigaGramFab() { + // initialize the textures + //noinspection ResultOfMethodCallIgnored + BlockIcons.OVERLAY_FRONT_ADV_ASSLINE.name(); + } @Mod.EventHandler public void preInit(FMLPreInitializationEvent event) { + ProcessingModSupport.aTGregSupport =true; + GregTech_API.sAfterGTPreload.add(() -> { + GGItemList.AdvAssLine.set(new MTE_AdvAssLine(13532, "ggfab.machine.adv_assline", "Advanced Assembly Line").getStackForm(1)); + }); + GregTech_API.sBeforeGTPostload.add(new ComponentRecipeLoader()); } @Mod.EventHandler |