All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Magnet Command

Magnet Command

by ArnoKeesmand • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

How to Install Magnet Command (Mod)

Magnet Command by ArnoKeesmand is verified for Fabric across Minecraft versions 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20-rc1, 1.20.1, 1.20.2 (latest release: 0.3.0+mc26.2, file size: 70 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20-rc1, 1.20.1, 1.20.2) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Magnet Command file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3 26.2
Fabric
5mo ago 1
26.1.x
Fabric
7mo ago 1
1.21.11
Fabric
11mo ago 1
1.21.x
Fabric
11mo ago 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
updated to 26.2
update to 26.1.1
dependency updates for 1.21.11
update to 1.21.9
updated to 1.21.5
fix items dropping from pots when invenntory is full
fix xp dropping in OnBreak mode
New stuff:
  • pull strength option
  • pickup check option (runs before pulling)
Fix: fix: includeContainerItems logic
Breaking shulkers on OnBreak with includeContainerItems now works correctly
### new stuff
  • includeContainerItems
with this option (enabled by default) items from containers (anything from chest to brewing stands) will be injected as well in OnBreak mode
## Added config
You can now change the permission level of the commands and modify magnet behavior
fix: keep magnet state after respawn (death or exiting the end)
# v0.1.1+mc1.20-rc1

Changes
  • update to 1.20
# v0.1.1+mc1.19.2

Changes
  • update to 1.19.2
  • send feedback if mode is changed from a non-player
First version
Introduces modes Range and OnBreak.
Magnet Command Icon
Download Magnet Command
Select game version
Select platform