Offhand Tweaks
停止误触盾牌格挡和错放火把! Offhand Tweaks 是一款轻量级、高度可定制的辅助体验(QoL)模组,让你完全掌控副手栏。你可以基于物品类别选择性禁用副手的右键交互,从而将鼠标右键(RMB)解放出来用于与世界互动、打开箱子或调整机械装置,无需频繁卸下副手物品。
✨ 功能特性
每位玩家都可以配置自己独立的设置。该模组允许你针对特定类别切换副手右键交互:
- ?️ 盾牌: 禁用右键格挡。当你只想让盾牌提供被动属性加成,或者正在处理复杂的方块交互时非常完美。
- ? 光源: 避免在尝试与面前的方块交互时意外放置火把、灯笼或灯。
- ? 食物: 切换是否可以直接从副手栏食用食物。
- ? 其他方块与物品: 一个全局开关,用于限制从副手栏放置或使用任何其他未指定的方块和物品。
⚙️ 工作原理(零同步错误)
与会导致烦人的“幽灵方块”、库存不同步或抖动动画的简单客户端宏或基础服务端脚本不同,Offhand Tweaks 使用强大的客户端-服务器同步系统。 当你更改设置时,你的客户端会通过自定义网络数据包立即通知服务器。这确保了事件在逻辑两端同时被优雅地取消。
- 没有幽灵方块。
- 没有虚假的手部挥动动画。
- 不会浪费物品。
? 配置与安装
- 客户端配置: 玩家可以通过标准的 Forge 配置菜单轻松更改偏好设置(或直接编辑配置文件)。
- 多人游戏就绪: 服务器上的每位玩家都有自己独立的配置。禁用你的副手盾牌不会影响你的朋友!
- 安装: 对于多人游戏,此模组必须安装在客户端和服务端双方。在单人游戏中,只需将其放入
mods 文件夹即可。
? 依赖要求
- Minecraft 1.20.1
- Minecraft Forge
Offhand Tweaks
Stop accidental shield blocks and misplacing torches! Offhand Tweaks is a lightweight, highly customizable Quality of Life (QoL) mod that gives you complete control over your offhand slot. Selectively disable offhand right-click interactions based on item categories, freeing up your Right Mouse Button (RMB) for interacting with the world, opening chests, or tweaking machinery without constantly unequipping your offhand item.
✨ Features
Every player can configure their own independent settings. The mod allows you to toggle offhand right-click interactions for specific categories:
- ?️ Shields: Disable right-click blocking. Perfect when you only want the shield for passive stats or are working with complex block interactions.
- ? Light Sources: Stop accidentally placing torches, lanterns, or lamps while trying to interact with blocks in front of you.
- ? Food: Toggle the ability to eat food directly from your offhand.
- ? Other Blocks & Items: A global toggle to restrict placing or using any other unspecified blocks and items from the offhand slot.
⚙️ How It Works (Zero Desync)
Unlike simple client-side macros or basic server-side scripts that cause annoying "ghost blocks," inventory desyncs, or jittery animations, Offhand Tweaks uses a robust Client-Server synchronization system. When you change your settings, your client immediately notifies the server via a custom network packet. This ensures that the event is gracefully canceled on both logical sides at the exact same time.
- No ghost blocks.
- No fake hand-swing animations.
- No wasted items.
? Configuration & Setup
- Client-Side Config: Players can easily change their preferences through the standard Forge config menu (or by editing the config file directly).
- Multiplayer Ready: Each player on the server has their own isolated configuration. Disabling your offhand shield won't affect your friends!
- Installation: For multiplayer, this mod must be installed on BOTH the Client and the Server. In singleplayer, just drop it into your
mods folder.
? Requirements
- Minecraft 1.20.1
- Minecraft Forge
评论 0
登录后参与评分
还没有评论,来抢沙发吧