promotional bannermobile promotional banner

CursorCentered Fix

A Minecraft mod that fix the cursor centering issue that occasionally happens when opening a GUI.
Back to Files

cursorcenteredfix-1.2-alpha.jar

File namecursorcenteredfix-1.2-alpha.jar
Uploader
LitnhJacuzziLitnhJacuzzi
Uploaded
Nov 21, 2024
Downloads
54
Size
7.9 KB
Mod Loaders
Fabric
File ID
5924704
Type
A
Alpha
Supported game versions
  • 1.16-Snapshot
  • 1.15-Snapshot
  • 1.19-Snapshot
  • 1.21-Snapshot
  • 1.20-Snapshot
  • 1.17-Snapshot
  • 1.18-Snapshot
  • 1.21.2-Snapshot
  • 1.21.1-Snapshot
  • 1.21.4-Snapshot
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21
  • 1.20.2-Snapshot
  • 1.20.5-Snapshot
  • 1.20.3-Snapshot
  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1
  • 1.20
  • 1.19.4-Snapshot
  • 1.19.3-Snapshot
  • 1.19.4
  • 1.19.3
  • 1.19.2
  • 1.19.1
  • 1.19
  • 1.18.2
  • 1.18.1
  • 1.18
  • 1.17.1
  • 1.17
  • 1.16.5
  • 1.16.4
  • 1.16.3
  • 1.16.2
  • 1.16.1
  • 1.16
  • 1.15.2
  • 1.15.1
  • 1.15
  • 1.14.4

Curse Maven Snippet

Fabric

modImplementation "curse.maven:cursorcentered-fix-846580:5924704"

Learn more about Curse Maven

What's new

Experimentally support setting cursor position on wayland using ydotool.

Important Notes

This feature depends on ydotool which needs to be installed and configured manually, here are the major steps:
1.Install ydotool if it doesn't exist.
2.Make your user be able to run sudo command without password(edit /etc/sudoers, add a line <yourusername> ALL=(ALL) NOPASSWD:ALL)

Since this feature is implemeted by executing external process, you may experience lags while opening guis frequently.

This mod has no additional files