Source-checkedQuality of life & UI

SolLib

by Lyof · for Minecraft

Lets mods shine by bringing a constellation of (mostly) data utilities.

296KDownloads
6d agoLast updated
LicenseRef-AGNYA-LicenseLicense
Fabric · Forge +1Loaders

About SolLib

From Modrinth

Lets mods shine by bringing a constellation of (mostly) data utilities.

Banner

This is a core library for Minecraft mods. Yes, we know, very original.

Believe it or not, copy-pasting a bunch of classes across every project is neither the most efficient nor the most stable idea.


Sol offers a whole constellation of common code for mod developpement.

Most of them orbit around data, multiloader and rendering helpers. A few key highlights being:

Easy config system.

Loaded as soon as you want it, easy to setup and accessible from other mods without the need for hard dependencies.

SolConfig config = MOD.createConfig("sollib/test", 1.0, builder -> builder
    .addObject("category", category -> category
        .comment("This is a comment")
        .add("hello", "world")
        .add("easyconfig", true)
    )
);

MOD.getLogger().info(config.get("category.hello", ""));
// world

Runtime data, controlled by code.

This lets you edit datapack files at runtime, potentially allowing to change recipes depending on config values, edit or disable compat recipes if their target mods are not loaded, automatically generate models for dynamically defined items, and much more.

SolRegistries.Data.RUNTIME.addJson(Identifier.of("minecraft", "recipe/dropper.json"), json -> {
    if (json == null) return null;
    if (!config.get("recipe.copper_dropper", false)) return null;
    
    json.getAsJsonObject("key")
            .getAsJsonObject("#")
            .addProperty("item", "minecraft:copper_ingot");
    return json;
});

Rendering helpers.

Centralized and loader agnostic. No need to make more mixins, either.

ResourceLocation TEXTURE = MOD.makeID("textures/models/sword_overlay.png");

SolClientRegistries.Render.ITEM.register(stack -> stack.is(Items.DIAMOND_SWORD) && stack.isEnchanted(),
        (stack, context, matrices, bufferSource, light, overlay) -> {
    matrices.scale(1.005f, 1.005f, 1.005f);
    matrices.translate(0, 0.995, 0.4975);
    matrices.mulPose(Axis.XP.rotationDegrees(180));

    MockItemRenderer.renderItem(matrices, bufferSource, light, TEXTURE);
});

Simplified registry.

That you can call in the common code, complete with all the syntax sugar you need: define models, burn time, stripping results and everything about a feature at the same time.

MOD.register(BlockHolder.class, "block_block", () -> new Block(BlockBehaviour.Properties.of()))
    .withItem(item -> item.withFuel(200)).dropsSelf()
    .withSlab().withStairs().withWall()
    .withFlammability(20, 5);

For the average user, making this page as flashy as we can won't really matter. It's only a library after all.

But if you are a developer and are curious about it, the best way to learn is to read the (wip) Wiki or join the Discord.

Highlights

From source data

Game versions

Supports 2 Minecraft versions, the newest being 1.21.1.

Loaders

Runs on Fabric, Forge and NeoForge.

Footprint

Rated a light load on a server.

SolLib on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
Server side
Required on the server
Server type needed
Fabric, Forge, NeoForge
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
neo-1.21.1-2.1, released 2026-10-28

Game versions by loader

LoaderGame versionsNewest
NeoForge1.21.1 to 1.21.11 (11 versions)1.21.11
Fabric1.20.1 to 1.21.1 (2 versions)1.21.1
Forge1.20.11.20.1

From 9 recorded builds of SolLib.

Recent builds

BuildReleasedGame versionsLoaders
neo-1.21.1-2.12026-10-281.21.1NeoForge
fabric-1.21.1-2.12026-10-281.21.1Fabric
forge-1.20.1-2.12026-10-261.20.1Forge
fabric-1.20.1-2.12026-10-261.20.1Fabric
forge-1.20.1-2.02026-09-231.20.1Forge
fabric-1.20.1-2.02026-09-231.20.1Fabric

Run SolLib on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Quality of life & UI

Small conveniences, tweaks and interface improvements players notice straight away.

Runs on your server

From source side support

Modrinth lists SolLib as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
FabricForgeNeoForge
Runs on
Serverrequired on the server
Game versions
1.21.1 and 1 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-29Open ↗
  • ✓AuthorLyof, as published on Modrinth
  • ✓LicenseLicenseRef-AGNYA-LicenseFree

SolLib, answered

Generated from the mod’s own source data.

Do my players need to install SolLib?

Modrinth lists SolLib as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Fabric, Forge and NeoForge.

Is it free?

Yes. SolLib is free to download from Modrinth. Its license is LicenseRef-AGNYA-License.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run SolLib on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add SolLib in one click.