Way to make monsters stop spawning in the overworld only

I want spawners and structure spawns to work, but not natural spawns in the overworld only

Continue to help post