Minecraft wiki entry for Ravager, associated text: The ravager does not attack pillagers who shoot at it by accident and does not attack evokers when evoker fangs accidentally hit a ravager. When a vindicator on a ravager has been named "Johnny" it might attack the ravager while it is riding it ‌[Java Edition only] but the ravager does not attack the vindicator for any reason. When a ravager gets shot by a mob that battles with a projectile while it is attacking the player, the ravager first attempts to kill who shot it, then goes back to attacking the player once the deed is done. Any mob that doesn't battle with projectiles requires ravagers to roar in order to have a hit on them.