I'm making a modpack on 1.20.1-FORGE with very many mods (so this took quite the while to figure out as the culprit), using the mod version 3.1.1 of Mob Captains, and whenever a captain spawns in The End, the game freezes for a couple seconds and then crashes to desktop with the crash log telling "Exception in server tick loop".
I can provide the full crash log if needed.