Ravager

Ravagers are large hostile mobs that spawn in raids and attack players, villagers, wandering traders and iron golems.

Raids
They spawn starting at wave 3 as part of a raid.

Java Edition
Unridden ravagers spawn at wave 3, a ravager ridden by a pillager spawns at wave 5, and a ravager ridden by a vindicator spawns at wave 7. A ravager ridden by an evoker also spawns at wave 7.

Bedrock Edition
Up to 5 ravagers spawn as part of a raid. Unridden ravagers spawn at waves 3 and 5, a ravager ridden by a pillager spawns at waves 5 and 7, and a ravager ridden by an evoker spawns at wave 7.

Behavior
Ravagers are hostile toward players, iron golems, adult villagers, and wandering traders within a 32-block radius. They attack by ramming enemies with their head, dealing a knockback of 5 blocks. They can also destroy certain block types by charging into them.

Although ravagers are equipped with saddles, they cannot be ridden by the player.

When blocked by a shield while attacking, no damage is dealt and knockback is halved. The ravager also has a 50% chance to become stunned and unable to move or attack for 2 seconds. After this period, it emits a roar that deals damage and a knockback of 5 blocks to nearby entities. The roar knocks back nearby illagers without damaging them and has no effect on other ravagers. The ravager does not attack pillagers who shoot at it and does not attack evokers when evoker fangs accidentally hit a ravager.

Even though they are heavy, they can swim. Their apparent weight makes them take 50% less of knockback. A ravager being ridden by an illager dismounts its rider if it moves into water 2 blocks deep.

Drops
A, unaffected by Looting, additionally experience orbs, the most out of all non-boss entities in the game.

Entity data
Ravagers have entity data associated with them that contains various properties of the mob.

Trivia

 * "Ravager" and "Behemoth" were listed as alternate name suggestions for the illager beast. In Java Edition 19w05a and Bedrock Edition beta 1.11.0.1, illager beasts were renamed to ravagers.
 * In Java Edition 3D Shareware v1.34, ravagers dropped yellow keys.
 * $$, evoker fangs can hurt ravagers, so evokers may kill their mounts while riding ravagers. However, this does not happen $$ because evoker fangs do not hurt them.
 * Ravager was mainly inspired by the mythological creature, Manticore, especially the one from Dungeons & Dragons.
 * Ravagers were unused during snapshot 18w46a, but were added as a raid exclusive mob in snapshot 18w47a.
 * Even though ravagers aren't a type of illager $$, their texture is in the "illager" folder in client.jar.
 * Player can spawn ravager with riders with command
 * In the ravager's texture, it has chains on them.

Exp1:/summon ravager ~ ~ ~ minecraft:spawn_with_pillager_rider. (For normal illager rider)

Exp2:/summon ravager ~ ~ ~ minecraft:spawn_with_pillager_captain_rider. (For captain illager rider)

Ravagers are two blocks wide and almost 4 blocks long, their horns make them 2 blocks tall. So this can be used as an advantage to take cover from ravagers by having a door gap which is 1 block wide and by 2 blocks tall in your shelter, since they cannot fit in.