CursorCentered Fix
by LitnhJacuzzi
Opening a container GUI can leave the cursor away from the screen center, and CursorCentered Fix recenters it on each open so items can be moved quickly.
What it does
The mod corrects the cursor position when a container or other GUI opens. In vanilla play the pointer sometimes does not appear at the center of the window, which slows fast transfers from a chest or inventory. The mod places the cursor at the center whenever such a screen opens, and it works in Fabric, Forge and NeoForge builds.
Client-side only: the mod runs on the player's side and servers do not need it. Its files cover 1.14 – 26.2 across 47 release versions, with the latest builds at 1.4.1 for 26.2 on Fabric and NeoForge and for 1.20.4 on Forge. The project will not be updated above 26.2, because vanilla moved to the SDL backend after 26.3 and fixed the centering problem.
The source code and issue tracker are public. The mod is open source under the GNU General Public License v3.0 only. On Wayland, centering can be configured through an external tool and a scaling value, as the author describes in the project notes.
Key features
Cursor recentering on GUI open
The cursor is moved to the center of the window when a container or other GUI screen opens.
Wayland backend option
A JVM argument selects an external tool to move the cursor on Wayland, based on the compositor in use.
Movement scaling value
An optional scale factor corrects the cursor position on Wayland when desktop sensitivity or UI scale differs from default.
Calibration method
The author describes how to measure the scale value by comparing the requested and actual cursor positions on screen.
Compatibility
Latest build for each game version and loader.
26.x4 of 4 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Rapid item transfers
Players who move items often between a chest and the inventory can start each transfer from a predictable cursor position.
Wayland desktop sessions
Players on Wayland desktop sessions can tune the cursor position with the external tool and scale value the author describes.
Who it’s for: Players who notice the cursor appearing off-center when a GUI opens, most often on Wayland desktops or with non-default mouse settings.
How it compares
Wayland Cursor Fix is client-side only and open source under the GNU Affero General Public License v3.0 only, for Forge and NeoForge on 1.20.1 – 1.21.1. Toggle Key Fix is also client-side only and open source, but it is Fabric-only, under the GNU Lesser General Public License v3.0 only, and builds exist only for 1.21.11. Smartbuild is server-side only, licensed under the MIT License and not open source, for 1.20.1 – 26.2 on all three loaders.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| CursorCentered Fix | Fabric, Forge and NeoForge | 1.14 – 26.2 | Client-side only | 2026-10-01 |
| Wayland Cursor Fix | Forge and NeoForge | 1.20.1 – 1.21.1 | Client-side only | 2026-06-28 |
| Toggle Key Fix | Fabric | 1.21.11 | Client-side only | 2026-01-13 |
| Smartbuild | Fabric, Forge and NeoForge | 1.20.1 – 26.2 | Server-side only | 2026-07-07 |
Questions
Does CursorCentered Fix need to be installed on the server?
Which loaders and versions does CursorCentered Fix support?
Will the mod be updated for versions after 26.2?
In the catalog
CursorCentered Fix is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 13,894 mods support Minecraft 26.2.
More from LitnhJacuzzi
Similar mods
What the author says
This mod fixes the cursor centering issue that occasionally happens when opening a GUI, e.g. open a container GUI but the cursor doesn't appear from the center which could be dangerous when you need to pull something from a chest or inventory rapidly. Vanilla has shipped to SDL backend after 26.3 which completely…
Official listing
- Modrinth page
- modrinth.com/mod/cursorcentered-fix
- Owner
- LitnhJacuzzi
- Published
- 2023-04-05
- Updated on Modrinth
- 2026-10-01
- Facts verified
- 2026-10-15
