I already know how to execute a command with a carrot rod with a right click. But how can you execute multiple commands.
With which command do you do it now. There are various ways to read this out.
Could you send me the order
I create a scoreboard if you right click with a carrot rod / scoreboard objectives add click minecraft.used: minecraft.carrot_on_a_stick
Then an Execute Command whether you have the Score click: 1 in a Repeating Command Block on Always Active / execute as @a [scores = {click = 1}] at @s run (The Command)
And in a second Repeating Command Block / scoreboard players reset @a click to reset it.
So first thing. If you want to run several commands one after the other, just leave the first command block on repating and put the others in the chain (green → chain). The commands in it are therefore always executed one after the other
To then execute several commands, you simply set the reset command block as the third and set the first a second time, simply with another command after run. If you need more commands, just push the reset further back.
It looks like this then
1. / execute as @a [scores = {click = 1}] at @s run (The Command)
2. / execute as @a [scores = {click = 1}] at @s run (The Command)
3. / execute as @a [scores = {click = 1}] run scoreboard players reset @s click
Thank you very much