Simple Magnet

Collecting scattered items during mining or construction can be quite tedious, especially when they fall outside your reach.
This datapack solves this problem by allowing you to use a copper ingot in your offhand as a magnet. All items within approximately a 6-block radius (matching the standard mining distance) will be instantly teleported to your character, making them easy to pick up. Additionally, this function also applies to experience orbs and arrows lying on the ground.
The item that serves as a magnet is determined by the simple_magnet:acts_as_magnet tag. If needed, you can customize this parameter through additional datapacks.