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

Damage:0 is not set on dropped tool that is not damaged

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                insane96mcp Insane96MCP
              • Votes:
                8 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: