
# -> If setting is disabled then return
execute if score #or.setting.no_monsters OverlyRealistic.Settings.ArbitrarySetting matches 0 run \
    return run \
        gamerule spawn_monsters true

# -> Set gamerule
gamerule spawn_monsters true

# -> Loop
schedule function overly_realistic:main/settings/setting_additionals/setting_9/no_monsters_loop_0 2t
