Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Description
This mod provides an easy way of swapping items between inventory and hotbar slots. There is no in-inventory item swap, because the mod uses a hotbar swap (like, hovering over a hotbar slot and pressing that hotbar slot's key to swap the items). This is less error-prone than picking up the item, placing in the other slot and placing the item that was in the slot in the previous slot. It also makes the mod undetectable on servers unless you spam the swap.
Usage
In the inventory screen, hold the configuration key (L
by default) while hovering a slot, drag your cursor to another slot and release the configuration key. If both slots are valid, you've successfully created a mapping. A mapping can only be created between inventory/armor slots and a hotbar slot. A hotbar slot has to be involved due to how the item swap is performed.
A mapping allows you to shift-click items between those 2 slots, rather than sending the item to the first available slot in the inventory/hotbar.
As of version 2.1.0, you can also chain the mappings. Clicking on any of the slots in the chain will perform the next swap in the cycle. The chain cycles from the first swap to last swap and back to first swap. For example, a chain of 5 swaps would be 1 2 3 4 5 4 3 2 (back to start). If you mess up the cycle, you can ctrl click to reset the cycle and move the items back into their starting positions manually.
With chaining, you can bind a slot to hotbar, and that hotbar slot to another slot, and swap the items between the 2 slots in 3 clicks. This achieves in-inventory item swap that is still undetectable if you don't spam the swaps. This is especially useful for quickly swapping 2 armor items. If the requirement of 3 clicks is too much for you, know that you can alternate between left and right click to make it easier (so, shift + (left-right-left) to swap the 2 armor items).
This isn't limited to 3 swaps, but I doubt there's much use for chains beyond that.
You can also delete slot swap chains using the delete chain keybinding (defaults to Del
.)
Configuring
Execute /itemswap config
or use Mod Menu.