Any chance the PFX will adopt a M61 style rotary cannon, better at a2a and more streamlined with the body. (I know the AMX is an Air to ground aircraft). The following picture is from the Italian AMX so we can see the M61 can fit in a modern small aircraft.
Pakistan could probably consult Aeromacchi to get this design or something similar on to a JF-17 Block 2 as a test bed; either on the nose or at the same position it is on the F-16, just behind the pilot’s left shoulder.
The modern Russian Gsh-6-23 a 23 mm rotary cannon could be added to the JF-17. It is currently in use on the MiG-31.
The knowledge gained from this could be applied to putting a rotary cannon on the J-31 and PFX.
en.m.wikipedia.org
View attachment 73322
View attachment 73323