package xyz.brassgoggledcoders.moarlibs;

import net.minecraft.creativetab.CreativeTabs;
import xyz.brassgoggledcoders.boilerplate.BoilerplateModBase;
import xyz.brassgoggledcoders.moarlibs.api.IMoarRegister;
import xyz.brassgoggledcoders.moarlibs.registries.BlockContainerRegistry;

public abstract class MoarLibModBase extends BoilerplateModBase
{
	public MoarLibModBase(String modid, String name, String version, CreativeTabs creativeTab)
	{
		super(modid, name, version, creativeTab);
	}

	@Override
	protected void afterModuleConstruct()
	{
		this.getMoarRegister().registerItems(BlockContainerRegistry.getAllBlockContainers());
		this.getMoarRegister().registerEntities();
	}

	public abstract IMoarRegister getMoarRegister();
}

@@ -82,16 +82,86 @@
 veTabs;%0A
+import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;%0A
 import x
@@ -604,20 +604,94 @@
 nstruct(
-)%0A%09%7B
+FMLPreInitializationEvent event)%0A%09%7B%0A%09%09MoarLibs.INSTANCE.createHandlers(event);
 %0A%09%09this.

Change MoarLibsModBase to force loading of ModuleHandler