ModsFinder

Lexiconfig

by CodinGlitch

Lexiconfig is a configuration library that developers use to define config files with annotations, and it is not meant to be installed on its own.

FabricForgeNeoForgeClient and serverGNU General Public License v3.0 onlyOpen source1.18 – 1.21.11

What it does

Lexiconfig lets a developer declare a configuration file as a class with annotations, so new config files need little code. The author built it mainly for the mods in the same project, and it is aimed at developers who want to use it in their own work.

Its aim is compatibility across several other config libraries and a setup that works in multiloader projects on Fabric, Forge and NeoForge. At present it does not yet integrate with other config libraries, and the author lists planned integrations for later updates. Fabric API is required, and optional dependencies are configured per mod.

The mod runs on client and server, so both sides need the same build. Files are published for Fabric, Forge and NeoForge across 27 release versions, 1.18 – 1.21.11, and the code is open source under the GNU General Public License v3.0 only. The source code and issue tracker are linked publicly.

Key features

  1. Annotation-based config syntax

    A config file is defined by a class with annotations, which removes most of the manual setup code.

  2. Multiloader setup

    The same library source covers Fabric, Forge and NeoForge projects, so one codebase can serve all three.

  3. Lexicon shelving

    A lexicon is created as its own class and registered by adding an instance as a field of the library and shelving it in a given method.

  4. Planned integrations

    The author lists integrations with other config libraries as planned work, meant to avoid conflicts between them.

Compatibility

Latest build for each game version and loader.

1.21.x12 of 12 versions with builds
1.21.111.4.21-novelNot available1.4.21-novel
1.21.101.4.21-novelNot available1.4.21-novel
1.21.91.4.21-novelNot available1.4.21-novel
1.21.81.4.21-novelNot available1.4.21-novel
1.21.71.4.21-novelNot available1.4.21-novel
1.21.61.4.21-novelNot available1.4.21-novel
1.21.51.4.21-novelNot available1.4.21-novel
1.21.41.4.21-novelNot available1.4.21-novel
1.21.31.4.21-novelNot available1.4.21-novel
1.21.21.4.21-novelNot available1.4.21-novel
1.21.11.4.21-novelNot available1.4.21-novel
1.211.4.21-novelNot available1.4.21-novel
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Optional 1

ConfiguredA mod that aims on adding more ways to configure Minecraft. The mod adds config options for more fine grained control over the game.
Optional

Required by 2 mods

Use cases

Developing a mod with config files

A developer declares each config file as an annotated lexicon class and shelves it in the library, instead of writing parsing code by hand.

Shipping a multiloader mod

A developer targeting Fabric, Forge and NeoForge can share one configuration setup across all three loaders.

Who it’s for: Mod developers who want annotation-based config files in their own projects. Players and server owners have little use for the library unless a mod they install depends on it.

Questions

Does Lexiconfig need Fabric API?

Yes. Fabric API is a required dependency, so it must be installed next to Lexiconfig on Fabric.

Which loader should a developer target with Lexiconfig?

Lexiconfig publishes files for Fabric, Forge and NeoForge, so a multiloader project can use the same library on all three.

Do players need Lexiconfig installed?

Yes, the mod runs on client and server, and mods that depend on it require it on both sides.

In the catalog

Lexiconfig is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 19,862 mods support Minecraft 1.21.11.

More from CodinGlitch

All projects

Similar mods

What the author says

This is a config API meant to provide compatibility across multiple different other config libraries as well as be easy to use in a multiloader project setup, mainly for use in my mods. It features a simple to use annotation-based syntax, to make creating new configuration files as easy as possible.
CodinGlitch, on the Modrinth page

Official listing

Owner
CodinGlitch
Published
2024-05-15
Updated on Modrinth
2026-06-07
Facts verified
2026-10-15

Tags