村民交易守卫
Villager Trade Guard 是一款轻量级的 Fabric 模组,旨在改善玩家误伤村民的体验——当你本想与村民进行交易,却不小心点击攻击时。
对于使用触控板的用户来说尤为实用,因为右键操作可能不太方便,而误触左键的情况也很容易发生。启用该模组后,尝试攻击村民或流浪商人时,会直接打开正常的交易界面。
功能特性
- 防止误击村民
- 支持村民和流浪商人
- 将左键攻击转化为交易交互
- 在多人服务器客户端侧即可生效
- 若安装于服务端,可提供服务端保护
- 支持 Mod Menu
- 内置游戏内开关,可随时开启或关闭此功能
配置说明
如果你已安装 Mod Menu,可通过打开 Villager Trade Guard 的配置界面来切换模组的启用状态。
设置保存在本地,并在游戏重启后保持有效。
多人游戏注意事项
仅安装在客户端时,Villager Trade Guard 也能正常工作。在此模式下,它会阻止客户端发送攻击指令,改为发送普通交互指令。
由于客户端模组无法覆盖服务器规则,因此交易是否成功仍取决于服务器是否允许常规的村民交互行为。
致谢
本模组完全由 Codex 和 ChatGPT 通过 AI 生成。
Villager Trade Guard
Villager Trade Guard is a small quality-of-life Fabric mod for players who accidentally hit villagers when they meant to trade with them.
It is especially useful for trackpad users, where right-clicking can be awkward and accidental left-clicks are easy. When the mod is enabled, trying to attack a villager or wandering trader opens their normal trading interaction instead.
Features
- Prevents accidental hits on villagers
- Works with villagers and wandering traders
- Converts left-click attacks into trade interactions
- Works client-side on multiplayer servers
- Also provides server-side protection when installed on a server
- Supports Mod Menu
- Includes an in-game toggle to turn the behavior on or off
Configuration
If you have Mod Menu installed, open the Villager Trade Guard config screen to toggle the mod on or off.
The setting is saved locally and will persist between game launches.
Multiplayer Notes
Villager Trade Guard can work when installed only on your client. In that mode, it prevents your client from sending the attack action and sends a normal interaction instead.
Client-side mods cannot override server rules, so trading still depends on whether the server allows the normal villager interaction.
Credits
This mod was fully AI-generated using Codex and ChatGPT.
评论 0
登录后参与评分
还没有评论,来抢沙发吧