public void WriteToStream(IPacketCodec content) { content.WriteVarInt(EntityId); content.Write(PlayerUuid); content.Write(Position); content.WriteAngleRotation(Rotation); }
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); }