YetAnotherConfigLib (YACL)
This configuration library was created to fill a gap in the Fabric modding ecosystem. Existing solutions in this area didn't meet the creator's expectations for various reasons:
Cloth Config API: The project is in a frozen state, the developer has stated they no longer plan to add new features.
SpruceUI: The tool isn't specifically tailored for configuration tasks, the interface feels overloaded and inconvenient for this purpose.
OwoLib: This library is too multi-functional, it handles many other things besides configuration, which increases its size.
YACL Advantages
By creating a new library from scratch, the developer considered all the shortcomings of existing solutions:
- Intuitive API: Inspired by the configuration system of the Sodium mod
- Harmonious design: Interface organically fits Minecraft's style
Functionality
The library offers a wide range of configuration capabilities:
Custom control widgets
- Creation of unique controllers if standard ones don't suit your needs
Advanced descriptions
- Interactive text with support for clicking and hover tips
- Image preview in WebP format, including animated
- Custom sections for advanced visualization instead of regular pictures
Multiple control methods
- Numerical values: sliders or input fields
- Strings: dropdown lists, cycling switches or text fields
- Boolean values: checkboxes or ON/OFF text indicators
Additional features
- Fully functional color picker
- Full compatibility with keyboard control
- Settings organization through tabs and collapsible groups
- Built-in data serialization and deserialization
- Alternative Kotlin DSL syntax
