public GuiSlotStatsItem(GuiStats var1) {
      super(var1);
      this.field_27275_a = var1;
      this.field_27273_c = new ArrayList();
      Iterator var2 = StatList.field_25186_c.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.objectBreakStats[var5] != null && GuiStats.getStatsFileWriter(var1).writeStat(StatList.objectBreakStats[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 SorterStatsItem(this, var1);
   }