Cassetu's Better Sticky Keys - CBSK

Cassetu's Better Sticky Keys - CBSK

Imagine Sticky Keys... but Better.

by
17 Downloads
fabricutility
Rent Server with this Mod

Screenshots

On Screen GUI
Controls
Config Screen

About this Mod

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

Available Versions

Cassetu's Better Sticky Keys - CBSK 1.0.1release
MC 1.21.11fabric
June 4, 2026
Cassetu's Better Sticky Keys - CBSK 1.0.0release
MC 1.21.11fabric
June 1, 2026

How to Install Cassetu's Better Sticky Keys - CBSK on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "Cassetu's Better Sticky Keys - CBSK". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Cassetu's Better Sticky Keys - CBSK server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is Cassetu's Better Sticky Keys - CBSK compatible with fabric?

Cassetu's Better Sticky Keys - CBSK officially supports fabric for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Cassetu's Better Sticky Keys - CBSK – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Cassetu's Better Sticky Keys - CBSK consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Cassetu's Better Sticky Keys - CBSK with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Unsupported

Supported Versions

1.21.11