예제 #1
0
  public void postInit(FMLPostInitializationEvent event) {
    if (Botania.thaumcraftLoaded) {
      ModBrews.initTC();
      ModBrewRecipes.initTC();
    }

    ModBlocks.addDispenserBehaviours();
    ModBlocks.registerMultiparts();
    ConfigHandler.loadPostInit();
    LexiconData.postInit();

    registerNEIStuff();

    int words = 0;
    for (LexiconEntry entry : BotaniaAPI.getAllEntries())
      for (LexiconPage page : entry.pages) {
        words += countWords(page.getUnlocalizedName());
        if (page instanceof ITwoNamedPage)
          words += countWords(((ITwoNamedPage) page).getSecondUnlocalizedName());
      }
    FMLLog.log(Level.INFO, "[Botania] The Lexica Botania has %d words.", words);
  }