adds a magnet this pulls items towards the player. as seen in many modded packs but in a vanilla datapack.
Some ideas and programming assistance were generated with the help of AI tools (ChatGPT) for briainstorming and function logic. All code was tested, intergrated and reviewed manually.