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

Dropped items can't be found when a data value is specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.12 Pre-Release 7
    • None
    • Unconfirmed

      I experimented a bit with this and here is what I've found:

      Dropped items can be found when a data value is not specified.

      /scoreboard players tag @e[type=item] add stone {Item:{id:"minecraft:stone"}}

      works without issues.

      When a data value is then specified, the command no longer works, and gives an error message saying the item did not have a matching data tag.

      /scoreboard players tag @e[type=item] add stone {Item:{id:"minecraft:stone",Damage:0}}

      does not work.

      This holds true for all dropped item entities.

            Unassigned Unassigned
            djflorida Jason Kristol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: