Tags
Creators
Details
All versions
Expanded
1.2.0
Release
ChosenLib 1.2.0last year 27
Compatibility
Minecraft: Java Edition
1.21.1
Platform
Fabric
Supported environments
Client-side
Server-side
Required content
Any compatible version
Changes
ChosenLib v1.2.0 – Changelog
New in this release
Custom Command System
- Added the
/chosenlibcommand:- Displays the mod version.
- Shows links to CurseForge, Modrinth (coming soon), and the source.
- Informs users that the mod is under the MIT license.
Configuration System
- Introduced a JSON-based config system:
- Config file is auto-generated at
config/chosenlib.json. - Includes example fields and is ready for expansion.
- Config file is auto-generated at
Expanded TextUtils with new helpers
combine(Text... texts): Combine multipleTextobjects into one.stripFormatting(Text text): Get the plain string from aTextobject.format(String message, Formatting... formattings): Format a message with multiple formatting options.- Improved compatibility for formatting methods with modern Minecraft versions.
General Improvements
- Project version bumped to 1.2.0.
No breaking changes. The library is now even more useful for Fabric mod development!
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:UgEg5PFW:WQUlA6UG"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:UgEg5PFW:WQUlA6UG"
}

