Demagnetize
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.
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.
can you make this for 1.18
can you make it so that magnets stop picking up xp orbs, specifically with the clumps mod?
Awesome job on this mod and also love that you are working on a fabric version as well! Super handy!!
Does this work with 1.16.3?
In reply to MokahTGS:
I'd assume so, there are very few changes between 1.16.2 and 1.16.3.
Are you planning to make a fabric Version of this mod?
In reply to Mari_023:
Yes, I've been working on one, just haven't gotten around to finishing it yet.
I found in the 1.12 version, hoppers dropping items onto an immersive engineering conveyor belt, is not compatible with this mod.
Any plans to add compatibility?
In reply to druggo44:
What magnet mod are you using? Immersive Engineering conveyor belts should already apply the tag that this mod does to mark items as not being attracted by magnets, so it should just work even without Demagnetize.
In reply to comp500:
I am using the ring of magnetising from actually additions. The demagnetiser works for all other situations (that ive found) with this magnet.
The demagnetiser also works if I just throw the items onto the conveyor belt. Its just when a vanilla minecraft hopper drops them on.
edit: it might be worth mentioning that the pack has betterFPS installed, which has a "fast hopper" option which may dodge whatever code is applying the tag to the items.
Should this be in Server, Client, or Both? Thank you.
In reply to GregD:
It needs to be on both sides, as it adds blocks and because magnets have both client and server side effects.
Will there be a 1.16+ version? Thank you.
In reply to GregD:
There will, just a matter of finding the time to do it. I'll see if I can start on porting it sometime soon, it shouldn't be too hard to do but I don't often use Forge (it will also get a Fabric port, that'll probably take longer) so I don't really know what's changed in the Forge APIs.
In reply to GregD:
I've now updated it to 1.15.2 and 1.16.2!
In reply to comp500:
Awesome! Thank you.
As of 11:48am on 8/15/20 this mod is not showing up in the Twitch App
In reply to GregD:
Give it time, the Twitch app is rather slow to update.
In reply to comp500:
Sounds good. Thanks
1.15.2 chance??
In reply to wackoamd:
I'm somewhat busy at the moment, but when I get some free time I'll port it to 1.15.2 Forge and Fabric most likely.