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

Tools from creative inventory/crafting don't have Damage:0 set until relog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 19w37a
    • Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, 19w35a
    • Confirmed
    • Items
    • Normal

      The bug

      Upon dropping an undamaged item it has no Damage:0 tag, so you can't check via commands if the item is not damaged.

      How to reproduce

      1. Get a diamond pickaxe from creative mode
      2. Drop it
      3. Run this command:
        /data get entity @e[type=item,limit=1]
        

        → Inside the Item NBTTag there's no {Damage:0} tag

      Exiting and re-entering the world writes the {Damage:0} tag to the item (both if on ground on your inventory).

            slicedlime [Mojang] slicedlime
            insane96mcp Insane96MCP
            Votes:
            10 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: