Cassetu's Better Sticky Keys - CBSK

Quick rating

Cassetu's Better Sticky Keys - CBSK

No reviews yet

Imagine Sticky Keys... but Better.

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
All Rights Reserved
Latest Version
1.0.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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 ([).

Screenshots

Gallery

  • On Screen GUI
    On Screen GUI (Toggleable)
  • Controls
    Controls All the controls you can reconfigure.
  • Config Screen
    Config Screen All toggleable configs.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works