Topic category: Troubleshooting, bugs, and solutions
So, I wanted to re-format my commands so anyone that uses my mod actually sees the available parameters instead of just <arguments>, but DAMN is it unnecessarily annoying to use.
Here are two primary examples I want to share:
Example 1:
If I attempt to run a command with "damage" and a number amount, it for whatever reason runs the procedure in "set" instead. (this was before I made the number parameters the same name)
Example 2:
If I attempt to run a command with "reset", I get an error because I didn't include a number value although I didn't even include it in this??
Also, there *were* procedures instead of empty blocks because I gave up trying to figure out how to get this to work. Maybe it's something I'm just not understanding about this, but jesus christ.
.... And i messed up the pictures.
Example 1:
Example 2:
In order to use pre-defined values (such as your set/reset/damage), you need to use the literal parameter. Currently, you are saying to Minecraft that you want 3 String arguments (named set/reset/damage) at the same place AND they have to be defined by the players, meaning Minecraft has to guess which argument the player actually wants, which is impossible and why you encounter an error.
To summarize, in your case, you need to use the literal argument, not the String argument.
oh, in that case I'm just a little dumb. Thank you so much!