Tags
Creators
Details
Licensed LGPL-3.0-or-later
Published 4 years ago
Updated 2 weeks ago
All versions
3.0.0-beta.4+1.20-fabric
Beta
3.0.0-beta.4+1.20 (Fabric)3 years ago 75
Compatibility
Minecraft: Java Edition
1.20-pre2
Platforms
Fabric
Quilt
Supported environments
Client-side
Server-side
Changes
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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:1eAoo2KR:zRlTTWFK"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:1eAoo2KR:zRlTTWFK"
}

