Source code: https://github.com/SpecialAPI/ModdedMagnetMod.
Mod the Gungeon is deprecated, download this mod from Thunderstore instead: https://enter-the-gungeon.thunderstore.io/package/SpecialAPI/Modded_Magnet/