What's wrong with my command? "The entity UUID provided is in an invalid format"

What's wrong with my command? "The entity UUID provided is in an invalid format" - Inspirational Message on Blue Concrete Pavement

I am trying to detect if a player has a score with this range, and if so, set down a redstone wire. It says "The entity UUID provided is in an invalid format" and doesn't work. Here is exactly what I put into the command block:

execute @p[score_direction=4,score_direction_min=3] ~ ~ ~ setblock 13 2 7 redstone_wire

I also had another command with a range of 1, not 2:

execute @p[score_direction=1,score_direction_min=1] ~ ~ ~ setblock 13 2 7 redstone_wire

Can anyone tell me what is wrong with this command?



Best Answer

It's because it couldn't find any entity with the direction value between 3 and 4. I tested this command with the executed command changed:

/execute @p[score_direction=4,score_direction_min=3] ~ ~ ~ say FOUND

The executing of the command was succesful after running these 2 commands:

/scoreboard objectives add direction dummy
/scoreboard players set rudygreg direction 3



Pictures about "What's wrong with my command? "The entity UUID provided is in an invalid format""

What's wrong with my command? "The entity UUID provided is in an invalid format" - Close-Up Shot of Scrabble Tiles on a White Surface
What's wrong with my command? "The entity UUID provided is in an invalid format" - Adorable disabled girl in white clothes looking away while sitting in wheelchair on sandy ground in nature with growing trees
What's wrong with my command? "The entity UUID provided is in an invalid format" - Selective Focus Photo of a Prop





STEP KIDS REFUSE To GET ALONG, What Happens Is Shocking | Dhar Mann




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Eva Bronzini, Anna Tarazevich, Meruyert Gonullu, RODNAE Productions