4
/scoreboard players tag @a flowerpot {SelectedItem:[{id:"minecraft:flower_pot",tag:{display:{Lore:["Işınlayan Saksı"}]}}}]

I writing this command but not working. What is the problem?

1 Answer 1

6

The syntax of /scoreboard players tag is:

/scoreboard players tag <player> <add|remove|list> <tagName> [dataTag]

You are missing add before flowerpot.


SelectedItem should be a compound tag (curly brackets) rather than a list (square brackets).

There's also some other issues with your closing brackets, such as trying to close Lore:[ with } rather than ].


The fixed command should be:

/scoreboard players tag @a add flowerpot {SelectedItem:{id:"minecraft:flower_pot",tag:{display:{Lore:["Işınlayan Saksı"]}}}}
1
  • Hmm I understand Nov 26, 2016 at 19:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .