CursorCentered Fix

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

File Details

cursorcenteredfix-1.2-alpha.jar

  • A
  • Nov 21, 2024
  • 7.94 KB
  • 46
  • 1.21.3+45
  • Fabric

File Name

cursorcenteredfix-1.2-alpha.jar

Supported 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"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

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.