Tags
Creators
Details
Licensed MIT
Published 3 weeks ago
All versions
1.0.0
Release
S-Lib 1.0.0 - Fabric 1.20.13 weeks ago 3
Uploaded by
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Fabric
Supported environments
Client-side
Changes
Full Changelog
1.0.0
First release of S-Lib, a shared library designed to provide Stalemated's mods with common code.
Key Features
- YACL Custom Controllers: Extends Yet Another Config Lib with advanced, reusable UI elements:
- Advanced Color Pickers: Supports hex codes, legacy formats, and visual color selectors in configuration screens.
- Item & Tag Autocomplete: A dropdown selector that dynamically suggests Minecraft items and tags as you type.
- Simplified Dropdowns: Clean dropdown selectors for enums and custom strings.
- Target Matching System: A robust system that allows mods to target Minecraft items using wildcards (
*), namespaces (minecraft:*), tags (#c:swords), exact IDs, or regular expressions (Regex). - Advanced Color & Gradient Engine: Built-in utilities to parse colors (Hex, legacy codes, or color names) and generate text gradient animations (Rainbow, Slide, and Breathing gradients).
- Visual & Layout Helpers:
- Horizontal Text Scroller: A reusable renderer to scroll long text lines horizontally in UI menus.
- Indented Tooltip Components: Custom components to support clean line indentation inside tooltips.
- Blackboard State Manager: A centralized state bridge (
SharedTooltipState) to safely share rendering flags and tooltip dimensions between independent mods (like CTA's editor preview and STS's scrolling logic). - Cross-Platform Abstractions: Reusable multi-loader helpers (via
PlatformHelper) for seamless parity across Fabric, Forge, and NeoForge.
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:4wZ9gbon"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:VtMfe1Va:4wZ9gbon"
}

