Minecraft 1.20.1, 1.21.1용 Lexiconfig 모드
다른 라이브러리와의 다양한 통합을 제공하고 개발자와 사용자 모두가 최대한 쉽게 사용할 수 있도록 하는 것을 목표로 하는 설정 API입니다.
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); } }
Lexiconfig 설치 방법
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
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.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
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.
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.
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.
Launch the loader profile
Open “Mods” in the main menu: Lexiconfig should be in the list.
On a server
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.
File goes into the server’s mods folder
Stop the server, put the mod file into the mods folder and start the server again.
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.
버전
의존성 포함
| Minecraft | 로더 | 파일 | 날짜 | 작업 |
|---|---|---|---|---|
| 1.21.11 | Fabric | 1.21.11272 KB | ||
| 1.21.11 | NeoForge | 1.21.1163.8 KB | ||
| 1.20.6 | Forge | 1.20.665.6 KB | ||
| 1.20.6 | Fabric | 1.20.6272 KB | ||
| 1.21.11 | NeoForge | 1.21.1163.8 KB | ||
| 1.21.11 | Fabric | 1.21.11271 KB | ||
| 1.20.6 | Forge | 1.20.665.6 KB 1 | ||
| 1.20.6 | Fabric | 1.20.6271 KB |
실행에 필요한 것
- Configured선택 사항
- Fabric API필수
이것이 필요한 콘텐츠
FAQ
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.
리뷰
Lexiconfig의 첫 평가를 남겨 보세요


