public static void func_25091_c() { if (!field_25101_D || !field_25099_E) { return; } HashSet hashset = new HashSet(); IRecipe irecipe; for (Iterator iterator = CraftingManager.getInstance().getRecipeList().iterator(); iterator.hasNext(); hashset.add(Integer.valueOf(irecipe.func_25077_b().itemID))) { irecipe = (IRecipe) iterator.next(); } ItemStack itemstack; for (Iterator iterator1 = FurnaceRecipes.smelting().getSmeltingList().values().iterator(); iterator1.hasNext(); hashset.add(Integer.valueOf(itemstack.itemID))) { itemstack = (ItemStack) iterator1.next(); } field_25093_z = new StatBase[32000]; Iterator iterator2 = hashset.iterator(); do { if (!iterator2.hasNext()) { break; } Integer integer = (Integer) iterator2.next(); if (Item.itemsList[integer.intValue()] != null) { String s = StatCollector.translateToLocalFormatted( "stat.craftItem", new Object[] {Item.itemsList[integer.intValue()].func_25006_i()}); field_25093_z[integer.intValue()] = (new StatCrafting(0x1010000 + integer.intValue(), s, integer.intValue())) .func_27053_d(); } } while (true); replaceAllSimilarBlocks(field_25093_z); }