I searched up how to do this several times and I could only find ways to spawn items that cannot be picked up, and if it was a tutorial about stopping item despawning, it would still despawn after being picked up and dropped on the ground again.
I'm working on a game, fully with command blocks, and I have absolutely no idea how to stop items from despawning.
Could NBT tags be put on item entities too? So that when they get dropped, they still have the NBT tag?
Does anyone know how to stop them from despawning?