protected void d(NBTTagCompound var1) { NBTTagCompound var2 = new NBTTagCompound(); boolean var3 = false; for (int var4 = 0; var4 < 19; ++var4) { class_awj var5 = this.c.a(var4); if (var5 != null) { var2.put("slot_" + var4, var5.b()); var3 = true; } } if (var3) { var1.put((String) "DisplaySlots", (NBTTag) var2); } }
protected NBTTagList b() { NBTTagList var1 = new NBTTagList(); Collection var2 = this.c.c(); Iterator var3 = var2.iterator(); while (var3.hasNext()) { class_awj var4 = (class_awj) var3.next(); if (var4.c() != null) { NBTTagCompound var5 = new NBTTagCompound(); var5.put("Name", var4.b()); var5.put("CriteriaName", var4.c().a()); var5.put("DisplayName", var4.d()); var5.put("RenderType", var4.e().a()); var1.add((NBTTag) var5); } } return var1; }