/// <summary> /// (abstract) Protected helper method to write subclass entity data to NBT. /// </summary> public override void WriteEntityToNBT(NBTTagCompound par1NBTTagCompound) { par1NBTTagCompound.SetShort("Health", (sbyte)Health); par1NBTTagCompound.SetShort("Age", (short)Age); par1NBTTagCompound.SetCompoundTag("Item", ItemStack.WriteToNBT(new NBTTagCompound())); }