- Respect precedence of children when multiple registered elements overlap.
- Optimized cursor (and more) options screen.
- Fixed elements duplicating when resizing screen in 1.20.1 and 1.21.1 (#17)
- Fixed cursor list scroll overflowing when resizing screen.
Fabric:
- Add compatibility with Quilt for 1.21.2 and above (#27)
GlfwMixin
(cursor tracking) is now applied dynamically to prevent crashes with mods that load GLFW early other than early loading screen.- Removed
minecraft-cursor.properties
(it's no longer needed due to above change).
- Increased scale cap to 8.00
- Explicitly disable anti-aliasing and use nearest-neighbor when scaling which may or may not fix blurriness on some platforms.
- Improved logs
Fabric changes:
- Added
config/minecraft-cursor.properties
Launch Properties. Can only be edited through the file itself.ignore_mod_check_glfw_mixin
: Ignores the mod check to apply theGlfwMixin
. Attempts to applyGlfwMixin
even when Early Loading Screen mod is installed, so you can setwindow_creation_point
topreLaunch
to prevent the crash and also apply the mixin.force_disable_glfw_mixin
: Forcefully disablesGlfwMixin
. Workaround to fix crashes if GLFW is early loaded. Please report an issue still if this happens.
- Why opt out instead of opt in? There are more mods that use GLFW cursors, more than it may seem, than there are mods that early load GLFW. For example, Do A Barrel Roll mod, has seemingly nothing to do with cursors, but conflicts with Minecraft Cursor because of its dependency on CICADA. The
GlfwMixin
is able to fix this.- The crash will happen on startup if a mod does early loads GLFW, so it will be immediately known.
- This was also already a thing in v3.5.0, this explanation is just to provide some context for these new properties.
- This is not a Fabric bias, it's just not possible to do this in Forge & NeoForge 😔
If you have any issues and/or suggestions, head on over to the issues page.
Fabric changes:
- Fixed some mods resetting the cursor back to system cursor (e.g., owo-lib resetting the cursor when opening the creative inventory #26).
- Shortened warning when Early Loading Screen mod is installed.
Note: Sorry Neoforge & Forge users, I tried to bring at least some of these compat features over there, but seems like I cannot even transform non-Mojang libraries (with Mixins) like ImGui.
For context, ImGui is the usual suspect for why the cursor is not changing or is being reset, as it is ran unconditionally by a lot of mods that use it.