
DatapacksJava
Magnet
Java data pack listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.
⬇ Download on ModrinthItems and XP fly straight to you. Magnet is a vanilla datapack for Minecraft: Java Edition — no mods needed.
How it works:
- Run /function magnet:toggle to turn the magnet ON (per player).
- Dropped items and XP orbs within 7 blocks teleport to you.
- Run the command again to turn it OFF.
Features: per-player toggle, 7-block radius, multiplayer-safe, server-friendly. License: MIT.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.3
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
File checked by MCModsHub
- Downloads as magnet-v1.0-modrinth.zip
- Download size: 3 KB
- Download link checked 8 Nov 2026 — working
These come from our own check of the pack file, not from the source page.