Tags
Creators
Details
Licensed MIT
Published 5 months ago
Updated 3 hours ago
All versions
4.0.1+26.2-neoforge
Release
S-Lib 4.0.1 for NeoForge 26.23 hours ago 2
Compatibility
Minecraft: Java Edition
26.2
Platform
NeoForge
Supported environments
Client-side
Server-side
Client and server
Changes
Additions
- Added a ton of Javadocs to the API
Changes
YaclScreenBuilder.category(ConfigCategory)is nowcategory(Supplier<ConfigCategory>)ConfigProvider.getSerializer()was removed, so synced configs can use a customConfigProviderItemOrTagControllerBuilder.create(Option)no longer takes an item index, andallowTags(boolean)enables choosing tagsColorUtils.toHex(TextColor)now returns#RRGGBBonly
Fixes
Fixed:
- Singleplayer clients and LAN hosts not sending the
INFORM_SERVERvalues until one of them changed - A second
register()silently reloading the config modifyOptionsaccepting options of another config- Typos in
nested,includePrefixandconfigureOptionbeing ignored, anddropdownon an option that is not edited as text failing only when drawn - Config screens crashing on maps without
Stringkeys - Custom categories keeping listeners of old screens after Save, Undo, or a server change
- Key mappings registered after
RegisterKeyMappingsEventon Forge and NeoForge being lost without a warning SLibConfigScreens.registeronly rejecting an unknown mod id when YACL is installed- Weapon damage and speed on 1.20.5+ ignoring the default modifiers of the item and the modifiers from enchantments
Optional dependencies
Any compatible version
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:VtMfe1Va:8OLzsOZ0"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:VtMfe1Va:8OLzsOZ0"
}

