Demagnetize
物品磁铁在挖矿时非常有用,但它们会干扰基于物品的自动化系统,例如来自 Actually Additions 的原子重构器。Demagnetizer 是解决此问题的方案,它可以防止物品磁铁在其周围区域生效。
Demagnetizers 还可以进行过滤或红石控制,以便仅在必要时激活。Advanced Demagnetizer 具有更大的范围和更多的过滤槽位。
1.12 版本模组兼容性
- Thermal series - 已在 5.5.1 版本中完全修复(此前存在一个小错误)
- Actually Additions
- Botania - 需要 r1.10-362 或更高版本
- Draconic Evolution - 已在 2.3.18.329 版本中修复
- Ender IO - 已在 5.0.43 版本中完全修复(此前存在一个小错误)
- Reliquary
- Simple Magnet - 已在 1.2.11 版本中修复
- Not Enough Items 1.8+ - 已在 2.4.2.243 版本中修复
- Quantum Flux - 已在 2.0.17 版本中修复
- Pickle Tweaks - 已在 2.1.0 版本中修复
- Better Magnets
- Tiered Magnets
- GregTech Classic - 已在 1.0.3 版本中修复
1.14+ 版本模组兼容性
我没有时间再维护兼容性列表了,但大多数模组现在似乎都支持 NBT 标签 :)
面向模组开发者
如果你的模组包含 Item Magnet,当 EntityItem 上存在 PreventRemoteMovement NBT 标签时,请勿拾取物品。
如果你的模组包含物品收集方块(例如 Ranged Collector 或 Vacuum Chest),当 EntityItem 上存在 PreventRemoteMovement NBT 标签时,请勿拾取物品;但如果存在 AllowMachineRemoteMovement NBT 标签,则忽略前一个 NBT 标签。这是为了确保 Item Magnets 不会从传送带或去磁区域拾取物品,同时也确保物品收集方块不受 Demagnetizer 的限制。
更多信息,请参阅 这个 GitHub issue(CoFH 的 issue 包含更多信息但已被移除)以及 这个 pull request。
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧