Attraction
Attraction is a Fabric mod that gives magnetic properties to Netherite blocks and Lodestones.
Fabric API is required for the mod to function.
Magnetic Properties
Lodestones and Netherite blocks attract all magnetic objects: items, magnetic entities (such as Iron Golems or minecarts), as well as creatures wearing iron or Netherite armor.

Charged Lodestone
Lodestones can be charged with lightning to create a Charged Lodestone. The magnetic field of the charged stone can be inverted using a redstone signal.
The magnet's power can be increased by surrounding it with copper blocks.



Configuration
Magnetic properties of any blocks, entities, or items can be modified in the configuration file config/attraction.json