attribute
Is there a way to use /attribute @s minecraft:max_health modifier add id 00001 add_multiplied_base without having to specify the ID, so that players can give themselves the effect, and the more they give it to themselves, the more health they get?