
Modrinth · Minecraft mod
S-Lib
An easy to use config and utility library.
Quick answer
Which S-Lib release matches Fabric?
S-Lib 4.0.1+26.3-fabric targets 26.3 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.
Where it goes
Is S-Lib required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does S-Lib 4.0.1+26.3-fabric need?
4.0.1+26.3-fabric on Fabric. Every mod below is checked against that same setup.
Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add S-Lib without breaking your instance.
Built for S-Lib 4.0.1+26.3-fabric on Fabric. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 4.0.1+26.3-fabric. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 4.0.1+26.3-fabric. It opens that exact file at the source.
About this project
What does S-Lib add?
S-Lib
S-Lib is a utility and config library. My other mods use it for their configs and config screens, so on its own it adds nothing to the game. If a mod you installed lists S-Lib as a dependency, drop it in your mods folder.
Dependencies
- Fabric only: Fabric API
- Optional: YACL for the in-game config screens. Without YACL everything still works, you will need to edit the config files manually.
- Optional, Fabric only: Mod Menu
Versions
| Minecraft | Fabric | Forge | NeoForge |
|---|---|---|---|
| 1.20 - 1.20.1 | Yes | Yes | |
| 1.20.2 - 1.20.4 | Yes | 1.20.4 only | |
| 1.20.5 - 1.20.6 | Yes | Yes | |
| 1.21 - 1.21.1 | Yes | Yes | |
| 1.21.2 - 1.21.4 | Yes | Yes | |
| 1.21.5 | Yes | Yes | |
| 1.21.6 - 1.21.8 | Yes | Yes | |
| 1.21.9 - 1.21.10 | Yes | Yes | |
| 1.21.11 | Yes | Yes | |
| 26.1 | Yes | Yes | |
| 26.2 | Yes | Yes | |
| 26.3 | Yes | Yes |
For players
Each mod keeps its settings in a .json5 file in your config folder. If you mess up an option when editing, only that option goes back to its default. The old file gets backed up first.
With YACL installed (and if the mod supports it), the config button opens a settings screen in game.
In multiplayer, server-managed settings are automagically sent to you when you join, and they stay greyed out unless the server lets you change them (usually operators only). In a LAN world the host can always change them. On a server without S-Lib, those settings just use their defaults.
For mod developers
- Configs are annotation-based POJOs with support for range clamping, comments, and more
@Syncdecides whether an option is kept locally or synced to the server
- Configs can be registered with a one-liner, and an entire YACL screen can easily be built with a few more lines
- YACL controllers for colors, enum and items/tags dropdowns.
- An item matcher (ids, tags, regex,
!to exclude) and some smaller helpers
See the GitHub README for the full documentation, and the S-Lib Test Mod for real code examples.
Project description from Modrinth.
Pick your setup
S-Lib by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3
2 loader builds26.2
2 loader builds26.1.2
2 loader builds26.1.1
2 loader builds26.1
2 loader builds1.21.11
2 loader builds1.21.10
2 loader builds1.21.9
2 loader builds1.21.8
2 loader builds1.21.7
2 loader builds1.21.6
2 loader builds1.21.5
2 loader buildsShowing the newest 12 of 24 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
S-Lib versions and loaders
4.0.1+26.3-fabric
s-lib-fabric-4.0.1+26.3.jar
14 Nov 2026
4.0.1+26.2-fabric
s-lib-fabric-4.0.1+26.2.jar
14 Nov 2026
4.0.1+26.1-fabric
s-lib-fabric-4.0.1+26.1.jar
14 Nov 2026
4.0.1+1.21.8-fabric
s-lib-fabric-4.0.1+1.21.8.jar
14 Nov 2026
4.0.1+1.21.5-fabric
s-lib-fabric-4.0.1+1.21.5.jar
14 Nov 2026
4.0.1+1.21.4-fabric
s-lib-fabric-4.0.1+1.21.4.jar
14 Nov 2026
4.0.1+1.21.11-fabric
s-lib-fabric-4.0.1+1.21.11.jar
14 Nov 2026
4.0.1+1.21.10-fabric
s-lib-fabric-4.0.1+1.21.10.jar
14 Nov 2026
4.0.1+1.20.6-fabric
s-lib-fabric-4.0.1+1.20.6.jar
14 Nov 2026
4.0.1+1.21.1-fabric
s-lib-fabric-4.0.1+1.21.1.jar
14 Nov 2026
4.0.1+1.20.1-fabric
s-lib-fabric-4.0.1+1.20.1.jar
14 Nov 2026
4.0.1+1.20.4-fabric
s-lib-fabric-4.0.1+1.20.4.jar
14 Nov 2026
Looking for an older file? The official Modrinth project page is in Resources.