/// <summary> /// Writes a tile entity to NBT. /// </summary> public override void WriteToNBT(NBTTagCompound par1NBTTagCompound) { base.WriteToNBT(par1NBTTagCompound); par1NBTTagCompound.SetString("EntityId", MobID); par1NBTTagCompound.SetShort("Delay", (short)Delay); }