Try to hit an entity riding any ride with any projectile shot by some methods like these:
[Will hit]: Shoot an arrow with a bow
[Won't hit]: Summon an arrow with a command and let it fall on the riding entity
[Won't hit]: Spawn an arrow with ScriptAPI and shoot it with shoot() method
[Won't hit]: Spawn an arrow with ScriptAPI and hit the riding entity by applying an impulse
Attachments
Comments 5

Can confirm, affects 1.21.60.24.
Steps to reproduce:
Load the attached .mcworld.
Summon the ravager using the row of command blocks located to the far left.
Try damaging the ravager by summoning a projectile using both script methods and the summon command (located above the entity).
Grab a bow and shoot it.
Observed results:
You can only damage the ravager by shooting it with the bow and arrow
Expected results:
All 4 methods should be able to damage the entity/ravager.