mojira.dev
MC-49307

UseItem criteriaType does not work with DataTags

The UseItem /scoreboard feature is not compatible with dataTags
For example:
/scoreboard objectives add SpawnEgg1 stat.useItem.minecraft.spawn_egg 1
and
/scoreboard objectives add SpawnEgg2 stat.useItem.minecraft.spawn_egg 2
will both track the use of every Spawnegg no matter which Data they have!

Comments 4

Fix would be very nice ^^

This would be so useful! Plz fix and change so that this will work!

OH YEAH!!! Not sure if its a bug (dataTags) but a 1.8 fix would rule! Vote!

Scoreboard objectives do not support data tags. The argument after the criteriaType is the display name, so in the provided commands, the "1" and "2" set the display name, not the data tag. The format of the command would have to be changed to support this.

Halbzwilling

(Unassigned)

Unconfirmed

criteriaType, dataTag, objectives, scoreboard

Minecraft 14w08a

Retrieved