- Allowed resource pack settings to be layered instead of using only the settings of the highest priority.
- Previously, if the resource pack had a custom
cursors.jsonbut did not include all the cursor keys, missing cursor keys would default scale, xhot, yhot, enabled to1.0,0,0,true, respectively.
- Previously, if the resource pack had a custom
- Minor optimizations
- Fixed clicking on more cursor options button being blocked by the cursor list.
- Added Global Cursor Settings in More Options Screen.
- Toggle the animation of all animated cursors in one click.
- Globally override scale, x-hotspot, and y-hotspot of all cursors.
- Added Reset Cursor Settings (does not affect Global Cursor Settings) in More Options Screen.
- Added German Translations. (@Lucanoria)
- Made text automatically scroll when overflowing in the config screen.
- Fixed animate buttons in options screen capturing mouse events even when hidden.
- Fixed scale values not rounding.
- API Changes:
- Fixed disabled overrides clogging the override list.
- Fix cursors list on options screen overflowing
- API Changes:
- Separated the API from the Root Project, API is now its own library.
- Check the wiki for the updated installation guide.
- It can still be accessed from the root project like before as it's an api dependency and included.
- It would better to use
modCompileOnlyfor API andmodRuntimeOnlyfor the mod itself.
- It would better to use
- Converted
CursorControllerto interface. Methods remain unchanged. - Added
AbstractHandledScreenCursorHandlerforHandledScreensubclasses.
- Separated the API from the Root Project, API is now its own library.
- Significantly reduced jar size in 1.21.1 and below by using Gson instead of including Jackson (which is in 1.21.2+)
- Significantly reduced jar size in 1.20.1 by using Gson instead of including Jackson (which is in 1.21.2+)
- Fixed Adaptive Cursor Enable toggle option in More Cursor Options not saving.
-
Added API for Developers that allows:
- Creation of cursor types in runtime (on resource reloads only)
- Registering of elements with a cursor type function
- Implementing an interface to elements to declare its cursor type
- Direct control of the current cursor type
-
Added pt_br translation
-
API Changes for 3.1.0
-
Renamed
CursorTypeRegistrartoElementRegistrar- Rename
ElementCursorTypeFunctiontoCursorTypeFunction
- Rename
-
Replaced
CursorTypeFactorywithCursorTypeRegistrar- use
CursorType#of(String)orCursorTypeRegistrar#register(String)to create aCursorType - use
CursorTypeRegistrar#register(CursorType...)to register multipleCursorTypeobjects
- use
-
The access and packages of some internal classes have been modified
-
Sorry for the breaking changes, figured I should do it while it has only been a couple days. Didn't want to bump the major version so quickly too. Hopefully no one has used the 3.0.0 API yet.
I also deleted the 3.0.0 version, it had like a hundred downloads. That was a really stupid idea because now it won't prompt users to update, so I reuploaded it. I'll try not to break the API again, this is my first mod and can't help myself from refactoring stuffs :))
-
Does anyone even read this
-



