public void func_70310_b(NBTTagCompound p_70310_1_) {
    super.func_70310_b(p_70310_1_);
    p_70310_1_.func_74777_a("BrewTime", (short) this.field_70357_b);
    NBTTagList var2 = new NBTTagList();

    for (int var3 = 0; var3 < this.field_70359_a.length; ++var3) {
      if (this.field_70359_a[var3] != null) {
        NBTTagCompound var4 = new NBTTagCompound();
        var4.func_74774_a("Slot", (byte) var3);
        this.field_70359_a[var3].func_77955_b(var4);
        var2.func_74742_a(var4);
      }
    }

    p_70310_1_.func_74782_a("Items", var2);
    if (this.func_94042_c()) {
      p_70310_1_.func_74778_a("CustomName", this.field_94132_e);
    }
  }
Пример #2
0
 public void func_70310_b(NBTTagCompound p_70310_1_) {
   super.func_70310_b(p_70310_1_);
   p_70310_1_.func_74768_a("Primary", this.field_82133_f);
   p_70310_1_.func_74768_a("Secondary", this.field_82134_g);
   p_70310_1_.func_74768_a("Levels", this.field_82136_e);
 }