
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 matches 26.1.2?
Magnet Command 0.3.0+mc26.1.1 targets 26.1, 26.1.1, 26.1.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
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.1.1 need?
0.3.0+mc26.1.1 on 26.1.2. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Magnet Command without breaking your instance.
Built for Magnet Command 0.3.0+mc26.1.1 on 26.1.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.3.0+mc26.1.1. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 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.1.1. 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.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.1.1
magnet-command-0.3.0+mc26.1.1.jar
5 Apr 2026
Looking for an older file? The official Modrinth project page is in Resources.