General
- Scrolling behaviour now only updates when a non-empty tooltip is drawn.
- This is a compatibility fix for when other mods call the Renderer to draw an empty tooltip.
- Implemented easily injectable functions into the Scroll Tracker, this should make it easy for other tooltip related mods to implement compatibility with this one.
New
- Added smooth scrolling.
- Added new config option for scroll speed (mouse).
- Added new config option for scroll speed (keyboard).
- Added new config option for smoothness (lower is smoother, set it to 1 to disable smooth scrolling).
Does not work on 1.19.3, there is a separate release for that version.
Tweaks
- Improved tooltip reading, should now correctly compare tooltips created by chat and GUI.
- Tooltip position resets when a new tooltip is hovered, the system for comparing new and old tooltips (to see if it is indeed a new one or not) has been improved.
General
- Added config file and associated config screen. (Access to config screen requires cloth api and mod menu.)
- Config file is located at config/tooltipscroll.json.
- Added mod menu integration.
New
- Scrolling with the scrollwheel can be disable in the config.
- Moving tooltips with WASD can be enabled in the config.
- Resetting the position of tooltips when they are not shown can now be enabled in the config.
- "Not shown" is based on whether or not scrolling is currently locked, meaning the position will actually reset 0.1 seconds after mouse hovering ends.
Tweaks
- Removed default keybind (previously LeftShift) from horizontal movement.
- It was overriding the default sneak keybind, making the player unable to sneak.