What is the most reliable way to restrict what items a player can pick up.
Example: player A mines an ore, the ore drops. Player A is now the only one who can pick this item up.
I thought of handling drops and add NBT tag with the player's UUID for instance, and on attempted item pickup, see if the player's UUID matches the item-tag.
However, this seems quite of a demanding process (server-wise). Anyone have experiences with this?