Links
Tags
Creators
Details
1.6.0+fabric-1.21.6
Compatibility
Changes
CodxLib 1.6.0
This file is for Fabric 1.21.6. It requires Fabric Loader 0.16.13 or newer — exactly what Fabric API already needs on 1.21.6, so CodxLib adds no restriction of its own — and Fabric API 0.128.2+1.21.6 or newer.
A settings menu fix everyone should take, and a new hook for mod authors.
Fixed: number settings in the chest menu jumped to their maximum
Clicking + or − on any numeric setting in a /<mod> menu screen added the new value on top of the
old one instead of replacing it, so two or three clicks pinned the setting to its ceiling no matter
which button you pressed. Sliders were fine; the +/− tiles were not. This affected every mod that
uses CodxLib's settings menu, so if you have edited a number that way, it is worth checking what it
actually says now.
New: a mod can put its own page behind one setting
Lists and text settings could only be shown read-only in the chest menu, because there is no keyboard in a chest UI. Mods can now hand a single setting a page of their own, so a list of entity ids and numbers can be presented as a row of buttons instead of a line of text pointing at the config file. Alex's Mobs Continued uses it for its new spawn group size editor.
Ungrouped settings in a category also now come before the group buttons rather than after them, so a setting that belongs to the category as a whole is on the first page instead of the last.
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:6oyMM4yX:ijZn3KzR"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:6oyMM4yX:ijZn3KzR"
}

