
# -> Remove attribute modifier
attribute @s oxygen_bonus modifier remove overly_realistic:player_underwater_endurance

# -> Set attribute modifier
$attribute @s oxygen_bonus modifier add overly_realistic:player_underwater_endurance $(generic_value_0) add_value