EC2 deprecation: Part 1 - Items

Laying the groundwork for absorbing EC2 mappings.
This commit is contained in:
Firenoo authored and Martin Robertz committed 2023-05-01 19:04:37 +02:00
1 parent e13beef9c4
commit 72bd124684
7 files changed
+309 -1

No files matched your search

@@ -1,5 +1,6 @@
package com.glodblock.github.proxy;
import com.glodblock.github.crossmod.extracells.EC2Replacer;
import net.minecraft.item.ItemStack;
import appeng.api.AEApi;
@@ -30,6 +31,9 @@ public class CommonProxy {
public void init(FMLInitializationEvent event) {
this.registerMovables();
FMLCommonHandler.instance().bus().register(SPacketMEUpdateBuffer.class);
if (!ModAndClassUtil.EC2 && Config.replaceEC2) {
EC2Replacer.initReplacer();
}
}
public void postInit(FMLPostInitializationEvent event) {