public GuiSlotStatsBlock(GuiStats par1GuiStats)
    {
        super(par1GuiStats);
        field_77268_a = par1GuiStats;
        field_77266_h = new ArrayList();
        Iterator iterator = StatList.objectMineStats.iterator();

        do
        {
            if (!iterator.hasNext())
            {
                break;
            }

            StatCrafting statcrafting = (StatCrafting)iterator.next();
            boolean flag = false;
            int i = statcrafting.getItemID();

            if (GuiStats.getStatsFileWriter(par1GuiStats).writeStat(statcrafting) > 0)
            {
                flag = true;
            }
            else if (StatList.objectUseStats[i] != null && GuiStats.getStatsFileWriter(par1GuiStats).writeStat(StatList.objectUseStats[i]) > 0)
            {
                flag = true;
            }
            else if (StatList.objectCraftStats[i] != null && GuiStats.getStatsFileWriter(par1GuiStats).writeStat(StatList.objectCraftStats[i]) > 0)
            {
                flag = true;
            }

            if (flag)
            {
                field_77266_h.add(statcrafting);
            }
        }
        while (true);

        field_77267_i = new SorterStatsBlock(this, par1GuiStats);
    }