@Mod.EventHandler public void postInit(FMLPostInitializationEvent event) { final Stopwatch stopwatch = Stopwatch.createStarted(); logHelper.info("Post Initialization (Started)"); IntegrationsManager.instance().postInit(); logHelper.info( "Post Initialization (Ended after " + stopwatch.elapsed(TimeUnit.MILLISECONDS) + "ms)"); }
@Mod.EventHandler public void preInit(FMLPreInitializationEvent event) { final Stopwatch stopwatch = Stopwatch.createStarted(); logHelper.info("Pre Initialization (Started)"); proxy.registerConfiguration(event.getSuggestedConfigurationFile()); proxy.registerBlocks(); proxy.registerItems(); proxy.registerGUIs(); proxy.registerFurnaceRecipes(); proxy.registerEvents(); proxy.registerRenderers(); IntegrationsManager.instance().index(); IntegrationsManager.instance().preInit(); logHelper.info( "Pre Initialization (Ended after " + stopwatch.elapsed(TimeUnit.MILLISECONDS) + "ms)"); }