Esempio n. 1
0
  public void writeToNBT(NBTTagCompound compound) {
    super.writeToNBT(compound);

    for (int var2 = 0; var2 < 4; ++var2) {
      String var3 = IChatComponent.Serializer.componentToJson(this.signText[var2]);
      compound.setString("Text" + (var2 + 1), var3);
    }

    this.field_174883_i.func_179670_b(compound);
  }
Esempio n. 2
0
  public void writeToNBT(NBTTagCompound compound) {
    super.writeToNBT(compound);

    for (int i = 0; i < 4; ++i) {
      String s = IChatComponent.Serializer.componentToJson(this.signText[i]);
      compound.setString("Text" + (i + 1), s);
    }

    this.stats.writeStatsToNBT(compound);
  }