SDX's library
SDX's library supplies shared utility code, including config and data handling, a typed event bus and math helpers, for mods built on Fabric.
What it does
Developers who build on the library skip writing their own boilerplate for common tasks. The data config part loads save settings from JSON files automatically and offers a persistent key-value store, so player and world data can carry over between sessions. A separate event system lets a mod define its own typed, cancellable events and pass them to other mods through a central event bus.
The library also bundles math helpers such as lerp, clamp, distance, angle and tick conversion, along with utilities for player messaging, block searching and cooldown timers. Its own description calls it a toolkit that mod developers ship alongside their mods so the same utility code is not copied into every project. The Fabric build targets 1.21.11 only. Players do not install it for gameplay; the server requires it, and the client may run it optionally, while the mods that depend on it are the ones that need it. Files are released under All rights reserved, so the library is not open source.
Key features
Automatic save settings
Settings stored as JSON files load automatically, so mods can read configuration without custom parsing code.
Persistent key-value store
Player and world values can be kept between sessions through a store that the library manages.
Typed cancellable events
Mods can define their own event types, let other mods listen to them, and cancel an event when needed.
Math and player utilities
Helpers cover lerp, clamp, distances, angles and tick conversion, plus player messages, block searches and cooldown timers.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Shared code for mod authors
A developer who ships several mods can rely on one library instead of duplicating config, event and math code in each project.
Who it’s for: Mod developers who want shared utility code for Fabric projects on 1.21.11. The author describes planned reworks and more options for developers, so the feature set may change.
How it compares
SparkyAPI is a Fabric library for 1.21.4 – 1.21.11 under the MIT License, but it is client-side only, so it does not serve the same server-side role. VeloraLib is also client-side only, covers 1.21.11 and is under All rights reserved. DataPackPlus is server-side only for 1.21.7 and is open source under the GNU General Public License v3.0 only.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| SDX's library | Fabric | 1.21.11 | Server required, client optional | 2026-02-27 |
| SparkyAPI | Fabric | 1.21.4 – 1.21.11 | Client-side only | 2026-06-30 |
| VeloraLib | Fabric | 1.21.11 | Client-side only | 2026-06-15 |
| DataPackPlus | Fabric | 1.21.7 | Server-side only | 2025-07-14 |
Questions
Does a server need SDX's Library?
Which game versions does SDX's Library support?
Is the library released under an open license?
In the catalog
SDX's library is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 19,862 mods support Minecraft 1.21.11.
Similar mods
What the author says
Essentially it's a toolkit for mod developers — you ship it alongside your mod so you can use its features without copying the same utility code into every project. also i'm gonna to rework the mod soon. and it will have more options and other stuff for mod developers.
Official listing
- Modrinth page
- modrinth.com/mod/sdxs-library
- Owner
- unknown studio
- Published
- 2026-02-27
- Updated on Modrinth
- 2026-02-27
- Facts verified
- 2026-10-15