I tried to load a new world in 1.20.1 with the same mods and it worked. So I assume it has something to do with variable name changes in the code.
Game crashes while world is loading. World update from 1.18.2 to 1.20.1 not possible
modsScreenShot.PNG