Modscraper Modscraper Minecraft
Lexiconfig logo

Lexiconfig

Mod

by CodinGlitch

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.

Type

Mod

CurseForge Downloads

7,955,054

CurseForge ID

1019452

Modrinth Downloads

1,922,685

Modrinth ID

D157Rgyf

Last Updated

Nov 7, 2026

Description

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);
  }
}

Compatibility

Mod Loaders

Client Neoforge Server

Game Versions

1.21 1.21.8 1.21.5 1.21.4 1.21.1 1.21.6 1.21.3 1.21.7 1.21.2 1.21.9 +2 more

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (299)

Show fewer
MoveEarth MoveEarth Aphelyon Aphelyon Create: Above the Clouds Create: Above the Clouds More Magika! More Magika! Multiversal Multiversal Guns, Dragons, and Death! Guns, Dragons, and Death! FROST: Wakes The Storm FROST: Wakes The Storm Wheel of Mods 3 Wheel of Mods 3 It's Hunting Me in The Country Road... [HORROR] It's Hunting Me in The Country Road... [HORROR] Instant Assault [Create + TacZ] Instant Assault [Create + TacZ] Convergence Convergence Sinborn Odyssey 2 Sinborn Odyssey 2 Create: Up and Away Create: Up and Away SCP Site Roleplay SCP Site Roleplay No More Dwellers, Please! No More Dwellers, Please! FNAF: Reborn FNAF: Reborn Community Horror Pack Community Horror Pack LightCraft Season 3 LightCraft Season 3 OvermoddedCraft OvermoddedCraft FNAF RP TURNO NOCTURNO FNAF RP TURNO NOCTURNO DLI Moderately Modded Minecraft, Meals, Magic & Machinery DLI Moderately Modded Minecraft, Meals, Magic & Machinery Quark's Adventures [S1] Quark's Adventures [S1] EMERIS Endless Summer EMERIS Endless Summer PurgatoryMC PurgatoryMC Tiganj - Dark Fantasy RPG Tiganj - Dark Fantasy RPG The Silly Shenanigoons - Barebones REDUX The Silly Shenanigoons - Barebones REDUX Saucer Beans Saucer Beans Kosmosschrott Aeronautics Kosmosschrott Aeronautics CreateRatinized CreateRatinized Cozy Cobble Adventures Cozy Cobble Adventures espania saison 2 espania saison 2 Semi-realist Create Semi-realist Create Classic Horror Game Classic Horror Game Depressed_Rabbit's FNAF pack Depressed_Rabbit's FNAF pack Cody's Cobblemon Adventure Cody's Cobblemon Adventure jacopack lite jacopack lite Tech and Guns: Zombie warfare Tech and Guns: Zombie warfare Whiteout Protocol Whiteout Protocol Jitsonville Pack Jitsonville Pack Realistic Weather & Colonies (R.W.C) (ARCHIVED) Realistic Weather & Colonies (R.W.C) (ARCHIVED) World's Coliding World's Coliding Souls of Gods Souls of Gods Schematifactory Schematifactory Create and Devastate Create and Devastate Changed: Affliction Changed: Affliction Everglave Everglave All the ARG All the ARG RPN - Revolution RPN - Revolution Chaos: Arcane Engineering Chaos: Arcane Engineering KumoDesu Adventures KumoDesu Adventures Create: War and Economy Create: War and Economy Dead Of The Night Dead Of The Night Encore Encore Of Cogs and Clockwork Echo One Group Echo One Group Tactical Frontier Tactical Frontier It's Party Time It's Party Time Hollow Frequency - A Halloween Story Hollow Frequency - A Halloween Story Common-Arcadia - Next Gen Common-Arcadia - Next Gen Maniac DBD Maniac DBD AndyTech AndyTech ratt.co colonies ratt.co colonies New Worlds Geopol New Worlds Geopol Contemporary Spellcraft Contemporary Spellcraft World at War Frontlines World at War Frontlines Gears, Dragon and Vampires Gears, Dragon and Vampires Steampunk Wizard City Steampunk Wizard City Vox Terrae (O Recomeco) Vox Terrae (O Recomeco) InventMC Modpack InventMC Modpack Kingdom's Unbound Official Pack Kingdom's Unbound Official Pack CREATE HUB CREATE HUB Legacy of the Cogs Legacy of the Cogs Create: Kryp Create: Kryp Christian's Horror Adventure Christian's Horror Adventure Psychosis Psychosis A Minecraft server Modpack A Minecraft server Modpack CRYONETICS Rebooted CRYONETICS Rebooted FortMine ++ FortMine ++ Malficarum Malficarum Corpus 2026 Corpus 2026 SupernovaSMP SupernovaSMP DDAGCraft DDAGCraft Quickraft Quickraft Lyrran's BattleCraft Lyrran's BattleCraft LOST IN THE VORTEX LOST IN THE VORTEX Kinetic Civilisation Kinetic Civilisation PeninsulaCraft PeninsulaCraft Geeks Of Create Geeks Of Create Fyxe's Classic+ Fyxe's Classic+ Darkness to Dawn Darkness to Dawn Enigma-Craft Enigma-Craft Hyn Client Hyn Client Teushitties Revenge 3D: Dorfeldt Fucking Dies Teushitties Revenge 3D: Dorfeldt Fucking Dies Creatine Creatine Quifted Starlit Harvest Starlit Harvest Hyn Server Hyn Server Opti+ VanillaPlus Opti+ VanillaPlus IRLcraft Lite Edition

External Resources