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

Name IDs don't work in most data tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w02b, Minecraft 14w02c
    • Fix Version/s: Minecraft 14w03b
    • Labels:
    • Confirmation Status:
      Unconfirmed
    • Game Mode:
      Creative

      Description

      The use of name IDs in block/item ID tags in the data tag of commands doesn't work most of the time. From my testing, I found that only the CanDestroy tag of an item and the id tag of the dropped item entity work.

      In case you don't know what I'm talking about, as of 14w02a the dataTag argument in commands can use the name ID of a block/item in quotation marks in place of a numerical ID.

      How to reproduce:

      Summon a dropped item with this tag:

      {Item:{id:"stone"}}

      Then summon a zombie with this tag:

      {Equipment:[{id:"stone"}]}

      Then summon another zombie with this tag:

      {Equipment:[{id:1}]}

      The item on the ground and in the second zombie's hand will be a stone block as expected, but the first zombie will not be holding anything.

      Using "minecraft:stone" instead of "stone" will have the same result. All name IDs are still recognized without the "minecraft:".

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              BoxFigs BoxFigs
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: