Discover YetAnotherConfigLib
This modification was developed to address specific gaps found in the realm of Fabric modding. Current major configuration libraries do not meet all the desired functionalities:- Cloth Config API: It's outdated. The creator has indicated that they do not plan to introduce additional features.
- SpruceUI: It's not tailored for configuration. The design appears cluttered and unfocused.
- MidnightLib: Includes unnecessary cosmetics. Although not expansive, many users prefer a streamlined approach without cosmetic distractions.
- OwoLib: Primarily content-driven. While it provides configuration features, its additional capabilities may lead to a bloated size. As illustrated, each option has its limitations, and YetAnotherConfigLib steps in to fill that need.
What Makes YACL Stand Out?
YACL is born out of experience. In the creation of this new library, I've ensured it encompasses the best practices:- Simple API. YACL draws inspiration from Sodium's internal configuration system.
- Crafted to blend with Minecraft. The graphical user interface is designed to harmonize seamlessly with the game.
Key Features of YACL
YACL offers an extensive array of configuration functionalities:- Custom control elements
- Design your own unique "controller" if the provided options aren’t sufficient for your needs.
- In-depth explanations
- Interactive & hoverable text powered by vanilla's Text component system.
- WebP image previews, including animated options.
- A special rich-renderable section that can replace images.
- Diverse controllers for identical types:
- Use sliders or text fields for numerical input.
- Utilize dropdowns, cyclers, or raw text fields for strings.
- Checkboxes or ON/OFF text displays for boolean values.
- ...and much more!
- A complete color selection tool.
- Easy navigation with full keyboard compatibility (optimized for Controlify integration).
- Exceptional organization with tabs (categories) and collapsible sections.
- Built-in serialization/deserialization methods to make configuration error-free.
- Comprehensive alternative Kotlin DSL available.