In 1.16, they got rid of dimension IDs and started using a registry. I personally love this decision, but I need to update the mod for it.
The new one seems to try casting the object to a float, causing it to crash when users join the game. That is obviously bad, so let's not do it.