This datapack simply gives any arrow-like projectile a 5% chance to deal 3x damage. This should work on most modded arrows as long as they use the damage tag.
Critical Arrows are given a sound cue and a glow to notify your enemies of their impending doom.
However this works on ALL arrows. This means skeletons, pillagers and other arrow-shooting monsters also have the chance to crit!
Works on most minecraft versions 1.16.5 and after.