mojira.dev
MC-62071

The DataTag function for /scoreboard only works with items

To reproduce, on a superflat void world with no entities (no leashes or frames either), execute this command:

/scoreboard objectives add WolfAnger dummy

Adds the objective

After doing that command, spawn an untamed wolf then hit it in survival. When the wolf is attacking you, run this command:

/scoreboard players set @e[type=Wolf] WolfAnger 1 {Angry:1}

Sets the WolfAnger scores of angry wolves to 1. This should output this message:

Set the score of WolfAnger for player UUID to 1

but instead, fails then outputs this:

The dataTag does not match for UUID

I'm pretty sure I did the dataTags right. /summoning a wolf with the exact data tag makes it look angry, so it's just the command that's going bonkers.

Linked issues

Attachments

Comments 6

Uhh, no. The picture I uploaded proves that you can check for data tags.

my multiplayer isn't working thats the whole reason i signed up to play with my friends๐Ÿ˜ž

Incorrect link!
This is not a duplicate of MC-46304, as when this was created, this feature wasn't implemented yet, but in the snapshot versions it IS implemented (Sethbling even made a video about http://www.youtube.com/watch?v=AesTxQdJR_E&list=UU8aG3LDTDwNR1UQhSn9uVrw for everyone who wants to see it)

So now I guess you can find out which tags aren't working ๐Ÿ˜‰

Just realized that I accidentally didn't include a "b" in {Angry:1}. It should have been {Angry:1b}! Ahahahaha..... Yeah, this is invalid.

Does it work with the "b"?

kazblox

(Unassigned)

Unconfirmed

Minecraft 14w28b

Retrieved