Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-53914

NBT specifier doesn't work with damage values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 14w17a
    • None
    • Windows 7 64 bits, Java 1.7.0_55 64 bits
    • Unconfirmed

      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.

            Unassigned Unassigned
            wessltov wessltov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: