@Mod.EventHandler public void init(FMLInitializationEvent event) { final Stopwatch stopwatch = Stopwatch.createStarted(); logHelper.info("Initialization (Started)"); proxy.registerRecipes(); IntegrationsManager.instance().init(); logHelper.info( "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)"); }