Modern Keystrokes (Fabric)
Modern Keystrokes is a clean, modern, and lightweight HUD mod for Minecraft: Java Edition (Fabric). It displays your movement keys, mouse clicks, CPS, FPS, and server Ping in real-time.
This is an unofficial, heavily updated, and optimized continuation of the classic Hippo Keystrokes mod, built for modern Minecraft versions.
✨ Features
- WASD Movement: Responsive visual feedback for movement keys.
- Mouse Stats: Left and Right mouse button tracking with an integrated CPS counter.
- Spacebar: Visual bar for jump key presses.
- FPS Counter: Clean frame-rate indicator.
- Ping Display: Real-time server latency counter (
ms) with persistent connection tracking. - Dynamic Seamless Layout: Disabling any module automatically collapses the layout without leaving empty spaces or gaps.
- In-Depth Customization (
/keystrokes):- Toggle any individual module on or off (Keys, Mouse, FPS, Spacebar, Ping).
- Position Sliders: Move the HUD anywhere on your screen using X and Y sliders.
- Scale Slider: Resize the entire overlay from 0.5x to 1.5x to perfectly fit your resolution.
🚀 How to Use
- Make sure you have Fabric Loader and Fabric API installed.
- Place the mod
.jarfile into your.minecraft/modsfolder. - Launch Minecraft and type
/keystrokesin chat to open the in-game settings GUI. - Adjust positions, scale, and toggles to your liking and click Save & Exit.
Note: It is highly recommended to use this mod alongside Sodium.
📜 Credits
- Original Mod: Hippo Keystrokes by awesome_hippo (pseudonym-2669) - Hippo Keystrokes on CurseForge
- Port & Modernization: marblock
All Versions
+ Add VersionMajor feature update v3.0.0 is now available for Minecraft 1.21.10!
### ✨ What's New
- Added a real-time server latency display (
ms) with persistent connection tracking. - Adjust the entire keystrokes overlay scale from
0.5xto1.5xin the/keystrokesmenu.
### 🛠️ Improvements & Fixes
- Disabling any module (WASD, Spacebar, CPS, FPS, Ping) now seamlessly collapses remaining elements without leaving empty gaps or holes.
- Balanced factory coordinates (
y = 10) for clean, symmetrical screen margins. - Maintained native GLFW mouse tracking and screen handling for 1.21.10.
Major feature update v3.0.0 is now available for Minecraft 26.1.2!
### ✨ What's New
- Added a real-time server latency display (
ms) with persistent connection tracking. - Adjust the entire keystrokes overlay scale from
0.5xto1.5xin the/keystrokesmenu.
### 🛠️ Improvements & Fixes
- Disabling any module (WASD, Spacebar, CPS, FPS, Ping) now seamlessly collapses remaining elements without leaving empty gaps or holes.
- Balanced factory coordinates (
y = 10) for clean, symmetrical screen margins. - Maintained native GLFW mouse tracking and screen handling for 26.1.2.
Major feature update v3.0.0 is now available for Minecraft 1.21.11!
### ✨ What's New
- Added a real-time server latency display (
ms) with persistent connection tracking. - Adjust the entire keystrokes overlay scale from
0.5xto1.5xin the/keystrokesmenu.
### 🛠️ Improvements & Fixes
- Disabling any module (WASD, Spacebar, CPS, FPS, Ping) now seamlessly collapses remaining elements without leaving empty gaps or holes.
- Balanced factory coordinates (
y = 10) for clean, symmetrical screen margins. - Maintained native GLFW mouse tracking and screen handling for 1.21.11.
### ✨ What's New
- Added a real-time server latency counter (
ms) with persistent connection tracking. - Customize the overlay size from
0.5xto1.5xdirectly via/keystrokes.
### 🛠️ Improvements & Fixes
- Disabling any elements (WASD, Spacebar, CPS, FPS, Ping) now automatically snaps remaining elements together without leaving empty gaps.
- Updated mouse tracking for the new SDL input architecture.
- Refined factory coordinates for balanced screen padding.
- Modern Keystrokes 1.21.7**
Core Fixes and Optimizations:
Thread Safety Implementation: Migrated click-tracking collections to ConcurrentLinkedDeque. This resolves potential ConcurrentModificationException errors and client hangs by ensuring thread-safe access between the rendering and input threads.
Memory Leak Prevention: Optimized the timestamp cleanup logic to run independently of the HUD's visibility state. This ensures that unused data is consistently purged from memory even when the mod is toggled off.
Configuration Reliability: Added automated directory checks during the save process. The mod now verifies the existence of the configuration folder before writing, preventing file system errors.
Compatibility Recommendations:
Sodium Integration: To mitigate known rendering issues in 1.21.7 (such as UBO capacity overflows and flickering), the use of Sodium is highly recommended for stable performance.
## Optimization and Stability
Fixed critical crash risk (ConcurrentModificationException): click metric processing logic moved to a thread-safe environment.
Changed FPS calculation algorithm: implemented native game client method instead of an unstable background counter.
Synchronized RGB indicator animation with system time. Color change speed no longer depends on the current frame rate.
## UI/UX
Fixed coordinate calculation logic: the FPS panel now correctly moves along the Y-axis with the main block.
Set mathematical limits for X/Y sliders in the settings menu. Eliminated the possibility of the HUD moving off-screen when resizing the game window.
## Optimization and Stability
Fixed critical crash risk (ConcurrentModificationException): click metric processing logic moved to a thread-safe environment.
Changed FPS calculation algorithm: implemented native game client method instead of an unstable background counter.
Synchronized RGB indicator animation with system time. Color change speed no longer depends on the current frame rate.
## UI/UX
Fixed coordinate calculation logic: the FPS panel now correctly moves along the Y-axis with the main block.
Set mathematical limits for X/Y sliders in the settings menu. Eliminated the possibility of the HUD moving off-screen when resizing the game window.
## Optimization and Stability
Fixed critical crash risk (ConcurrentModificationException): click metric processing logic moved to a thread-safe environment.
Changed FPS calculation algorithm: implemented native game client method instead of an unstable background counter.
Synchronized RGB indicator animation with system time. Color change speed no longer depends on the current frame rate.
## UI/UX
Fixed coordinate calculation logic: the FPS panel now correctly moves along the Y-axis with the main block.
Set mathematical limits for X/Y sliders in the settings menu. Eliminated the possibility of the HUD moving off-screen when resizing the game window.
## Optimization and Stability
Fixed critical crash risk (ConcurrentModificationException): click metric processing logic moved to a thread-safe environment.
Changed FPS calculation algorithm: implemented native game client method instead of an unstable background counter.
Synchronized RGB indicator animation with system time. Color change speed no longer depends on the current frame rate.
## UI/UX
Fixed coordinate calculation logic: the FPS panel now correctly moves along the Y-axis with the main block.
Set mathematical limits for X/Y sliders in the settings menu. Eliminated the possibility of the HUD moving off-screen when resizing the game window.
## Optimization and Stability
Fixed critical crash risk (ConcurrentModificationException): click metric processing logic moved to a thread-safe environment.
Changed FPS calculation algorithm: implemented native game client method instead of an unstable background counter.
Synchronized RGB indicator animation with system time. Color change speed no longer depends on the current frame rate.
## UI/UX
Fixed coordinate calculation logic: the FPS panel now correctly moves along the Y-axis with the main block.
Set mathematical limits for X/Y sliders in the settings menu. Eliminated the possibility of the HUD moving off-screen when resizing the game window.