SolLib
by Lyof
SolLib is a library mod of data, multiloader and rendering helpers that other mods can call from common code without hard dependencies.
What it does
The library exposes a set of utilities for mod developers. Most of them concern datapack handling, multiloader code and rendering. Other mods can load it on demand, so an add-on does not have to declare it as a hard requirement.
One datapack helper lets a mod edit datapack files at runtime. A developer can use it to change recipes according to config values, edit or disable compatibility recipes when their target mods are missing, and generate models for dynamically defined items. Common code calls the same API on every loader, so separate mixins are not needed for each one.
SolLib is published for Fabric, Forge and NeoForge, with files for 1.20.1 – 1.21.11. It runs on client and server, so both sides need it. The project is distributed under a custom license. Mods that require it include Sortilege, Combat Bash and Wrathy Armament.
Key features
Runtime datapack editing
Mods can change datapack files while the game runs, for example to adjust recipes after config values are read.
Generated item models
Models can be produced automatically for items that are defined dynamically at runtime.
Stripping and burn times
Common code can define burn times, stripping results and models for a feature in one place.
Compatibility
Latest build for each game version and loader.
1.21.x11 of 11 versions with builds
1.20.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 3 mods
Use cases
Add-on compatibility
An add-on mod can ship recipes that depend on another mod and switch them off when that mod is not installed.
Config-driven recipes
A pack author can alter recipes according to a setting, without shipping a separate datapack for each variant.
Who it’s for: Mod developers who build content across Fabric, Forge and NeoForge and want shared data and rendering helpers. Players do not interact with the library directly.
Questions
Does Sortilege need SolLib installed?
Which loaders does SolLib support?
In the catalog
SolLib 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.
More from Lyof
Similar mods
What the author says
Sol offers a whole constellation of common code for mod developpement. Loaded as soon as you want it, easy to setup and accessible from other mods without the need for hard dependencies.
Official listing
- Modrinth page
- modrinth.com/mod/sollib
- Owner
- Lyof
- Published
- 2026-06-10
- Updated on Modrinth
- 2026-09-23
- Facts verified
- 2026-10-15
