
Modrinth · Minecraft mod
Magnet Command
Server-side mod that adds a /magnet command so you don't need to take up valuable inventory space for a magnet.
Quick answer
Which Magnet Command release should I use?
Magnet Command 0.3.0+mc26.2 targets 26.2, 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.
Where it goes
Is Magnet Command required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Magnet Command 0.3.0+mc26.2 need?
0.3.0+mc26.2. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Magnet Command without breaking your instance.
Built for Magnet Command 0.3.0+mc26.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.3.0+mc26.2. It targets 26.2, 26.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 0.3.0+mc26.2. It opens that exact file at the source.
About this project
What does Magnet Command add?
Magnet Command
This mod adds a magnet command to the game which allows you to pull items towards you.
Modes
- Off (default) - The magnet is not active
- Range - The magnet pull items within a range towards you (currently 3 blocks)
- OnBreak - Blocks you break will be directly put in your inventory, if it doesn't fit, the item just drops like normal
The commands
| Command | Description | Permission Node | OP level |
|---|---|---|---|
/magnet Range |
Set magnet mode to Range | magnet.mode.range |
2* |
/magnet OnBreak |
Set magnet mode to OnBreak | magnet.mode.break |
2* |
/magnet Off |
Disable magnet behavior | none | 0 |
/magnet info |
Shows some info about the mod | none | 0 |
* can be changed in config
Config
The config is located at /config/magnet-command.json.
| Option | Description | Default value |
|---|---|---|
permissionLevel |
The default permission/OP level for all modes | 2 |
modes.*.enabled |
Enable/disable modes | true |
modes.Range.range |
The range in blocks for Range mode | 3 |
modes.Range.mode |
Movement mode for the magnet. Options: Pull, Teleport | "Pull" |
modes.Range.pullStrengthMultiplier |
Increase or decrease the pull speed for items | 1.0 |
modes.Range.skipCanPickUpCheck |
Skipping this check makes it so that items are pulled towards you immediately | false |
modes.OnBreak.dropLocation |
Where to drop items if they don't fit in inventory. Options: Block, Player | "Block" |
modes.OnBreak.includeContainerItems |
Enable/disable injecting items from containers like chests and furnaces | true |
Project description from Modrinth.
Pick your setup
Magnet Command by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3
1 loader build26.2
1 loader build26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader buildShowing the newest 12 of 34 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Magnet Command versions and loaders
0.3.0+mc26.2
magnet-command-0.3.0+mc26.2.jar
16 Jun 2026
0.3.0+mc26.1.1
magnet-command-0.3.0+mc26.1.1.jar
5 Apr 2026
0.3.0+mc1.21.11
magnet-command-0.3.0+mc1.21.11.jar
10 Dec 2025
0.3.0+mc1.21.9
magnet-command-0.3.0+mc1.21.9.jar
10 Dec 2025
0.2.5+mc1.21.5
magnet-command-0.2.5+mc1.21.5.jar
31 Mar 2025
0.2.5+mc1.21
magnet-command-0.2.5+mc1.21.jar
13 Sept 2024
0.2.4+mc1.21
magnet-command-0.2.4+mc1.21.jar
13 Jun 2024
0.2.4+mc1.20.3
magnet-command-0.2.4+mc1.20.3.jar
20 Mar 2024
0.2.4+mc1.20.1
magnet-command-0.2.4+mc1.20.1.jar
20 Mar 2024
0.2.4+mc1.19.2
magnet-command-0.2.4+mc1.19.2.jar
20 Mar 2024
0.2.4+mc1.18.2
magnet-command-0.2.4+mc1.18.2.jar
20 Mar 2024
0.2.3+mc1.20.3
magnet-command-0.2.3+mc1.20.3.jar
14 Mar 2024
Looking for an older file? The official Modrinth project page is in Resources.