public GuiSlotStatsBlock(GuiStats var1) {
        super(var1);
        this.field_27274_a = var1;
        this.field_27273_c = new ArrayList();
        Iterator var2 = StatList.objectMineStats.iterator();

        while (var2.hasNext()) {
            StatCrafting var3 = (StatCrafting) var2.next();
            boolean var4 = false;
            int var5 = var3.func_25072_b();
            if (GuiStats.getStatsFileWriter(var1).writeStat(var3) > 0) {
                var4 = true;
            } else if (StatList.objectUseStats[var5] != null && GuiStats.getStatsFileWriter(var1).writeStat(StatList.objectUseStats[var5]) > 0) {
                var4 = true;
            } else if (StatList.objectCraftStats[var5] != null && GuiStats.getStatsFileWriter(var1).writeStat(StatList.objectCraftStats[var5]) > 0) {
                var4 = true;
            }

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

        this.field_27272_d = new SorterStatsBlock(this, var1);
    }