Tools from creative inventory/crafting don't have Damage:0 set until relog
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
- Get a diamond pickaxe from creative mode
- Drop it
- 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).
2018-08-23, 01:35 PM
2019-10-17, 08:40 PM
2019-09-06, 03:08 PM
10
2
Minecraft 1.13.1 - 19w35a
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