The bug
A player can combine 2 items in the crafting table to get one repaired item. This item loses all NBT data. However, it is also possible to do this if one or both items have the Unbreakable:1b
tag.
How to reproduce
Give yourself an unbreakable pickaxe
/give @s minecraft:diamond_pickaxe[minecraft:unbreakable={}] 2
Put two diamond pickaxes in a crafting table where one or both are unbreakable
→ Notice that the items get combined while being unbreakable
Linked issues
Attachments
Comments 18
18w48a removes this method of crafting, so this can be closed (it's also worth noting that Unbreakable items can't be used in the grindstone)
Confirmed for 1.13.1-pre1