Skip to content

Lexiconfig Mod za Minecraft 1.20.1, 1.21.1

Ovo je konfiguracijski API koji ima za cilj da pruži mnoge integracije uz druge biblioteke i da bude što lakši za korišćenje, kako za programere tako i za korisnike.

Na serveru
preuzimanja
1 preuzimanja
pregleda
27 pregleda
Ažurirano
Ažurirano 26.10.2026

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

Kako instalirati Lexiconfig

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.18–1.21.11 on Fabric, Forge or NeoForge automatically, together with its dependencies: Fabric API.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric, Forge or NeoForge

    The loader must match the game version of the mod file, for example Minecraft 1.21.11. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file lexiconfig-fabric-1.4.22-novel.jar (272 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it. Required dependencies go there too: Fabric API.

  4. Launch the loader profile

    Open “Mods” in the main menu: Lexiconfig should be in the list.

On a server

  1. A server on Fabric, Forge or NeoForge

    The mod only works on a server with the same loader and game version, for example 1.21.11.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Minecraft 1.21.11 runs on Java 21: with a different Java version the game may close right after launch.

Verzije

Sa zavisnostima

MinecraftLoaderFajlDatumAkcije
1.21.11Fabric1.21.11272 KB
1.21.11NeoForge1.21.1163.8 KB
1.20.6Forge1.20.665.6 KB
1.20.6Fabric1.20.6272 KB
1.21.11NeoForge1.21.1163.8 KB
1.21.11Fabric1.21.11271 KB
1.20.6Forge1.20.665.6 KB 1
1.20.6Fabric1.20.6271 KB

Šta je potrebno za pokretanje

Sadržaj koji ga zahteva

Česta pitanja

Which Minecraft versions does Lexiconfig work on?

There are files for 1.18–1.21.11, 27 versions in total. The newest is 1.21.11.

Is Lexiconfig for Forge or Fabric?

There are files for Fabric: 1.18–1.21.11, for Forge: 1.18–1.20.6 and for NeoForge: 1.18.2–1.21.11.

What does Lexiconfig need to work?

Required: Fabric API. Without it the mod will not start: dependencies go into the same mods folder. Optional: Configured.

Does Lexiconfig work on a server?

Yes. Lexiconfig works both in singleplayer and on a server.

Which Java does Lexiconfig need?

Minecraft 1.21.11 runs on Java 21. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.

Where can I download Lexiconfig safely?

On this page: the file lexiconfig-fabric-1.4.22-novel.jar (272 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: d6010c61d88f7b22ec75fa21d10ca2d494bd2035.

Recenzije

Budi prvi koji će oceniti Lexiconfig

Komentari 0

Prijavi se da komentarišešPrijavi se

Slični modovi

Svi modovi

Više o ovome

Autor: CodinGlitchLicenca: GPL-3.0-onlyIzvorni kod

Da li si ti autor? Kontaktiraj nas — uklonićemo ga u roku od 48 sati.