If an item in your inventory has a curse of vanishing on it and you happen to die, the item is removed from the game. It will not drop from the player on death and instead vanish entirely from the game. This can be disheartening when your diamond/netherite armor or tools happens to disappear after an unfortunate encounter. Curse of vanishing has no player benefit and exists to assist players in adventure maps to make an item impossible to retain.
You can fool the curse of vanishing by dropping the item or placing the item in storage before death. The curse of vanishing only triggers when the player dies with the item in their inventory. If the player is holding the item in their mouse cursor and they die before they get a chance to drop it, the item will still vanish. Even mobs can spawn with enchanted items that have a curse of vanishing. If the item were to drop, it disappears due to the curse.
ncG1vNJzZmivmaC2b7%2FPqKmtq5uasqWtjZympmednrumr9Gana1nk6q%2FtLGMqJ1mrpGjtrS0yKee