1

Help - Changing score for player wearing certain armor.

Sybillian's Avatar Sybillian6/20/15 8:55 pm
1 emeralds 252 4
6/21/2015 4:25 pm
Sybillian's Avatar Sybillian
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.
Posted by Sybillian's Avatar
Sybillian
Level 17 : Journeyman Engineer
7

Create an account or sign in to comment.

4

1
06/21/2015 3:57 am
Level 21 : Expert Blockhead
Zoyarox
Zoyarox's Avatar
/scoreboard players set @a OBJECTIVE 1 {Inventory:[{Slot:100b,tag:{display:{Name:"Super Shoes"}}]}

1
06/21/2015 4:25 pm
Level 17 : Journeyman Engineer
Sybillian
Sybillian's Avatar
That worked perfectly, thanks!
1
06/20/2015 9:03 pm
Level 55 : Grandmaster Dragon
Skitto493
Skitto493's Avatar
There is no syntax, but you can use a data tag after the scoreboard command.

/scoreboard players set @a SCORE 1 datatag
1
06/20/2015 9:35 pm
Level 17 : Journeyman Engineer
Sybillian
Sybillian's Avatar
Ah, yeah, that's it! What would the datatag be, exactly? NBT isn't my strong suit...
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome