Magnet Hopper
A hopper variant that pulls dropped items in a 3D radius before depositing them into the container below. Solves the universal "items despawn around my mob farm" pain in one dedicated block.
Features
- Magnet pull — ItemEntities in the tier's 3D radius get vacuumed into the internal 5-slot storage and flow down into the container below.
- Vanilla hopper behavior always active — strict superset of a regular hopper: pulls from any container above, pushes to any container below at the standard 8-tick cadence.
- Magnet on/off toggle — UI button to disable just the magnet pull (block keeps acting as a normal hopper).
- 5-slot whitelist/blacklist filter — click a filter slot with an item to ghost-set (the item isn't consumed); empty-hand click to clear; toggle whitelist/blacklist in the UI.
- Redstone-disable — applying a redstone signal pauses everything (matches vanilla hopper convention).
- Placement preview — hold a magnet hopper in either hand and the affected radius draws as a cyan-mint wireframe over your cursor target, with a warm-green surface contour that follows terrain so the floor coverage is always legible.
- Pipe compatibility — exposes the 5-slot storage via Fabric
ItemStorage.SIDEDand the NeoForge item-handler capability. Filter slots are config, not exposed.
Compatibility
- Minecraft: 26.1.x
- Fabric: Loader 0.18.4+ with Fabric API
- NeoForge: 26.1+
- Java: 25
Known limitations
- Items in internal storage spill when the block is broken (the drops are still pickup-able). NBT carry-over planned for v0.2.
- Filter configuration is lost on break. Planned for v0.2.
- All magnet hoppers face down only; side-facing variant planned later.
License
CC0-1.0 (public domain). Use freely in modpacks and derivative works.
Links
How to Install magnet-hopper (Mod)
magnet-hopper by kestalkayden is verified for Fabric, Neoforge across Minecraft versions 26.1, 26.1.1, 26.1.2, 26.2, 26.2-rc-2, 26.3 (latest release: 0.3.0+mc26.3, file size: 160 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (26.1, 26.1.1, 26.1.2, 26.2, 26.2-rc-2, 26.3) and platform (Fabric, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Neoforge.
- Move the downloaded magnet-hopper file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Updated for **Minecraft 26.3** (Fabric Loader 0.19.5+ / Fabric API 0.161.0+; NeoForge
26.3.0.7-beta+). Requires Minecraft 26.3.
## Fixed
- Ported to the 26.3 APIs: block codecs (removed from the game) and the 26.3 resource/data pack formats.
## Notes
- NeoForge for 26.3 is still in **beta**; this build targets
26.3.0.7-beta. - No world or config changes; placed hoppers, their filters, and their magnet toggle carry over exactly as saved.
- Updated for **Minecraft 26.3** (Fabric Loader 0.19.5+ / Fabric API 0.161.0+; NeoForge
26.3.0.7-beta+). Requires Minecraft 26.3.
## Fixed
- Ported to the 26.3 APIs: block codecs (removed from the game) and the 26.3 resource/data pack formats.
## Notes
- NeoForge for 26.3 is still in **beta**; this build targets
26.3.0.7-beta. - No world or config changes; placed hoppers, their filters, and their magnet toggle carry over exactly as saved.
- Internal packaging metadata (
pack.mcmeta) now declares the correct resource and data pack formats for Minecraft 26.2.
## Notes
- Nothing changes for players** — this build behaves identically to v0.2.2. No new features, no gameplay changes.
- The old values worked in practice, because Minecraft does not enforce pack formats for mod-bundled resources. This corrects them so the mod keeps working if that ever changes.
- Internal packaging metadata (
pack.mcmeta) now declares the correct resource and data pack formats for Minecraft 26.2.
## Notes
- Nothing changes for players** — this build behaves identically to v0.2.2. No new features, no gameplay changes.
- The old values worked in practice, because Minecraft does not enforce pack formats for mod-bundled resources. This corrects them so the mod keeps working if that ever changes.
- Internal packaging metadata (
pack.mcmeta) now declares the correct resource and data pack formats for Minecraft 26.1.2.
## Notes
- Nothing changes for players** — this build behaves identically to v0.1.1. No new features, no gameplay changes.
- The old values worked in practice, because Minecraft does not enforce pack formats for mod-bundled resources. This corrects them so the mod keeps working if that ever changes.
- Internal packaging metadata (
pack.mcmeta) now declares the correct resource and data pack formats for Minecraft 26.1.2.
## Notes
- Nothing changes for players** — this build behaves identically to v0.1.1. No new features, no gameplay changes.
- The old values worked in practice, because Minecraft does not enforce pack formats for mod-bundled resources. This corrects them so the mod keeps working if that ever changes.
- Updated for Minecraft 26.2 (final). The earlier 0.2.1 build targeted the 26.2 release candidate and will not load on 26.2 final — update to this version.
## Added
- NeoForge builds for 26.2 (on NeoForge
26.2.0.0-beta); the release-candidate builds were Fabric-only while NeoForged had not yet shipped a 26.2 build.
- Updated for Minecraft 26.2 (final). The earlier 0.2.1 build targeted the 26.2 release candidate and will not load on 26.2 final — update to this version.
## Added
- NeoForge builds for 26.2 (on NeoForge
26.2.0.0-beta); the release-candidate builds were Fabric-only while NeoForged had not yet shipped a 26.2 build.
## Fixed
- Now loads on **Minecraft 26.2-rc.2**. The previous build pinned the Fabric
26.2-rc-2 (the build-artifact name) instead of the in-game version idFabric checks at runtime (
26.2-rc.2), so the loader rejected the mod on launch.## Changed
- Updated for **Minecraft 26.2-rc-2** (Fabric). No change to behavior.
## Notes
- Fabric only, for now.** NeoForge has not published a 26.2 build yet — the NeoForge release will follow once it does.
- Built and pinned specifically against
26.2-rc-2. A later release candidate or the final 26.2 release may need a separate build, so treat this as a testing build.
