protected void a(NBTTagList var1) {
    for (int var2 = 0; var2 < var1.getSize(); ++var2) {
      NBTTagCompound var3 = var1.getCompound(var2);
      String var4 = var3.getString("Name");
      if (var4.length() > 16) {
        var4 = var4.substring(0, 16);
      }

      class_awk var5 = this.c.e(var4);
      String var6 = var3.getString("DisplayName");
      if (var6.length() > 32) {
        var6 = var6.substring(0, 32);
      }

      var5.a(var6);
      if (var3.hasOfType("TeamColor", 8)) {
        var5.a(EnumChatFormat.getByName(var3.getString("TeamColor")));
      }

      var5.b(var3.getString("Prefix"));
      var5.c(var3.getString("Suffix"));
      if (var3.hasOfType("AllowFriendlyFire", 99)) {
        var5.a(var3.getBoolean("AllowFriendlyFire"));
      }

      if (var3.hasOfType("SeeFriendlyInvisibles", 99)) {
        var5.b(var3.getBoolean("SeeFriendlyInvisibles"));
      }

      class_awp.class_a_in_class_awp var7;
      if (var3.hasOfType("NameTagVisibility", 8)) {
        var7 = class_awp.class_a_in_class_awp.a(var3.getString("NameTagVisibility"));
        if (var7 != null) {
          var5.a(var7);
        }
      }

      if (var3.hasOfType("DeathMessageVisibility", 8)) {
        var7 = class_awp.class_a_in_class_awp.a(var3.getString("DeathMessageVisibility"));
        if (var7 != null) {
          var5.b(var7);
        }
      }

      this.a(var5, var3.getList("Players", 8));
    }
  }
  protected NBTTagList a() {
    NBTTagList var1 = new NBTTagList();
    Collection var2 = this.c.g();
    Iterator var3 = var2.iterator();

    while (var3.hasNext()) {
      class_awk var4 = (class_awk) var3.next();
      NBTTagCompound var5 = new NBTTagCompound();
      var5.put("Name", var4.b());
      var5.put("DisplayName", var4.c());
      if (var4.l().getId() >= 0) {
        var5.put("TeamColor", var4.l().getName());
      }

      var5.put("Prefix", var4.e());
      var5.put("Suffix", var4.f());
      var5.put("AllowFriendlyFire", var4.g());
      var5.put("SeeFriendlyInvisibles", var4.h());
      var5.put("NameTagVisibility", var4.i().e);
      var5.put("DeathMessageVisibility", var4.j().e);
      NBTTagList var6 = new NBTTagList();
      Iterator var7 = var4.d().iterator();

      while (var7.hasNext()) {
        String var8 = (String) var7.next();
        var6.add((NBTTag) (new NBTTagString(var8)));
      }

      var5.put((String) "Players", (NBTTag) var6);
      var1.add((NBTTag) var5);
    }

    return var1;
  }
 protected void a(class_awk var1, NBTTagList var2) {
   for (int var3 = 0; var3 < var2.getSize(); ++var3) {
     this.c.a(var2.getString(var3), var1.b());
   }
 }