ModsFinder

ContextKeys

by TryFree

ContextKeys lets one key or mouse button trigger different actions depending on what the player is doing, holding or looking at, and it is a Fabric client mod.

FabricClient-side onlyMIT License1.21 – 26.2

What it does

Each Smart Key holds an ordered list of rules. Rules are checked from top to bottom, and the first enabled rule whose conditions all match runs its action, so only one action fires per press. Rules can be reordered with the up and down controls, and a rule can be disabled without being deleted. A rule with no conditions always matches, which makes it useful as a general fallback at the bottom of the list.

The mod works with the standard actions of vanilla Minecraft and of other installed Fabric mods. It discovers the normal key actions those mods register, so the action list covers more than the base game. Before the mod is opened for the first time, existing bindings stay as they are. New bindings start unassigned, and ContextKeys takes over a control only when a Smart Key is set up for it.

Conditions are built from what the game observes: the held item, the targeted block or entity, riding state, sneaking state and whether a screen is open. The Use Current Context option creates conditions from the present situation, and suggested facts can be added with one click. Conditions can also be typed manually. Within a single rule, all conditions must match. The mod is client-side only and is published for Fabric as a beta build, 0.1.0+mc26.2-fabric for 26.2, under the MIT License.

Key features

  1. Context-based Smart Keys

    One key or button can run different actions based on the situation the player is in.

  2. Ordered rule list

    Rules are checked top to bottom, and only the first matching enabled rule runs its action.

  3. Live context conditions

    Held item, targeted block or entity, riding state, sneaking state and open screens can each be a condition.

  4. Action discovery

    Normal key actions from vanilla and installed Fabric mods can be searched and assigned to a Smart Key.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
26.x4 of 4 versions with builds
26.20.1.0+mc26.2-fabric
26.1.20.1.0+mc26.1.2-fabric
26.1.10.1.0+mc26.1.1-fabric
26.10.1.0+mc26.1-fabric
1.21.x12 of 12 versions with builds
1.21.110.1.0+mc1.21.11-fabric
1.21.100.1.0+mc1.21.10-fabric
1.21.90.1.0+mc1.21.9-fabric
1.21.80.1.0+mc1.21.8-fabric
1.21.70.1.0+mc1.21.7-fabric
1.21.60.1.0+mc1.21.6-fabric
1.21.50.1.0+mc1.21.5-fabric
1.21.40.1.0+mc1.21.4-fabric
1.21.30.1.0+mc1.21.2-1.21.3-fabric
1.21.20.1.0+mc1.21.2-1.21.3-fabric
1.21.10.1.0+mc1.21-1.21.1-fabric
1.210.1.0+mc1.21-1.21.1-fabric
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

How it compares

Full comparison

Secondary Key is a Fabric client mod for 26.2 – 26.3 with the MIT License, and it is not open source. Fast Click is open source under the MIT License and covers 1.21.11 – 26.2 on Fabric. Hotbar Inventory Transfer is open source under the CC0 1.0 Universal license and covers 1.21 – 26.2. ContextKeys is not open source and is limited to 26.2 among its file versions.

ModLoadersGame versionsEnvironmentUpdated
ContextKeysFabric1.21 – 26.2Client-side only2026-08-28
Secondary KeyFabric26.2 – 26.3Client-side only2026-09-15
Fast ClickFabric1.21.11 – 26.2Client-side only2026-07-24
Hotbar Inventory TransferFabric1.21 – 26.2Client-side only2026-07-18

Questions

Does ContextKeys need Fabric API?

Files are published for Fabric. Check the mod page for any required dependency before installing.

Does ContextKeys have to be installed on a server?

No. It is installed on the player's side alone, so servers need nothing.

Which game versions have files for ContextKeys?

Files cover 1.21 – 26.2 across 16 release versions, with the latest Fabric file for 26.2.

In the catalog

ContextKeys is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 13,894 mods support Minecraft 26.2.

More from TryFree

All projects

Similar mods

What the author says

ContextKeys lets one keyboard key or mouse button perform different actions depending on what you are doing in Minecraft. It works with standard actions from Minecraft and installed Fabric mods. The binding starts unassigned so ContextKeys does not take over an existing control.
TryFree, on the Modrinth page

Official listing

Owner
TryFree
Published
2026-08-28
Updated on Modrinth
2026-08-28
Facts verified
2026-10-15

Tags