@EventHandler public static void init(FMLInitializationEvent event) { PacketHandler.init(); itemRegistry.addRecipes(); blockRegistry.addRecipes(); }
@EventHandler public static void preInit(FMLPreInitializationEvent event) { ConfigHandler.INSTANCE.initialize(event.getSuggestedConfigurationFile()); NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler()); proxy.preInit(); itemRegistry.register(); blockRegistry.register(); entityRegistry.init(); proxy.registerRenderers(); enchantRegistry.init(); Achievements.initAchievements(); starRegistry.registerDefaultStars(); FMLInterModComms.sendMessage( "Waila", "register", ModProps.MAIN_PACKAGE + ".common.compat.waila.WailaCompat.load"); CompatRegistry.INSTANCE.registerCompat( RegisterTime.INIT, ModProps.MAIN_PACKAGE + ".common.compat.enderio.EnderIOCompat", "EnderIO"); }