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,308,286

CurseForge ID

1019452

Modrinth Downloads

1,709,463

Modrinth ID

D157Rgyf

Last Updated

Sep 11, 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 ``` repositories { maven { url 'https://maven.codinglitch.com/repository/releases' } } dependencies { implementation "com.codinglitch.lexiconfig:lexiconfig-api:API_VERSION_HERE" } ``` You can go to [https://versions.codinglitch.com](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. ```java @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 ```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: ```java @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. ```java @LexiconLibrary public class MyNewLibrary extends Library { public static MyLexicon MY_LEXICON = new MyLexicon(); @Override public void shelveLexicons() { LexiconfigApi.shelveLexicon(MY_LEXICON); } } ```

Compatibility

Mod Loaders

Fabric Forge Neoforge

Game Versions

1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 +5 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 (265)

Show fewer
Cave Horror Project 1 Cave Horror Project 1 MC Eternal 2 MC Eternal 2 Cave Horror Project 1 Cave Horror Project 1 Liminal Industries Liminal Industries Biohazard: Project Genesis - The Ultimate Apocalypse Biohazard: Project Genesis - The Ultimate Apocalypse MineField Mods MineField Mods All The Mods - Gravitas² All The Mods - Gravitas² ChaosZProject - A Modern Zombie Apocalypse [VR for WIP v.3.0.0] ChaosZProject - A Modern Zombie Apocalypse [VR for WIP v.3.0.0] Izakji's Zombie Apocalypse II Izakji's Zombie Apocalypse II HORROR - A Quiet Place -  Death Angels HORROR - A Quiet Place - Death Angels TerraFirma: Rebirth TerraFirma: Rebirth Survive from VERITY or FALSITY Survive from VERITY or FALSITY Tanks, Ammo, Planes, and Nukes Tanks, Ammo, Planes, and Nukes HORROR - The silent forest - Siren Head (horror) HORROR - The silent forest - Siren Head (horror) Beyond Viltrum - Invincible Inc Beyond Viltrum - Invincible Inc True Horror True Horror FreshCraft Classic FreshCraft Classic Lees Zombie Apocalypse - Fallen Earth Lees Zombie Apocalypse - Fallen Earth The Cursed Redwood Forest (Horror) The Cursed Redwood Forest (Horror) Cobblemon Factory (Now with all 1025 pokemon!) Cobblemon Factory (Now with all 1025 pokemon!) Create Sky Colonies - Valkyrian Skies X Create 6.0 Create Sky Colonies - Valkyrian Skies X Create 6.0 RLFabric RLFabric Shewolf's Origins Shewolf's Origins FEARCRAFT  [FORGE JAVA] FEARCRAFT [FORGE JAVA] FreshCraft SteamPunk Industry DLC FreshCraft SteamPunk Industry DLC TransformersCraft: Rebirth TransformersCraft: Rebirth Cave horror optimized (cave horror project 1) Cave horror optimized (cave horror project 1) Liminal Industries Acension Liminal Industries Acension Horrorcraft Reimagined Horrorcraft Reimagined Steller: The Rise of the Kingdom Steller: The Rise of the Kingdom TRUE RTX TRUE RTX I heard it too.JAR I heard it too.JAR The Iron Lung Experience The Iron Lung Experience SharpSharp RPG SharpSharp RPG FNAF: The Longest Night FNAF: The Longest Night Bodycam VHS Bodycam VHS Parasite Infestation Parasite Infestation FreshCraft Fantasy DLC FreshCraft Fantasy DLC TFC Evolved TFC Evolved Realm of the Titans Realm of the Titans Mekanism & Create Mekanism & Create Souls SMP Series Souls SMP Series Kingdom of Elchea Kingdom of Elchea Create The Ultimate warfare Create The Ultimate warfare TACZ: BG TACZ: BG Penumbralcraft Penumbralcraft World Of Dragons World Of Dragons Create Colonies- A Perfect World 2 Extension Create Colonies- A Perfect World 2 Extension Liminal Industries - Rescripted Liminal Industries - Rescripted JJK Reborn JJK Reborn Simplicity SMP Simplicity SMP Au Naturel Au Naturel Far Craft: illager Battleground Far Craft: illager Battleground COMBAT STRIKE ZERO(TACZ FPS PVP) COMBAT STRIKE ZERO(TACZ FPS PVP) Sulidae TFC Sulidae TFC Liminal Industries - Oil Expansion Liminal Industries - Oil Expansion The Last Dawn I - Remastered The Last Dawn I - Remastered Crafty Colonies: RTS Crafty Colonies: RTS The Five Nights The Five Nights CaveTerrors VR CaveTerrors VR MHA : Heroes Journey MHA : Heroes Journey SCP Area: [REDACTED] By Epic7404 SCP Area: [REDACTED] By Epic7404 Outbreak Outbreak Wipezone Wipezone TacCam TacCam Null Sector Null Sector The Valley - Sunlit Valley Expanded The Valley - Sunlit Valley Expanded Essentials:Create Essentials:Create Zurvive - The Last Apocalypse Zurvive - The Last Apocalypse StrikeCraft StrikeCraft In Search of Lost Spells (Iron's Spells n Spellbooks) In Search of Lost Spells (Iron's Spells n Spellbooks) war for the omnitrix war for the omnitrix Create: Warzone Create: Warzone Citycraft Roleplay Citycraft Roleplay Realistic Minecraft - Frealism Realistic Minecraft - Frealism Naano Horizons - Utalyoa Edition Naano Horizons - Utalyoa Edition Create: Reatomized! Create: Reatomized! COMBAT ZERO(TACZ FPS PVP) COMBAT ZERO(TACZ FPS PVP) Cataclysmic Cataclysmic  DayCraft REVAMPED DayCraft REVAMPED Paralyzed: The Boiled One Paralyzed: The Boiled One Vanilla Sharp Vanilla Sharp Zoompack 4 Zoompack 4 Crafttomuck Crafttomuck Integrated MineColonies Integrated MineColonies Paps Superflat 2 Multiplayer Ready Paps Superflat 2 Multiplayer Ready Spores Infection Out Breaks : 100 days (curseforge) Spores Infection Out Breaks : 100 days (curseforge) Apocalipse Light - A Zombie Apocalypse Survival Apocalipse Light - A Zombie Apocalypse Survival A Quite Place remastered A Quite Place remastered dreamshift world dreamshift world Esawuna - PvPvE Towny [Discontinued] Esawuna - PvPvE Towny [Discontinued] iByte Odyssey iByte Odyssey (Project 0) The Lurkers (Project 0) The Lurkers The Backrooms EVOLVED The Backrooms EVOLVED Mutants & Abilities Mutants & Abilities Dopeman's Apocalypse to die for Dopeman's Apocalypse to die for RoundAbout JoJo RoundAbout JoJo SCP: Blackout Protocol SCP: Blackout Protocol Another Danger, The Ultimate Horror Modpack Another Danger, The Ultimate Horror Modpack Gear Spinned Gear Spinned

External Resources