**Big update, especially for the config screen!
This completely removes Cloth Config as dependency in favor of YACL (Yet Another Config Lib) and implements a lot of QOL fixes.**
### BREAKING: YOUR OLD CONFIG WILL NOT WORK ANYMORE!!!
## Changes:
- Added YACL as the config manager and completely rewrote the tooltip config screen, as Cloth Config will no longer be used
- The config changed location, from `/config/custom_tooltips.json5`
to `/config/custom_tooltip_api/config.json5`
- The & character can be used in the custom text field to allow for advanced formatting with legacy color codes (only with Solid style)
- Added better descriptions for several entries and added some color to them
- Implemented a keybind to open the config (unbound by default)
- A toast pops up in the mod's config to show the player a config key exists (shows only once per session, and only if the key is unbound)
- Added a search bar to the Tooltip List screen
- Added a small horizontal text scrolling feature for item ids/tags that are too long to be displayed in the config menu
- Added a Double click to select all text in a textbox feature, can be toggled on/off in the config
- Added a proper custom text list that can be reordered instead of the old one
- Added 4 color pickers, 2 visual and 2 advanced: visual ones use a visual color picker, while advanced uses the old logic of either legacy codes, minecraft color names and hex codes, this overrides the visual picker
- Changed default primary color from gray to `#FFFFFF` (white)
- Loosened structure of color hex codes, now accepts prefixes (`0x`, `0X`, `x`, `X`, `#` and none)
## Fixes:
- The config gets automatically regenerated in case the json5 file exists but is of length 0 (nothing inside of it)
- The mod automatically handles an edge case where users may have malformed the json5 file (removing a bracket for example) by making a config backup in `/config/custom_tooltip_api/config_backup.json5`
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }