
# -> Remove attribute modifier
attribute @s water_movement_efficiency modifier remove overly_realistic:player_swim_speed

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