mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-19 11:49:33 +00:00
Another Cleanup + Removal of GT-Harddep (#74)
* Update deps * Fix generics * Deobfuscate parameters * Minor fixes * Remove GT harddep * Exclude GT6
This commit is contained in:
1 parent
f7a608bf2b
commit
93dd3c91c2
51 files changed
+391
-400
No files matched your search
@@ -46,12 +46,15 @@ public class EMT {
|
||||
public static final String CLIENT_PROXY = "emt.proxy.ClientProxy";
|
||||
public static final String COMMON_PROXY = "emt.proxy.CommonProxy";
|
||||
public static final String CHANNEL = "EMT";
|
||||
public static final String DEPENDS = "required-after:Thaumcraft;" + "required-after:IC2;"
|
||||
+ "required-after:gregtech;"
|
||||
+ "after:Avaritia;"
|
||||
+ "after:MagicBees;"
|
||||
+ "after:ForbiddenMagic;"
|
||||
+ "after:dreamcraft;";
|
||||
public static final String DEPENDS = """
|
||||
required-after:Thaumcraft;\
|
||||
required-after:IC2;\
|
||||
required-after:modularui;\
|
||||
after:gregtech;\
|
||||
after:Avaritia;\
|
||||
after:MagicBees;\
|
||||
after:ForbiddenMagic;\
|
||||
after:dreamcraft""";
|
||||
public static final CreativeTabs TAB = new EMTCreativeTab("EMT.creativeTab");
|
||||
public static final Logger LOGGER = LogManager.getLogger("Electro-Magic Tools");
|
||||
public static final SimpleNetworkWrapper INSTANCE = NetworkRegistry.INSTANCE.newSimpleChannel("EMT");
|
||||
@@ -76,7 +79,9 @@ public class EMT {
|
||||
Registry.registerPreInit();
|
||||
EMTEssentiasOutputs.addPrimalOutputs();
|
||||
registerPackets();
|
||||
Solars.populateCache();
|
||||
if (Registry.enableGTCompat) {
|
||||
Solars.populateCache();
|
||||
}
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
@@ -103,6 +108,8 @@ public class EMT {
|
||||
|
||||
public void registerPackets() {
|
||||
INSTANCE.registerMessage(PacketEMTKeys.class, PacketEMTKeys.class, 0, Side.SERVER);
|
||||
INSTANCE.registerMessage(PacketNodeInfo.class, PacketNodeInfo.class, 1, Side.CLIENT);
|
||||
if (Registry.enableGTCompat) {
|
||||
INSTANCE.registerMessage(PacketNodeInfo.class, PacketNodeInfo.class, 1, Side.CLIENT);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user