PeaceGiver - Mod for Peaceful Play
Add special peace-giving blocks to your world that prevent hostile mob spawns in the surrounding area. Choose any block for this purpose - configuration offers limitless possibilities!
By default, beacons become sources of tranquility with an effect radius of seven chunks in all directions (49 chunks total). The central chunk containing the peace-giving block is also protected.
The radius is defined by the number of chunks from the central block. If you want protection to work only in a single chunk (where the block itself is placed), set the value to 0 in the configuration.
Use the /giverebuild command to reload the configuration without restarting the server, so changes take effect immediately.