Hi, I'm trying to solve this problem:
I'd like to set NBT data on an item when it is placed in a specific inventory slot, and remove it if it's it's not in that slot. I had thought about getting InventoryClick events and using that to tell if a player is putting an item in a specific slot, but I realised that the item will still have the custom NBT if the player were to drop it or drop it on death. What approach can I use for this problem?