Swap weapons, armor, and tools on the fly with Gear Swapper Mod by mod developer Mcjty.
What the Mod is About?
The mod mimics popular action role-playing video games and MMORPGs that allow quick swapping of weapons, tools, and armor with few clicks. The mod allows the player to define up to four different sets of Hotbar + armor that can easily be switched on the go.
Should You Install it?
The mod is pretty helpful when setting up a PvP server, but it is not necessary for the game. It is, however, an excellent mod to have nonetheless.
How to Use
By default, it works as follows:
Sneak-left-click on one of the four slots to remember your current hotbar+armor selection in that slot. Your armor and Hotbar remain on you. The block will also remember how many you had of the given item and attempt to restore that amount later.
Right-click on one of the four slots to restore the hotbar+armor as it was remembered then. All items currently in your hotbar or armor that are in the way for the remembered items will be stored in your inventory. All slots that were empty when you remembered your setup would be unchanged (i.e., it will, by default, not empty them).
When restoring a selection, the block will first look in the player inventory, then in the local inventory (a 4×4 internal buffer), and finally in any possible adjacent inventories until it finds the items it needs.
The Bauble inventory (when present) is also supported.
However, this block can be configured for more control. If you right-click the block on the ‘Settings…’ label or on the sides of the block, then it will show a GUI:
The example above shows a GUI with four different configurations:
The top-left configuration (top row in the GUI) is configured with your preferred mining gear. i.e., sword, pickaxe, torches, some sand, and good armor. The slots that are crossed out (two of them in this selection) will be cleared. The other two slots are left alone (i.e., whatever is there will remain there).
The top-right configuration (second row in the GUI) is configured for gardening. No armor is desired here.
The bottom-left configuration (third row in the GUI) is configured for tech work.
The bottom-right configuration (last row in the GUI) is configured to clear the Hotbar and armor slots completely.
The three icons on the top-left of the GUI show the preference for storing items from your Hotbar and armor when you restore a different selection. The default settings are to first store items back in the player’s inventory. If that is full, it will go to the internal inventory; if that also fails, it will store in an adjacent inventory. If that final fallback would also fails it will simply throw the items into the world. Nothing will be lost.
By clicking those three icons, you can change the priority. For example. If you prefer that armor and tools that are stored away should go to the internal inventory, then you can change the top icon until it resembles the wooden icon with the four boxes on it.
There are five different gear swappers (stone, wood, lapis lazuli, iron, and glass), and you can also configure another one with a modded texture through the config.