Having more time to form conclusions, I have to commend @modrinth for doing bare legal minimum and standing for their creator. If we are to take the screenshots provided on Twitter at face value, it appears Mojang is trying to strong-hand their EULA agreement, and not claim copyright.
This is an important distinction, because neither CurseForge nor Modrinth are parties to EULA, EULA is a legal agreement between one buying license to Minecraft and Mojang, not between Mojang and the world or publishers of 3rd party code projects and Mojang.
Calling out that bluff on Mojang's legal side is what community oriented services should do.
Of course, Modrinth would still be legally required to take the project down if provided with legally sound justification, such as DMCA notice, but that does open Mojang to entire legal shenanigans with how legal that would be in this situation (which they have money to fight for, mod's creator likely doesn't).