Demagnetize

Mods
2,017,413 Downloads Last Updated: Oct 23, 2020 Game Version: Forge

Demagnetize

License: MIT Environment: Both Mod loader: Forge

Item magnets are very helpful when mining, however they can disrupt item-based automation, such as the Atomic Reconstructor from Actually Additions. The Demagnetizer is a solution to this, which prevents item magnets from functioning within an area around them.

Demagnetizers can also be filtered or redstone controlled, so that they only activate when necessary. The Advanced Demagnetizer has a larger range and more filter slots.

Demagnetizer demo gif

Mod compatibility for 1.12

  • Thermal series - Fixed completely with version 5.5.1 (minor bug previously)
  • Actually Additions
  • Botania - Requires r1.10-362 or newer
  • Draconic Evolution - Fixed with version 2.3.18.329
  • Ender IO - Fixed completely with version 5.0.43 (minor bug previously)
  • Reliquary
  • Simple Magnet - Fixed with version 1.2.11
  • Not Enough Items 1.8+ - Fixed with version 2.4.2.243
  • Quantum Flux - Fixed with version 2.0.17
  • Pickle Tweaks - Fixed with version 2.1.0
  • Better Magnets
  • Tiered Magnets
  • GregTech Classic - Fixed with version 1.0.3

Mod compatibility for 1.14+

I don't have time to maintain the compatibility list anymore but most mods seem to support the NBT tags now :)

For mod developers

If your mod has an Item Magnet, do not pick up items if the PreventRemoteMovement NBT tag exists on the EntityItem.
If your mod has a item collector block (e.g. the Ranged Collector or the Vacuum Chest), do not pick up items if the PreventRemoteMovement NBT tag exists on the EntityItem, but if the AllowMachineRemoteMovement NBT tag exists, ignore the previous NBT tag. This is to ensure that Item Magnets do not pick up items on conveyors or demagnetized items, while also ensuring that item collector blocks are not restricted by the Demagnetizer.

For more information, see this github issue (the CoFH issue had more information but was removed) and this pull request.

Support

I'm comp500#7396 on the Minecraft Mod Development Discord server. I'm also /u/comp500 on reddit and comp500 on Keybase. DM me or @ me at any time if you have any questions.

Comments

Posts Quoted: