Tags
Creators
Details
6.1.0+1.21.2
Compatibility
Required content
Changes
Changes:
-
Bump version
-
Added a double and float config option
-
Fixed #3
API Additions:
- Created a new interface named
NumberConfigOptionthat all number-based config options implement. - Created a new class named
AbstractSliderEntrythat all slider entries extend.
Breaking Changes:
AbstractConfigScreen
getTabsis now a protected method (was public).
ConfigEntryWidgetHolder
- Renamed the field
listtoentryWidget.
ListWidget
- Removed
ListWidgetin favor forSimpleLayoutWidget(see below changes forAbstractEntry).
CategoryTab
- The
CategoryTabconstructor no longer takes aScreen. - The field
categoryis now private.
ConfigCategory
-
Renamed the field
texttocategoryTitle. -
Renamed the method
add(AbstractEntry entry)toaddEntry(AbstractEntry entry). -
Renamed the method
getText()togetCategoryName(). -
Removed the method
add(int index, AbstractEntry entry).
AbstractEntry
- Replaced the field
listWidgetwithlayout. - Replaced the method
getListWidgetwithgetLayoutWidget.
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| shadowhunter22s-config-library-6.1.0+1.21.2-sources.jar | Unknown | 55.04 KiB |
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:vDRbR4L9:zk8mG5bp"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:vDRbR4L9:zk8mG5bp"
}

