public void b(NBTTagCompound nbttagcompound) { nbttagcompound.setInt("Life", this.ticksFlown); nbttagcompound.setInt("LifeTime", this.expectedLifespan); ItemStack itemstack = this.datawatcher.getItemStack(8); if (itemstack != null) { NBTTagCompound nbttagcompound1 = new NBTTagCompound(); itemstack.save(nbttagcompound1); nbttagcompound.set("FireworksItem", nbttagcompound1); } }