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
Spores Infection Out Breaks : 100 days (curseforge) Spores Infection Out Breaks : 100 days (curseforge) Integrated MineColonies Integrated MineColonies Twixxel's stalkers (Made By Sh4rky) Twixxel's stalkers (Made By Sh4rky) Another Danger, The Ultimate Horror Modpack Another Danger, The Ultimate Horror Modpack Better Fresh Start (BFS) Better Fresh Start (BFS) iByte Odyssey iByte Odyssey Horror: Perfected Horror: Perfected (Project 0) The Lurkers (Project 0) The Lurkers Esawuna - PvPvE Towny [Discontinued] Esawuna - PvPvE Towny [Discontinued] The Backrooms EVOLVED The Backrooms EVOLVED Mutants & Abilities Mutants & Abilities SCP: Blackout Protocol SCP: Blackout Protocol GunsCraft - ByLupin GunsCraft - ByLupin BlockRooms [Backroom's] BlockRooms [Backroom's] Gear Spinned Gear Spinned play.Create-SMP.com play.Create-SMP.com Reqium Reqium TTIGRAAV : That Time I Got Reincarnated As A Vampire TTIGRAAV : That Time I Got Reincarnated As A Vampire Awakened Server Awakened Server Changed Chaos Edition Changed Chaos Edition CreateSMP Polska CreateSMP Polska  Alone ... (Horror) - The Countdown Alone ... (Horror) - The Countdown MysticCraft Divivded Kingdoms MysticCraft Divivded Kingdoms Realms Server Modpack (Season 13) Realms Server Modpack (Season 13) Military Spy Agency (Draco Incognitas) Military Spy Agency (Draco Incognitas) Zombie Fungal Infection Zombie Fungal Infection The Last Survivors - Zombie Apocalypse The Last Survivors - Zombie Apocalypse Create: Beyond Industry 2 [FORGE] Create: Beyond Industry 2 [FORGE] Rabbit's FNAF pack Rabbit's FNAF pack Animation Life (unofficial) Animation Life (unofficial) Echoes of Volkrune Echoes of Volkrune [MCMV] Aeronautics Modpack [MCMV] Aeronautics Modpack Dayz 2.0 Dayz 2.0 NVVS New Legends NVVS New Legends World Racing League - Speed Racer World Racing League - Speed Racer P. Icarus P. Icarus Rusty's Create Rusty's Create Verity Enhanced Verity Enhanced Create AeronauticsPLUS Create AeronauticsPLUS Cave Horror Project Origins Cave Horror Project Origins MBS - Ocean Horror with Verity MBS - Ocean Horror with Verity Weenie Hut NEO Weenie Hut NEO Create : Constant Warfare Create : Constant Warfare Eldarval Drehmal Eldarval Drehmal HexCraft HexCraft The Freezing Horror The Freezing Horror Resurgence Resurgence The Last Krafter The Last Krafter Horrors of the farlands Horrors of the farlands FNAF.RP FNAF.RP Sky Ground Next Level Sky Ground Next Level ParanoiaCraft: Descent into madness ParanoiaCraft: Descent into madness The Corrupted Directory The Corrupted Directory Everfall - Descent into Disease Everfall - Descent into Disease World War 3 World War 3 Yet Another Horror Pack Yet Another Horror Pack RETURNED! RETURNED! The Modpack of absolute all time The Modpack of absolute all time Nexus RPG Nexus RPG Bee Valley Cute Edition Bee Valley Cute Edition Mustard Craft Mustard Craft Jujutsu Kaisen  A Sorcerer's Path Jujutsu Kaisen A Sorcerer's Path Project Z - Zombie Apocalypse Project Z - Zombie Apocalypse Create: Mobilised Create: Mobilised Everdawn Everdawn Dank-Dreams Dank-Dreams Celeste Create Hell: REFORGED Celeste Create Hell: REFORGED JUJUTSU INSANE JUJUTSU INSANE Creatia 3 Creatia 3 Arctic Winter Arctic Winter Wandering Hollows Season 2 Wandering Hollows Season 2 VaultSMP VaultSMP SharkSquad Modpacks SharkSquad Modpacks Luminosity Luminosity Horrorr Project 2 Horrorr Project 2 IGGY's Warium Pack IGGY's Warium Pack I Heard it Too (UNOFFICAL) I Heard it Too (UNOFFICAL) Cannons and Cantrips - CaC Cannons and Cantrips - CaC Convergence SMP Convergence SMP Warspire Warspire Gentle Giant Gentle Giant Mechs & Mysteries Mechs & Mysteries Stranded on a Shipment Container Stranded on a Shipment Container ALCHEMIST RPG ALCHEMIST RPG Most the Mods official Mod pack Most the Mods official Mod pack The Last Province zombie apocalypse The Last Province zombie apocalypse GreenBound GreenBound Project zer0 Project zer0 Cobbled Industries 2 Cobbled Industries 2 Our Way Of Life Our Way Of Life Dwarfz 6 Dwarfz 6 Stellar Warfare Stellar Warfare Warcrimes Central Warcrimes Central Kâbus Âlemi Kâbus Âlemi Create Baked Architecture Create Baked Architecture RailCore official community modpack RailCore official community modpack Storm Chasers Forge Storm Chasers Forge TerraFirmaCivilization Season 2 TerraFirmaCivilization Season 2 New Horizons 3 [Horror] New Horizons 3 [Horror] Paulox's Spore Infection Paulox's Spore Infection

External Resources