Tags
Creators
Details
Licensed LGPL-3.0-or-later
Published 4 years ago
All versions
3.2.1+1.20-fabric
Release
3.2.1+1.20 (Fabric)3 years ago 3.41M
Compatibility
Minecraft: Java Edition
1.20–1.20.1
Platforms
Fabric
Quilt
Supported environments
Client-side
Server-side
Changes
YetAnotherConfigLib 3.2.1 for 1.20.1-0
Changes
Config API
- Added
ConfigClassHandler#saveandConfigClassHandler#loadand deprecatedConfigClassHandler#serializer.- The serializer should now never be called directly.
- New load method tells serializer to load into a new instance of the config class. Only applied if the load was fully successful.
- Deprecated
ConfigSerializer#loadforConfigSerializer#loadSafely.
- Added new parameter on
SerialEntry, calledrequired.- If set to true, and the entry is not found in the config, the config will be re-saved with the default value.
- If set to false, and the entry is not found in the config, the default value will be used, but the config will not be re-saved.
- Added new parameter on
SerialEntry, callednullable.- If set to false, and the entry is found in the config, but the value is null, the default value will be used, and the config will be re-saved.
Bug Fixes
- Fixed error when using the same image twice.
- Removed debug log from WEBP and GIF image loaders.
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:3hsIB5yP"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:1eAoo2KR:3hsIB5yP"
}

