public GuiSlotStatsItem(GuiStats par1GuiStats)
    {
        super(par1GuiStats);
        this.field_27275_a = par1GuiStats;
        this.field_27273_c = new ArrayList();
        Iterator var2 = StatList.itemStats.iterator();

        while (var2.hasNext())
        {
            StatCrafting var3 = (StatCrafting)var2.next();
            boolean var4 = false;
            int var5 = var3.getItemID();

            if (GuiStats.getStatsFileWriter(par1GuiStats).writeStat(var3) > 0)
            {
                var4 = true;
            }
            else if (StatList.objectBreakStats[var5] != null && GuiStats.getStatsFileWriter(par1GuiStats).writeStat(StatList.objectBreakStats[var5]) > 0)
            {
                var4 = true;
            }
            else if (StatList.objectCraftStats[var5] != null && GuiStats.getStatsFileWriter(par1GuiStats).writeStat(StatList.objectCraftStats[var5]) > 0)
            {
                var4 = true;
            }

            if (var4)
            {
                this.field_27273_c.add(var3);
            }
        }

        this.field_27272_d = new SorterStatsItem(this, par1GuiStats);
    }