Cassetu's Better Sticky Keys - CBSK 图标

Cassetu's Better Sticky Keys - CBSK

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/cbsk
资源信息

Minecraft 版本: 1.21.11

平台: fabric

标签: utility

资源介绍

CBSK

fabric
Discord
Patreon
YouTube


Cassetu's Better Sticky Keys (CBSK) is a client-side Fabric mod for Minecraft 1.21.11 that lets you lock inputs in their pressed state so you can mine, sprint, or interact hands-free — including when the Minecraft window is minimized or unfocused.


Sticky Keys

Press K (rebindable) while holding any combination of movement or action keys. Those keys get locked in their pressed state until you press K again, open a screen, or hit Escape. A cooldown (default 800ms, configurable) prevents accidental re-activation immediately after deactivating. The feature works even when the game window loses focus — it uses Mixin hooks into the engine's input system rather than polling GLFW directly, so the game keeps running as if you were holding the keys.

Auto Tool Switch

When sticky attack is active and you're mining, the mod automatically selects the best tool in your hotbar for the block you're looking at. Two modes: MINIMUM picks the lowest tier that can actually mine the block (conserves diamond/netherite), BEST_ENCHANT picks whichever tool scores highest on Efficiency, Fortune, Silk Touch, and Unbreaking levels. If a tool hits the durability threshold (default 5 remaining uses), the mod tries to pull a matching tool from your main inventory before moving on. If your crosshair moves to a block you have no valid tool for, mining is paused (attack input suppressed, periodic warning sound every 2 seconds) and resumes automatically once you look at something you can mine — it never fully deactivates sticky keys over this.

Sticky Sprint

A separate toggle key (default V) locks sprinting on independently of sticky keys. Every tick it forces setSprinting(true) on the player, keeping you sprinting even through damage flinches, inventory moments, or other interruptions. Can be used with or without sticky keys active.

Auto Eat

When your hunger drops below a configurable threshold (default 16/20), the mod selects and uses the best food in your hotbar or main inventory automatically. "Best" means highest saturation if the prefer-saturation option is on, otherwise highest nutrition. After eating it restores your previously selected slot. Works passively in the background and does not require sticky keys to be active.

HUD Overlay

A small text overlay (position configurable as a fraction of screen size) shows: sticky keys status and which keys are locked, sprint lock state, current tool name and remaining durability (red if below threshold), hunger level (red if below threshold), a "Mining: PAUSED" notice when auto tool can't find a valid tool, and an "Eating…" indicator during auto eat. Respects the vanilla F1 HUD-hidden toggle.

Config Screen

Opened with [ (rebindable). Toggle buttons for every feature, cycle buttons for tool mode, durability threshold (1–20), hunger threshold (2–20), and cooldown (200ms–2000ms in steps). All settings persist to config/cbsk.json via Gson and are read/written at runtime with no restart required.

Key bindings (all rebindable in Controls): Toggle Sticky Keys (K), Toggle Sprint Lock (V), Open Config ([).

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Improved Chocolate

价格:0 墨喵币
下载量:0

查看详情
Fancy Hats

价格:0 墨喵币
下载量:0

查看详情
| Improved Crafting Table |

价格:0 墨喵币
下载量:0

查看详情
Goofy Skeletons

价格:0 墨喵币
下载量:0

查看详情