Topic category: Help with modding (Java Edition)
As the tittle says i want to add a magnet to my mod. There are a lot of mods out there which do the same (or similar) thing so it should be possible.
There doesn't seem to be a way to interact with entities nearby so even if I learn how to move the properly it would still be impossible.
It's okay if it includes coding. I haven't coded in Java but i have used a few other languages.