Mojira Archive
MC-53914

NBT specifier doesn't work with damage values

I tried to make it so every spawn egg with a certain damage value would get /kill'ed, but when I specify the damage value, the command doesn't recognise them, and just say:

[20:08:54] The dataTag does not match for 0e45e872-0af6-4bee-90c3-becbd1309f37

These are the commands I used:

/scoreboard objectives add incinerate dummy
/scoreboard players set @e[type=Item,r=10] incinerate 1 {damage:50,Item:{id:minecraft:spawn_egg}}

When I remove the "damage:1" part, it works just fine, so I think it's a bug. I even changed it to "Damage:1" instead of "damage:1" and checked the wiki to make sure.

Invalid

wessltov

2014-04-28, 09:19 PM

2014-04-28, 11:39 PM

2014-04-28, 10:07 PM

0

2

Unconfirmed

Minecraft 14w17a

-