public void WriteToStream(IPacketCodec content)
 {
     content.WriteVarInt(EntityId);
     content.Write(PlayerUuid);
     content.Write(Position);
     content.WriteAngleRotation(Rotation);
 }
Exemple #2
0
 public void WriteToStream(IPacketCodec content)
 {
     content.WriteVarInt(EntityId);
     content.Write((short)(Delta.X * 4096));
     content.Write((short)(Delta.Y * 4096));
     content.Write((short)(Delta.Z * 4096));
     content.WriteAngleRotation(Rotation);
     content.Write(OnGround);
 }
 public void WriteToStream(IPacketCodec content)
 {
     content.WriteVarInt(EntityId);
     content.WriteAngleRotation(Rotation);
     content.Write(OnGround);
 }