@Mod.EventHandler public void postInit(FMLPostInitializationEvent event) { if (event.getSide().isClient()) { ClientProxy.initRenderer(); } // config syncing MinecraftForge.EVENT_BUS.register(new ConfigSync()); }
@Mod.EventHandler public void preInit(FMLPreInitializationEvent event) { Config.load(event); HarvestLevels.init(); NetworkRegistry.INSTANCE.registerGuiHandler(instance, guiHandler); if (event.getSide().isClient()) { ClientProxy.initClient(); } TinkerNetwork.instance.setup(); CapabilityTinkerProjectile.register(); }