Curse of Vanishing

Curse of Vanishing is an enchantment that causes the item to disappear on death.

Obtaining
Curse of Vanishing can be obtained only from chest loot, fishing, or trading for enchanted books.

Usage
When the player dies while a cursed item is in their inventory, it does not drop on the ground, but is removed from the world entirely. The item does not vanish if it is manually, or if it is placed in a chest before death.

The effect can be mitigated by storing affected items inside a shulker box, or by setting the  gamerule to.

Curse of Vanishing cannot be removed by grindstone or a crafting table.

If an item dropped by a mob (such as a zombie or skeleton wearing armor) has Curse of Vanishing, the enchantment's effect works as normal.

ID