When an item is given the same uuid in its Owner tag as a player, you would expect the player to be able to pickup the item. This however doesn't work.
How to reproduce
- Fill up your inventory with a random item other than dirt.
- Give yourself a dirt item using the following command:
/give @s minecraft:dirt
→ The item is thrown in front of you as expected.
- Make place in your inventory and try to pickup the dirt
→ Notice you are unable to do so. This is because /give adds an Owner tag to make sure only that player can pickup the item.
This bug can also be reproduced by manually summoning an item with the correct Owner tag
MC-124299 /give command: Items on ground for a long time not able to pick up