/// <summary>
        /// Abstract. Writes the raw packet data to the data stream.
        /// </summary>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void writePacketData(DataOutputStream par1DataOutputStream) throws IOException
        public override void WritePacketData(BinaryWriter par1DataOutputStream)
        {
            par1DataOutputStream.Write(EntityId);
            par1DataOutputStream.Write(Type & 0xff);
            par1DataOutputStream.Write(XPosition);
            par1DataOutputStream.Write(YPosition);
            par1DataOutputStream.Write(ZPosition);
            par1DataOutputStream.Write(Yaw);
            par1DataOutputStream.Write(Pitch);
            par1DataOutputStream.Write(Field_48169_h);
            MetaData.WriteWatchableObjects(par1DataOutputStream);
        }