Pillagers in taigas, snowy biomes and swamps can show up riding a war beast. Patrol leaders there usually come mounted, sometimes the rest of the patrol too. In raids they start showing up from wave 3, or wave 2 on Hard, up to 3 per wave, and those ones have armor with an illager banner. You won't find war beasts in the wild, they always come with the illagers. All of this can be changed in the config.
The War Bear lives in taigas and it's white in snowy biomes. It roars before charging, that's your moment to get out of the way, because if it hits you you go flying.
The War Gator is low and long. It swims with the rider on top and lunges to bite.
Getting one
Kill the rider and the beast stays angry at you for a few seconds. Once it calms down, feed it. Bears like sweet berries, glow berries, fish or honeycomb, gators like raw chicken, fish or rabbit. It can take a few tries.
It keeps the saddle and armor it had. Right click to ride it, and the jump bar makes it charge through mobs. Sneak and right click with an empty hand to make it sit, or with an item in hand to open its inventory.
There are spawn eggs for both, plus two that spawn a pillager already riding one.
Requirements
Minecraft 1.20.1 with Forge 47 or newer, or Minecraft 1.21.1 with NeoForge 21.1.172 or newer. You also need GeckoLib 4.8.4 or newer, on the server and on the clients. You can use it in modpacks.
I tested it in single player and on a dedicated server, on both the Forge and the NeoForge version, but not yet on a server with more people. Also, in my worlds I never got a natural patrol with a beast, only the raids. No Fabric version for now.
I post my new mods and ports on my Discord, you can suggest what I do next there too: https://discord.gg/T34SAaw2rJ
I also port mods to other versions and loaders: https://dheightsan.github.io/forge-ports/