
Что это
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.
- Тип: мод
- Загрузчик: fabric, forge, neoforge
- Версии Minecraft: 1.18 – 1.21.9
- Скачиваний на Modrinth: 1 977 218
Подробно
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.
repositories { maven { url 'https://maven.codinglitch.com/repository/releases' } }
dependencies { implementation "com.codinglitch.lexiconfig:lexiconfig-api:APIVERSIONHERE" }
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. 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 = MYLEXICONTITLE) // 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 =
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
PSYCHOSYS
Sanity Mod is a psychological horror mod that adds a sanity system and frightening visual and sound effects. 05.12.2026
Cobblemeown
Cobblemon pack with extra pokemon content, optimization, and quality-of-life mods 05.12.2026
Saros Worldborder Customizer
Fully customize your world border with RGB colors, opacity settings, and animated pulse effects. Works instantly in multiplayer and saves… 05.12.2026
WayMoreIcons
Simple mod that adds support for setting the window icon when running under Wayland. 05.12.2026
pakistani currency
The Pakistani Currency Mod introduces a unique, immersive economy system to Minecraft, featuring realistic Pakistani currency notes! This… 05.12.2026
Helldivers 2 Stratagems
This mod adds a couple of stratagems from the hit game Helldivers 2 05.12.2026