跳到正文

Auto Offhand

作者:TheUnderscore

Automatically move specific items to the offhand on pickup

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Description

AutoOffhand is a server-side Minecraft Forge mod, designed to automatically manage your offhand slot. It moves specific items directly into your offhand when you pick them up, provided the slot is empty. It also intelligently handles returning projectiles like Loyalty Tridents, placing them back into your offhand if configured.

Features

  • Automatic Offhand Placement: Configured items are automatically placed into your offhand slot upon pickup if the slot is free.
  • Returning Projectile Handling: Automatically moves returning projectiles (e.g., Loyalty Tridents, compatible modded items like Tetra’s aerodynamic modular items) back to the offhand if it’s empty and the item is configured.
  • Server & Player Configuration:
    • Server administrators with the mod installed on the client can define a global list of items in the server config file (config/autooffhand-server.toml) or via /autooffhand serverconfig.
    • Players with the mod installed on the client can manage their own list of items via an in-game configuration screen.
    • Players can choose whether to use the server’s list or their personal list (persistent even after uninstalling).
  • Configuration GUI: Access the player-specific configuration screen using a keybind (default: O) to add or remove items from your personal list.

Configuration

  1. Server-Side:
    • Use the /autooffhand serverconfig command as an administrator to open the server config GUI.
    • Edit the autooffhand-server.toml file found 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 item NBT data for specific items.
  2. 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 config list and your own.

Extra Compatibility

常见问题

Auto Offhand 支持哪些 Minecraft 版本?

Auto Offhand 支持 Minecraft Java 版 1.16.5–1.18.2,共 2 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Auto Offhand 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

TheUnderscore 的其他作品

查看全部 →