Back
Minecraft Libraries & APIs

SuperMartijn642's Config Lib

Overview

Config Lib makes dealing with config files just a bit easier.

SuperMartijn642's Config Lib allows you to specify a config once and it then handles reloading values between world loads, syncing values with clients, and generating values for client- or server-only on its own.

Creating a config:
A config is created using a ModConfigBuilder.
Simply create a new instance using #ModConfigBuilder().

A value can be added to the config with ModConfigBuilder#define which takes a name and a default value.
For integer and double values a minimum and maximum value are also required.
ModConfigBuilder#define returns a Supplier which should be stored to retrieve the value from the config.

A comment can be added to a value by calling ModConfigBuilder#comment(String) before defining the value.

By default values are reloaded when world is loaded.
This can be changed to only reload a value when Minecraft launches by calling ModConfigBuilder#gameRestart() before defining the value.

Values in COMMON or SERVER configs are synchronized with clients by default, to prevent this use ModConfigBuilder#dontSync().

Values can also be put into categories.
ModConfigBuilder#push(String) pushes a category and ModConfigBuilder#pop() pops a category.

A comment can be added to the active category using ModConfigBuilder#categoryComment(String).

After defining all values ModConfigBuilder#build() must be called to finish the config.

Now the values in your config will reloaded and synced automatically and the values can be retrieved using the stored Supplier instances.
This will work for all available versions, that includes Minecraft 1.12, 1.14, 1.15, 1.16, 1.17, 1.18, and 1.19.

Example Mod:
For a concrete example of how to use Config Lib checkout the example mod.

FAQ
Can I use your mod in my modpack?
Yes, feel free to use my mod in your modpack

Discord
For future content, upcoming mods, and discussion, feel free to join the SuperMartijn642 discord server!

ABOUT THIS LISTING

This page describes SuperMartijn642's Config Lib by SuperMartijn642. The description and screenshots are the author's own, imported from their listing on Modrinth on 3 October 2026: https://modrinth.com/mod/supermartijn642s-config-lib

Mythiq.net hosts no files for it. The download button goes straight to the release file on cdn.modrinth.com, so you are downloading from the author's own host, not from a copy of ours.

The download count, rating and comments on this page start at zero and count Mythiq.net only. The source's own figures are not copied here — they measure a different site, and a number that cannot be checked against our own ledger is not worth printing.

Requirements

Game version
  • 26.3
MOD LOADER

This release is built for Fabric and Quilt. A mod built for one loader will not load under another — Fabric mods do not run on Forge, and vice versa.

GAME VERSION

Built for Minecraft 26.3. Minecraft mods are tied to an exact version: a 1.21.4 build will refuse to load on 1.21.5.

THIS IS A LIBRARY

On its own it adds nothing you can see. It is here because other mods require it, and installing it is usually something another mod asked you to do.

DEPENDENCIES

Check the author's listing for required libraries before you start the game — a missing dependency shows up as a crash on launch, not as a warning.

Installation

1. Install Fabric for the Minecraft version you play, if you have not already.

2. Download the .jar with the button on this page. Do not unzip it — a mod jar is installed as it is.

3. Put it in your mods folder:

Windows — %APPDATA%\.minecraft\mods

macOS — ~/Library/Application Support/minecraft/mods

Linux — ~/.minecraft/mods

4. Launch the game with the Fabric profile selected.

ON A SERVER

Anything that changes world generation or gameplay has to be installed on the server as well as on every client. Client-side visual and interface mods do not.

UPDATING

Replace the old .jar rather than adding the new one beside it. Two versions of the same mod in the folder is a crash on launch.

This release downloads from cdn.modrinth.com, not from us, so there is no checksum to compare against. Scan the archive before you unpack it.

Version history

  1. v1.1.8a-fabric-mc26.3 Latest 30 Sep 2026 · 201 KB via cdn.modrinth.com · 0 downloads Download
    SuperMartijn642's Config Library 1.1.8a
    - Fixed "Error reading pack metadata" warning

    Update to Minecraft 26.3

    Update to Minecraft 26.2

    Update to Minecraft 26.1

    SuperMartijn642's Config Library 1.1.8
    - Initial release of SuperMartijn642's Config Library for Minecraft 1.21

    Off-site on cdn.modrinth.com — no checksum, because we never held this file. Link checked by our review team on 3 Oct 2026.

Comments

No comments yet.

Sign in to leave a comment.

Report this mod

Tell us if something is wrong — a file that will not work, content taken from someone else, or anything that looks unsafe. Reports go to our review team, not to the author.

Sign in to report this mod.

We use cookies to ensure that we give you the best experience on our website and improve your experience. By continuing to use this site you consent to such use of cookies.

Learn More