OnlyKeys
by jaszlo
OnlyKeys lets a player control Minecraft entirely from the keyboard, with keys for camera movement, clicks and inventory slot selection.
What it does
Keyboard-only play is handled through key bindings. The U, H, J and K keys move the camera, Z and X trigger left and right clicks, and the inventory key interacts with items. Inventory work runs on a selected slot that moves with the camera keys, and the L key opens a quick slot selection screen for faster movement between slots. A slot can also be entered by its ID to select it directly.
The F4 key switches OnlyKeys on and off during play. The author describes the mod as an early development build that may still contain bugs, and asks players to report any problems they encounter. A short demo in the author text shows a wooden hoe crafted with the keyboard alone.
The mod requires Fabric API and is published only for the Fabric loader, for game versions 1.20 – 1.21.6 across 10 release versions. Servers do not need it; each player installs it for their own game. The code is released under the CC0 1.0 Universal license, and the source code and issue tracker are public.
Key features
Camera movement by key
The U, H, J and K keys move the camera up, left, down and right, and the selected inventory slot follows the same keys.
Clicks from the keyboard
Z triggers a left click and a separate key triggers a right click, so mouse buttons are not needed for interaction.
Quick slot selection
The L key opens a quick selection screen, and a slot can be entered by its ID to select it instantly.
Toggle on and off
The F4 key enables or disables the key bindings during play, so the mouse can be used again at any time.
Gallery
Compatibility
Latest build for each game version and loader.
1.21.x3 of 3 versions with builds
1.20.x7 of 7 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: The mod suits players who want to play Minecraft without a mouse, and anyone who wants to test keyboard-only control of the game. It is an early build, so occasional bugs should be expected.
How it compares
Scale Camera Fix is a Fabric client-side mod for 1.20.5 – 1.21.8, released under the MIT License and open source. Camera Command is a Fabric mod for 1.21.1 that runs on the client and server and is not open source. Portable Crafting UI is a server-side mod for 1.21 – 1.21.5 that is open source under the CC0 1.0 Universal license, the same license as OnlyKeys.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| OnlyKeys | Fabric | 1.20 – 1.21.6 | Client-side only | 2025-08-22 |
| Scale Camera Fix | Fabric | 1.20.5 – 1.21.8 | Client-side only | 2025-08-18 |
| Camera Command | Fabric | 1.21.1 | Client and server | 2026-06-10 |
| Portable Crafting UI | Fabric | 1.21 – 1.21.5 | Server-side only | 2025-04-12 |
Questions
Does OnlyKeys need Fabric API?
Does the server need OnlyKeys?
Which game versions does OnlyKeys support?
In the catalog
OnlyKeys is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 13,625 mods support Minecraft 1.21.6.
More from jaszlo
Similar mods
What the author says
OnlyKeys is a Minecraft Fabric Mod that allows you to play minecraft using only your keyboard. \ The mod is still very early in development and will very likely have some bugs. If you encounter any please let me know. \ It is important to note that the Fabric API is required for this mod to work. It does so by moving…
Official listing
- Modrinth page
- modrinth.com/mod/onlykeys
- Owner
- jaszlo
- Published
- 2024-02-13
- Updated on Modrinth
- 2025-08-22
- Facts verified
- 2026-10-15
