Started by
Hariix_
on
Topic category: Help with MCreator software
Good morning,
I would like to know if we can create commands with arguments like for example: /weather rain (Just an exemple).
I need multiple arguments...
Thanks for helping me!
Nice day
i need that in my mod, and i am pretty sure that it needs very complex element code editing.
there is a block called "command parameter with index x" I don't know how to use it but you can google it
I know how to use it!
If: command parameter with index 0 = “rain”
Do: something
If: command parameter with index 0 = “clear”
Do: something
This procedure looks for rain or clear as the second word in the command (the one after the command itself.) If you want there to be a word after that, do the same thing but with 1 as the index.
How would you do if you wanted to change values
For example, I want to add
"/mana <set/add/remove> <value>"
I meant to say "what would you do"
Probably another IF in the procedure inside