- Reverted change that improves widget detection. It was too good- it detected elements behind other elements and would change the cursor unexpectedly.
- Add check for advancement screen tabs
- Add check for server icon play button
- Add option to toggle adaptive cursor on advancement screen tabs
- Add option to toggle adaptive cursor on server icon play button
- Refactor GUI Cursor Handlers to use Mixin Accessors and Invokers instead of VarHandles and MethodHandles.
- Improve widget detection. Elements (for the most part) no longer have to be accessed through
ParentElement#children
to be detected. - Improve grabbing detection. Check if mouse1 is held instead of using unreliable
AbstractParentElement#isDragging
- Detect visible screen in-game even when the current screen of the minecraft client is technically null.
- Added Shift Cursor:
- Used when shift is pressed and mouse is hovered over:
- Inventory slots with item/s.
- Creative inventory destroy item slot.
- Recipe book recipes.
- Villager trade offers.
- Used when shift is pressed and mouse is hovered over:
- Darken name of disabled cursors in cursor settings.
- Fixed the sliders in cursor settings not detecting if the mouse is hovered.
- Added Grabbing Cursor:
grabbing.png
- SliderWidgets change the cursor to Grabbing when dragging the slider.
- Grabbing items from the inventory changes the cursor to Grabbing.
- The Hotspot Selector in Cursor Settings changes the cursor to Grabbing when dragging the ruler.
- The cursor now also changes to Pointer when hovering over items in the inventory.
- Added More Cursor Options:
- Accessible from Cursor Settings > More Cursor Options... next to the Done button.
- Toggle adaptive cursor for hovering over inventory items.
- Toggle adaptive cursor for grabbing inventory items.
- Toggle adaptive cursors for affected GUIs (see Mod Compatibility in the Mod Description).
- Fixed cursor getting stuck to system cursor when scale is modified after disabling.
-
Changed Text cursor's hotspot y to 15 for the default resource
-
Registered tab buttons e.g. Create World Tabs (currently only works in 1.21.4+)
-
Added checks for the following GUIs:
- Book and Quill
- Cursor changes to text when hovering inside the edit screen
- Enchanting Table
- Cursor changes to pointer when hovering over available enchants
- Stonecutter
- Cursor changes to pointer when hovering over available recipes
- Loom
- Cursor changes to pointer when hovering over applicable patterns
- Crafter
- Cursor changes to pointer when hovering over toggleable slots
- Book and Quill
-
Note: Mods that shift the positions of the in-game GUIs may lead to unexpected state changes with the cursor.
Unfortunately, most elements from in-game GUIs are not actually elements and are drawn directly on the screen, with their sizes and positions obfuscated and/or hardcoded.