Mineuniverse
Log in Register
Mods

Lexiconfig

This is a config API that aims to provide many integrations alongside other libraries, and to be as easy as possible to use, for both developers and users alike.
by CodinGlitch
Download Claim this project
6,214,088 downloads
0 likes
Updated Jun 30, 2026
0 hypes

Overview

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.

If you are a mod user, this information is likely not very useful to you. If you are a mod developer however, and you would like to use Lexiconfig in your own projects, scroll further to the Development section.

It currently does not have support for other configuration libraries, but as I continue to update it, I will add more compatibilities to each one to ensure that it does not conflict with others and can instead seamlessly integrate between them.

Here is a list of current as well as planned integrations across different config libraries/api:

❌ - Unintegrated ✅ - Integrated ❓ - In Progress

Status Mod
Cloth Config
oωo config
Configured
Forge Config Screens

Development

This mod contains an api that can be used to shelve new lexicons, listen to events, etc.

Depending

build.gradle

dependencies {
  implementation "com.codinglitch.lexiconfig:lexiconfig-api:API_VERSION_HERE"
}

You can go to https://versions.codinglitch.com to view the latest api version.

Usage

To shelve your own lexicons, you first have to your own Library. This can be done by simply creating a new class extending the Library class, and annotating it with the LexiconLibrary annotation.

@LexiconLibrary
public class MyNewLibrary extends Library {
  @Override
  public void shelveLexicons() {

  }
}

In a Forge setup, no further changes need to be made. However, if you are developing for Fabric, you will have to add this class as an entrypoint in your fabric.mod.json.

fabric.mod.json

//...
"entrypoints": {
  "lexiconfig": [
    "com.path.to.MyNewLibrary"
  ]
}
//...

The next step is to finally create and shelve your lexicons. You can do this by simply creating another class for the lexicon, and providing it with the proper annotations, like as follows:

@Lexicon(name = MY_LEXICON_TITLE) // preferably use your mod id as a name
public class MyLexicon extends LexiconData {
  @LexiconEntry(comment = "This is a comment for a simple field!")
  public String mySimpleField = "content";

  @LexiconPage(comment = "This is a fancy new comment on the fancy new category!")
  public MyNewPage myNewPage = new MyNewPage();

  public static class MyNewPage extends LexiconPageData {
    @LexiconEntry(comment = "This field is inside a lexicon page!")
    public Boolean myPageField = true;
  }
}

The next and last step is to shelve the lexicon, which can be done by simply adding an instance of it as a field in the library and shelving it in the given method.

@LexiconLibrary
public class MyNewLibrary extends Library {
  public static MyLexicon MY_LEXICON = new MyLexicon();

  @Override
  public void shelveLexicons() {
    LexiconfigApi.shelveLexicon(MY_LEXICON);
  }
}
[FABRIC] Lexiconfig 1.4.21-epic
MC 1.18.1, Client, 1.19.3, 1.20.2, 1.19.4, Fabric, 1.20.5, 1.18, 1.20.1, 1.20, 1.20.6, 1.19.1, 1.20.4, 1.18.2, 1.19.2, 1.20.3, Server, 1.19
Release 2026-06-07 Get
[NEOFORGE] Lexiconfig 1.4.21-novel
MC 1.21, Client, 1.21.8, 1.21.5, 1.21.4, 1.21.1, 1.21.6, 1.21.3, 1.21.7, NeoForge, Server, 1.21.2, 1.21.9, 1.21.10, 1.21.11
Release 2026-06-07 Get
[FABRIC] Lexiconfig 1.4.21-novel
MC 1.21, Client, Fabric, 1.21.8, 1.21.5, 1.21.4, 1.21.1, 1.21.6, 1.21.3, 1.21.7, Server, 1.21.2, 1.21.9, 1.21.10, 1.21.11
Release 2026-06-07 Get
[FORGE] Lexiconfig 1.4.21-epic
MC 1.18.1, Client, 1.19.3, 1.20.2, 1.19.4, 1.20.5, 1.18, 1.20.1, Forge, 1.20, 1.20.6, 1.19.1, 1.20.4, 1.18.2, 1.19.2, 1.20.3, Server, 1.19
Release 2026-06-07 Get
[FORGE] Lexiconfig 1.4.18
MC 1.20.2, 1.20.5, 1.18.2, 1.19.2, 1.20.3, 1.20.1, Forge, 1.20, 1.20.6, 1.20.4
Release 2025-05-09 Get
[FORGE] Lexiconfig 1.4.18-1
MC 1.20.2, 1.20.5, 1.18.2, 1.19.2, 1.20.3, 1.20.1, Forge, 1.20, 1.20.6, 1.20.4
Release 2025-05-09 Get
[NEOFORGE] Lexiconfig 1.4.18
MC 1.20.2, 1.20.5, 1.18.2, 1.19.2, NeoForge, 1.20.3, 1.20.1, 1.20, 1.20.6, 1.20.4
Release 2025-05-08 Get
[FABRIC] Lexiconfig 1.4.18
MC 1.20.2, 1.20.5, Fabric, 1.18.2, 1.19.2, 1.20.3, 1.20.1, 1.20, 1.20.6, 1.20.4
Release 2025-05-07 Get
[FABRIC] Lexiconfig 1.4.17
MC 1.20.2, Fabric, 1.18.2, 1.19.2, 1.20.3, 1.20.1, 1.20, 1.20.4
Release 2025-05-02 Get
[FORGE] Lexiconfig 1.4.17
MC 1.20.2, 1.18.2, 1.19.2, 1.20.3, 1.20.1, Forge, 1.20, 1.20.4
Release 2025-05-02 Get
[NEOFORGE] Lexiconfig 1.4.17
MC 1.20.2, 1.18.2, 1.19.2, NeoForge, 1.20.3, 1.20.1, 1.20, 1.20.4
Release 2025-05-02 Get
[FORGE] Lexiconfig 1.4.17-a
MC 1.20.2, 1.18.2, 1.19.2, 1.20.3, 1.20.1, Forge, 1.20, 1.20.4
Release 2025-05-02 Get
[NEOFORGE] Lexiconfig 1.4.17-a
MC 1.20.2, 1.18.2, 1.19.2, NeoForge, 1.20.3, 1.20.1, 1.20, 1.20.4
Release 2025-05-02 Get
[FABRIC] Lexiconfig 1.4.17-a
MC 1.20.2, Fabric, 1.18.2, 1.19.2, 1.20.3, 1.20.1, 1.20, 1.20.4
Release 2025-05-02 Get
[FORGE] Lexiconfig 1.3.11
MC 1.20.2, 1.20.3, 1.20.1, Forge, 1.20, 1.20.4, 1.18, 1.19
Release 2024-06-16 Get
[NEOFORGE] Lexiconfig 1.3.11
MC 1.20.2, NeoForge, 1.20.3, 1.20.1, 1.20, 1.20.4, 1.18, 1.19
Release 2024-06-16 Get
[FABRIC] Lexiconfig 1.3.11
MC 1.20.2, Fabric, 1.20.3, 1.20.1, 1.20, 1.20.4, 1.18, 1.19
Release 2024-06-16 Get
[FORGE] Lexiconfig 1.2.11
MC 1.20.2, 1.20.3, 1.20.1, Forge, 1.20, 1.20.4, 1.18, 1.19
Release 2024-06-08 Get
[NEOFORGE] Lexiconfig 1.2.11
MC 1.20.2, NeoForge, 1.20.3, 1.20.1, 1.20, 1.20.4, 1.18, 1.19
Release 2024-06-08 Get
[FABRIC] Lexiconfig 1.2.11
MC 1.20.2, Fabric, 1.20.3, 1.20.1, 1.20, 1.20.4, 1.18, 1.19
Release 2024-06-08 Get
Lexiconfig 1.0.0 [FABRIC]
MC 1.20.2, Fabric, Client, 1.20.3, 1.20.4, Server
Release 2024-05-16 Get
Lexiconfig 1.0.0 [FORGE]
MC 1.20.2, Client, 1.20.3, Forge, 1.20.4, Server
Release 2024-05-16 Get
Lexiconfig 1.0.0 [NEOFORGE]
MC 1.20.2, Client, NeoForge, 1.20.3, 1.20.4, Server
Release 2024-05-16 Get

More from CodinGlitch

CodinGlitch's Sorcery
9,058
Simple Voice Radio
4,474,163
Some Origins
3,282
Vibrative Voice
285,351

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314