Auto Offhand
AutoOffhand is a server-side mod for Minecraft Forge that automatically manages the contents of your offhand. It moves specific items directly into your offhand when you pick them up, provided the slot is empty. The mod also intelligently handles returning projectiles, such as tridents with the "Loyalty" enchantment, placing them back into your offhand if configured.
Key Features
Automatic Offhand Placement: Configured items are automatically placed into the offhand slot upon pickup if it's free.
Returning Projectile Handling: Automatically moves returning projectiles (e.g., tridents with "Loyalty", compatible items from other mods like aerodynamic modular items from Tetra) back to the offhand if it's empty and the item is configured.
Server and Client Configuration: Server administrators with the mod installed on the client can define a global list of items in the server configuration file (config/autooffhand-server.toml) or via the /autooffhand serverconfig command. Players with the mod installed on the client can manage their own list of items through an in-game settings menu. Players can choose whether to use the server's list or their personal one (which persists even after uninstalling the mod).
Configuration GUI: Open the player-specific configuration screen using the assigned key (default: O) to add or remove items from your personal list.
Configuration
Server Side: Use the /autooffhand serverconfig command as an administrator to open the server configuration GUI. Edit the autooffhand-server.toml file located in your server's <world>/serverconfig directory (saves/<world>/serverconfig for single-player) to define the global list of items. Use item registry names (e.g., minecraft:torch) or NBT data for specific items.
Client Side: Press the O key (by default) in-game to open the configuration GUI. Add or remove item registry names (right-click) or specific item NBT strings (left-click) to customize your personal list. Use the /autooffhand toggle command to switch between using the server's global configuration list and your own.
Additional Compatibility
- Modular items from Tetra
- If you need more compatibility, just let me know! Seriously, just send me a message.