Hi, does anyone know why this command doesn't work?
/execute if score @p Jumps >= 4 Jumps run say test
What I'm trying to archive is a command that gets executed when there is a specific amount of jumps that a player jumped. In my case it should be 4 Jumps till the command gets executed.
I've already added the objective and it also counts my total jumps.
I guess the score is "minecraft.custom:minecraft.jump"...
Also, here're a command that should work better :
/execute as @a[scores={Jumps=4..}] run say salut tout l'monde! Ça gaze?
Your original command targets @p, and might not work properly in multiplayer.
Another thing is you didn't set an "executor"; if you run it from a command block, it would output "[@] : test"
Uh anyway, I guess it doesn't matter, as it's a test command lol
Rollback Post to RevisionRollBack
I got into chiptune music composition.
You can listen to them on my Youtube channel : https://www.youtube.com/channel/UCjWYbJGk7nvNDbnCvMlZGkw
Descriptions are in french, you'd just need some google translation copy-paste...
Also made some more or less complicated datapacks, shared here (planetminecraft).
Hi, does anyone know why this command doesn't work?
/execute if score @p Jumps >= 4 Jumps run say test
What I'm trying to archive is a command that gets executed when there is a specific amount of jumps that a player jumped. In my case it should be 4 Jumps till the command gets executed.
I've already added the objective and it also counts my total jumps.
Would appreciate help
PS: sorry if my English was bad
I guess the score is "minecraft.custom:minecraft.jump"...
Also, here're a command that should work better :
/execute as @a[scores={Jumps=4..}] run say salut tout l'monde! Ça gaze?
Your original command targets @p, and might not work properly in multiplayer.
Another thing is you didn't set an "executor"; if you run it from a command block, it would output "[@] : test"
Uh anyway, I guess it doesn't matter, as it's a test command lol
I got into chiptune music composition.
You can listen to them on my Youtube channel :
https://www.youtube.com/channel/UCjWYbJGk7nvNDbnCvMlZGkw
Descriptions are in french, you'd just need some google translation copy-paste...
Also made some more or less complicated datapacks, shared here (planetminecraft).
Thanks for the quick response, this one worked for me