How to prevent the natural spawn of mobs in custom dimensions?

Hi! Any help appreciated

Continue to help post