In Sethbling's snapshot 14w07b video, he uses a command block to give him jump boost while he is wearing his Boots of Leaping.
I am trying to imitate this for a multiplayer map I am making. Wearing golden boots called "Stealth Boots" is supposed to give that player invisibility. I am using this command:
/effect @a[Inventory:[{Slot:100b,tag:{display:{Name:"Stealth Boots"}}}]] 14 30000 200
I do know that in the video he is using a /testfor
command, but since I'm making a multiplayer map in order to use this technique I'd have to define a scoreboard variable for each player - and even then, the players would be finite. Thus, I want to be able to use the command DIRECTLY.
When I use that command, it either says "That player cannot be found" or "The entity UUID provided is in an invalid format" - the former of which I'm familiar with; the later I've barely ever seen before.
So, my method doesn't seem to work - how do I fix it?