YetAnotherConfigLib 3.0 Beta 6
Bug Fixes
- Fix reading of some lossy animated WebP images.
YetAnotherConfigLib 3.0 Beta 5
API Changes
OptionDescription.Builder#descriptionhas been renamed totext, to make it more clear as it used to look like:.description(OptionDescription.createBuilder() .description(Component.literal("This is some text")) .build())ListOption.createBuildernow no longer takes a class parameter, to match withOption. This means you can no longer doListOption.createBuilder(String.class), instead you should doListOption.<String>createBuilder().
Bug Fixes
- Fixed option list entries sometimes appearing on top of the navbar.
YetAnotherConfigLib 3.0 Beta 4
Additions
- Added
OptionDescription.Builder.customImage()to add your own renderer for the option description.
API Changes
This release brings a few API breakages, getting them out the way, as it is a major update.
- All controllers now have an API builder for creating them. This is to make it easier to add
more options to them in the future. This also creates a new API layer to remove simple implementations of YACL
from using the GUI package. The old constructors are still available and you can pass your own controller
with
.customController(). An example would be.controller(TickBoxControllerBuilder::create)or:.controller(opt -> IntegerSliderControllerBuilder.create(opt) .range(0, 10) .step(1)) - Completely removed
.tooltip()from groups and options. You should use.description()instead. To make this a little easier,OptionDescription.of(Component...)has been added so you don't need to create a builder. - Removed
OptionDescription.Builder.name(Component)as it now just uses the option name.
Bug Fixes
- Fixed option descriptions being stuck on the last clicked option when not hovering.
- Fixed category tooltips not being displayed with the new tabs.
YetAnotherConfigLib v3 Beta 2
Changes
- List options now use the new option descriptions
- All options now print a warning if using the old tooltip system
Bug Fixes
- Fix animated images sometimes rendering incorrectly
- Fix animated images flickering when reaching end of loop
No changelog provided.
- Improve button compatibility with Controlify
- Add Forge support
Migrating to 2.5.0 for Developers
The gradle dependency has changed:
modImplementation("dev.isxander.yacl:yet-another-config-lib-fabric:2.5.0+1.19.4")
Features
OptionGroup.BuilderandConfigCategory.Buildernow extendOptionAddableso you can abstractly add options to either of them.
API Changes
- Deprecated the varargs tooltip builder method in
Option.Builderdue to unsafe varargs. There is now an equivalent that is not varargs but a single function.
Backported YACL 2.2.0 to 1.19.2
Due to breaking JAR compatibility in an earlier version of YACL, mods that support YACL for 1.19.3 can no longer support 1.19.2. This is a backport of YACL 2.2.0 to 1.19.2 to allow mods to support it.
My stance on backporting
Personally, I hate to backport my mods. When breaking changes are made in Minecraft between versions, the code of the mod has to be changed to support the new version, making the older version of MC incompatible. If you want to support multiple versions of Minecraft, you have to maintain multiple branches of the mod, which is a lot of work for just one person, and I don't have the time to do that.
This is a one-off backport, and I will not be backporting any future versions of YACL to 1.19.2. If you want to support and use new features of YACL in your mod, you will have to drop support for 1.19.2.
User Changes
- New
List is emptytext when lists are empty - Fix category buttons sometimes not being clickable when you can scroll
- Fix the list add button not disabling when lists are disabled
- Fix the option list background not quite reaching the edge of the screen.
Developer Changes
- New
LabelOptionfor shorthand to making labels! - Log when option bindings don't match up after using their save function
- Internally move YACLScreen button actions into separate methods for future features :o
- Fully publish sources jar & javadoc jar now that the loom plugin is fixed.


