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
MysticCraft Divivded Kingdoms MysticCraft Divivded Kingdoms KRILLKRAFT KRILLKRAFT  Alone ... (Horror) - The Countdown Alone ... (Horror) - The Countdown True: Calamity True: Calamity TTIGRAAV : That Time I Got Reincarnated As A Vampire TTIGRAAV : That Time I Got Reincarnated As A Vampire Horror: Perfected Horror: Perfected Reqium Reqium Zombie Fungal Infection Zombie Fungal Infection [MCMV] Aeronautics Modpack [MCMV] Aeronautics Modpack Create: Beyond Industry 2 [FORGE] Create: Beyond Industry 2 [FORGE] Rabbit's FNAF pack Rabbit's FNAF pack Dayz 2.0 Dayz 2.0 Animation Life (unofficial) Animation Life (unofficial) GunsCraft - ByLupin GunsCraft - ByLupin play.Create-SMP.com play.Create-SMP.com World Racing League - Speed Racer World Racing League - Speed Racer Realms Server Modpack (Season 13) Realms Server Modpack (Season 13) Echoes of Volkrune Echoes of Volkrune P. Icarus P. Icarus Create AeronauticsPLUS Create AeronauticsPLUS NVVS New Legends NVVS New Legends Cave Horror Project Origins Cave Horror Project Origins Twixxel's stalkers (Made By Sh4rky) Twixxel's stalkers (Made By Sh4rky) Military Spy Agency (Draco Incognitas) Military Spy Agency (Draco Incognitas) Create : Constant Warfare Create : Constant Warfare The Last Survivors - Zombie Apocalypse The Last Survivors - Zombie Apocalypse The Freezing Horror The Freezing Horror ParanoiaCraft: Descent into madness ParanoiaCraft: Descent into madness Changed Chaos Edition Changed Chaos Edition Resurgence Resurgence The Last Krafter The Last Krafter HexCraft HexCraft Weenie Hut NEO Weenie Hut NEO Jujutsu Kaisen  A Sorcerer's Path Jujutsu Kaisen A Sorcerer's Path RETURNED! RETURNED! Eldarval Drehmal Eldarval Drehmal Bee Valley Cute Edition Bee Valley Cute Edition Create: Mobilised Create: Mobilised The Modpack of absolute all time The Modpack of absolute all time Wandering Hollows Season 2 Wandering Hollows Season 2 Creatia 3 Creatia 3 Friendgroup create server Friendgroup create server World War 3 World War 3 Dank-Dreams Dank-Dreams Luminosity Luminosity Mustard Craft Mustard Craft Horrors of the farlands Horrors of the farlands Project Z - Zombie Apocalypse Project Z - Zombie Apocalypse FNAF.RP FNAF.RP MBS - Ocean Horror with Verity MBS - Ocean Horror with Verity Horrorr Project 2 Horrorr Project 2 IGGY's Warium Pack IGGY's Warium Pack Cannons and Cantrips - CaC Cannons and Cantrips - CaC Gentle Giant Gentle Giant Mechs & Mysteries Mechs & Mysteries Createrington Rails 'n Sails Createrington Rails 'n Sails Yet Another Horror Pack Yet Another Horror Pack The Corrupted Directory The Corrupted Directory SharkSquad Modpacks SharkSquad Modpacks Convergence SMP Convergence SMP Sky Ground Next Level Sky Ground Next Level Sinborn Odyssey 2 Sinborn Odyssey 2 SCP Site Roleplay SCP Site Roleplay VaultSMP VaultSMP Dwarfz 6 Dwarfz 6 Paulox's Spore Infection Paulox's Spore Infection Create Baked Architecture Create Baked Architecture FROST: Wakes The Storm FROST: Wakes The Storm Celeste Create Hell: REFORGED Celeste Create Hell: REFORGED Kâbus Âlemi Kâbus Âlemi Arctic Winter Arctic Winter Warcrimes Central Warcrimes Central Most the Mods official Mod pack Most the Mods official Mod pack Stellar Warfare Stellar Warfare Guns, Dragons, and Death! Guns, Dragons, and Death! TerraFirmaCivilization Season 2 TerraFirmaCivilization Season 2 Create: Up and Away Create: Up and Away More Magika! More Magika! Cobbled Industries 2 Cobbled Industries 2 Quark's Adventures [S1] Quark's Adventures [S1] Multiversal Multiversal PurgatoryMC PurgatoryMC Community Horror Pack Community Horror Pack FNAF: Reborn FNAF: Reborn Wheel of Mods 3 Wheel of Mods 3 No More Dwellers, Please! No More Dwellers, Please! GreenBound GreenBound EMERIS Endless Summer EMERIS Endless Summer The Last Province zombie apocalypse The Last Province zombie apocalypse Our Way Of Life Our Way Of Life Warspire Warspire Storm Chasers Forge Storm Chasers Forge New Horizons 3 [Horror] New Horizons 3 [Horror] FNAF RP TURNO NOCTURNO FNAF RP TURNO NOCTURNO Rusty's Create Rusty's Create LightCraft Season 3 LightCraft Season 3 Verity Enhanced Verity Enhanced Project zer0 Project zer0 The Silly Shenanigoons - Barebones REDUX The Silly Shenanigoons - Barebones REDUX It's Hunting Me in The Country Road... [HORROR] It's Hunting Me in The Country Road... [HORROR]

External Resources