跳到正文

Offhand Tweaks

作者:risenxxx

Stop accidental shield blocks and misplacing torches! Selectively disable offhand right-click interactions based on item types. Fully customizable per-player and works flawlessly in multiplayer.

收藏

介绍

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

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

常见问题

Offhand Tweaks 支持哪些 Minecraft 版本?

Offhand Tweaks 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Offhand Tweaks 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

risenxxx 的其他作品

查看全部 →