I'm looking for the command that I will add a score to an item (for example: stone) with a certain name (for example: grenade). My command looks like this:
/ scoreboard player add @e [type = Item] grenade 1 {Item: {id: minecraft: stone}}
But I still want to test for the name.
On the version 1.8.8
Which version?
1.8 version
Try it with:
/ scoreboard player add @e [type = Item] minecraft: stone {display: {name: "{\" text \ ": \" name \ "}"}} 1