Exemple #1
0
  public void b(NBTTagCompound nbttagcompound) {
    super.b(nbttagcompound);
    if (this.ac.a(17) == 1) {
      nbttagcompound.a("powered", true);
    }

    nbttagcompound.a("Fuse", (short) this.bk);
    nbttagcompound.a("ExplosionRadius", (byte) this.bl);
    nbttagcompound.a("ignited", this.cl());
  }
Exemple #2
0
  public void b(NBTTagCompound nbttagcompound) {
    super.b(nbttagcompound);
    if (this.i_()) {
      nbttagcompound.a("IsBaby", true);
    }

    if (this.cm()) {
      nbttagcompound.a("IsVillager", true);
    }

    nbttagcompound.a("ConversionTime", this.cn() ? this.bm : -1);
    nbttagcompound.a("CanBreakDoors", this.cl());
  }