跳到正文

Binders! ⌨️

作者:Camawama

An easy way to highlight important keybinds in Minecraft!

收藏

介绍

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

Binders

Binders is a lightweight utility mod and API designed for modpack and mod developers who want to highlight important keybinds to players. No more confusion or hunting through menus to figure out a specific keybind. Binders makes critical keybinds stand out!

Alt Text

Features

📌 On-Screen Keybind Highlights
Show keybinds directly on the screen with customizable icons, labels, and locations.

🧩 Fully Configurable
JSON configuration support to control what keybinds are shown, when, and how. Supports regex matching for advanced users.

🎮 Context-Aware Display
Make keybinds appear only during specific situations (e.g., when flying, while holding a specific item, in the Nether, etc.).

🎨 Custom Styling
Tweak the appearance with colors, fonts, and animations to match your modpack’s theme.

🔄 Dynamic Updates
Automatically responds to key remapping, so your on-screen display always stays accurate.

⌨️ Utility Command
Use /binders dump to log all available keybind IDs to latest.log for easy reference.
Use /binders reload to reload your config without restarting the game.

Configuration Guide

Binders are defined in config/binders/binders_definitions.json.

Example Definition

{
  "keyBinding": "key.jump",
  "label": "Jump",
  "iconItem": "minecraft:feather",
  "context": "always",
  "contextLogic": "OR",
  "color": "#FFFFFF",
  "scale": 1.0,
  "showLabel": true,
  "maxPresses": -1,
  "resetOnLog": false,
  "isRegex": false,
  "dynamicIcon": false
}

Context System

The context field determines when a binder is visible. You can list multiple contexts separated by commas.

Logic:

  • "contextLogic": "OR" (Default): The binder shows if ANY of the listed contexts are true.
  • "contextLogic": "AND": The binder shows only if ALL of the listed contexts are true.

Basic Contexts

  • always: Always visible.
  • flying: Visible when flying (creative or survival).
  • creative: Visible in Creative mode.
  • survival: Visible in Survival or Adventure mode.
  • sneaking: Visible when crouching.
  • sprinting: Visible when sprinting.
  • swimming: Visible when swimming.
  • on_ground: Visible when standing on solid ground.
  • riding: Visible when riding any entity (horse, boat, etc.).
  • raining: Visible when it is raining.
  • thundering: Visible during a thunderstorm.

Advanced Contexts

  • Holding Items:
  • holding:<item_id>: Holding item in either hand.
  • holding_main:<item_id>: Holding item in main hand.
  • holding_off:<item_id>: Holding item in off hand.
  • Wearing Armor:
  • wearing_head:<item_id>
  • wearing_chest:<item_id>
  • wearing_legs:<item_id>
  • wearing_feet:<item_id>
  • World & Player State:
  • dimension:<dimension_id>: e.g., dimension:minecraft:the_nether
  • biome:<biome_id>: e.g., biome:minecraft:plains
  • health_below:<value>: e.g., health_below:10 (Shows when under 5 hearts).
  • hunger_below:<value>: e.g., hunger_below:6 (Shows when under 3 food shanks).
  • Looking At:
  • looking_at_block:<block_id>: e.g., looking_at_block:minecraft:chest
  • looking_at_entity:<entity_id>: e.g., looking_at_entity:minecraft:villager
  • looking_at_tag:<tag_id>: e.g., looking_at_tag:minecraft:logs

Wildcards & Regex

  • You can use *, any, or *:* as a wildcard for items, blocks, or entities.
  • Example: looking_at_entity:* (Visible when looking at ANY entity).
  • If "isRegex": true, you can use Regular Expressions for item/block IDs.
  • Example: holding:.*_sword (Visible when holding any sword).

Dynamic Icons

If "dynamicIcon": true, the binder will try to use the item that triggered the context as the icon.

  • Example: If context is holding:minecraft:diamond_sword, the icon will become the Diamond Sword.

Perfect For

  • Modpack creators who want to guide new players.
  • Adventure maps where specific actions are context-sensitive.
  • Tutorials or training scenarios.

Compatibility

  • Minecraft Forge (1.20.1)
  • Works alongside most HUD and GUI mods.

常见问题

Binders! ⌨️ 支持哪些 Minecraft 版本?

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

Binders! ⌨️ 怎么安装?

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

评论

登录后评论和评分

Camawama 的其他作品

查看全部 →