#Attribute modifier add

1 messages · Page 1 of 1 (latest)

robust meteor
#

Is there any way to dynamically add or remove attribute values from the base without having to create new IDs or changing it manually?

hasty apexBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1747644559:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

wise orchid
#

Yes, using modifiers

#

The id in there is just a unique string so you can remove that modifier later

robust meteor
#

would i have to create a new id modifier for each increment

wise orchid
#

What are you actually trying to do with it, that might help find the optimal solution

robust meteor
#

i am making a datapack where ''training'' increases stats, i have been able to create the scoreboards, was just wondering if there was any way to add and remove small points from these attributes without having to manually check for each step?

wise orchid
#

You can use a macro

#

That you can one id and it has a different value each time

robust meteor
#

are macros native to vanilla or something else, it would be great if it could work on servers

wise orchid
#

Yes, native vanilla

robust meteor
#

ill look into it thanks!

#

so the keys can be variables?