AutoSwapRight
AutoSwapRight is a Fabric mod for Minecraft 1.21.1 that automatically swaps a configurable item into your offhand when you press right click or a custom key.
By default, it works with `minecraft:shield`. If the item is in your hotbar or inventory, the mod moves it into your offhand, starts using it immediately, and can move your items back when you release the key.
Features
- Automatically swaps a configurable item into your offhand.
- Works with right click by default.
- Supports a custom keybind in Minecraft Controls.
- Lets you set any item ID, such as `minecraft:shield`.
- Optionally restores the original item layout after release.
- Removes the vanilla 5-tick shield blocking delay.
Configuration
With Mod Menu installed, you can edit:
- Item ID
- Restore after release
The config file is created at:
`config/autoswapright.json`
Dependencies
Required:
- Fabric Loader
- Fabric API
Optional:
- Mod Menu, for the in-game config screen
Multiplayer
For the full experience, install the mod on both the client and the server:
- The client handles automatic item swapping.
- The server removes the shield blocking delay.