Here is a very cool data pack called Gigalanterns, the idea it will be quite simple, it will be able to add to your cubic game a special lantern, which is designed to completely prevent various spawn mobs in a radius of as much as sixty-four blocks away!
How to install Gigalanterns Data Pack
- Open the game
- Select the world in which you want to install the data pack, and click on “Configure”
- Click on “Open world folder”
- Open the “data packs” folder and extract the downloaded archive to it