1
What is the @selector syntax to detect for a player wearing, for instance, iron boots named "Special Shoes"? I'm pretty sure I've done it before, but that was a long time ago and I can't remember how. Google hasn't been much help, either.
Create an account or sign in to comment.
4
1
/scoreboard players set @a OBJECTIVE 1 {Inventory:[{Slot:100b,tag:{display:{Name:"Super Shoes"}}]}
1
That worked perfectly, thanks!
1
There is no syntax, but you can use a data tag after the scoreboard command.
/scoreboard players set @a SCORE 1 datatag
/scoreboard players set @a SCORE 1 datatag
1
Ah, yeah, that's it! What would the datatag be, exactly? NBT isn't my strong suit...