@EventHandler public void init(FMLInitializationEvent event) { ModItem.addNames(); ModItem.registerRecipes(); ModBlock.addNames(); // ModBlock.registerRecipes(); }
@EventHandler public void preInit(FMLPreInitializationEvent event) { ConfigHandler.init(event.getSuggestedConfigurationFile()); ModItem.init(); ModBlock.init(); ModTile.init(); MinecraftForge.EVENT_BUS.register(new EntityLivingHandler()); MinecraftForge.EVENT_BUS.register(new EntityPlayerHandler()); proxy.initSounds(); proxy.initRenderers(); }