Attraction
Attraction is a Fabric mod that makes Netherite Blocks and Lodestones magnetic.
You must have Fabric API installed to use the mod.
Magnetism
Lodestones and Netherite Blocks attract anything magnetic, including items, magnetic entities such as Iron Golems or Minecarts, and entities wearing Iron or Netherite armor.

Charged Lodestone
You can charge Lodestones with lightning to create the Charged Lodestone. The Charged Lodestone's magnetism can be inverted with a redstone signal.
You can also increase its strength by surrounding it with copper blocks.



Configuration
The magnetic properties of any block, entity or item can be modified in the config located at config/attraction.json
This mod was originally made in 1 week for ModFest: Singularity
How to Install Attraction (Mod)
Attraction by noWickedfortheRest is verified for Fabric, Quilt across Minecraft versions 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1 (latest release: 1.4.0+1.20, file size: 127 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1) and platform (Fabric, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Quilt.
- Move the downloaded Attraction file into your Minecraft
.minecraft/modsfolder and launch the game.
Magnetic blocks that can be boosted are no longer hardcoded.
Magnetic strengths of blocks are no longer hardcoded.
All of these can now be modified by datapacks.