Minecraft 1.20.1, 1.21.1용 Lexiconfig 모드
다른 라이브러리와의 다양한 통합을 제공하고 개발자와 사용자 모두가 최대한 쉽게 사용할 수 있도록 하는 것을 목표로 하는 설정 API입니다.
개요
이것은 여러 다른 구성 라이브러리 간의 호환성을 제공하고 멀티로더 프로젝트 설정에서 사용하기 쉽도록 만들어진 구성 API로, 주로 제 모드에서 사용하기 위한 것입니다.
사용하기 쉬운 어노테이션 기반 문법을 갖추고 있어 새로운 구성 파일을 최대한 쉽게 만들 수 있습니다.
모드 사용자라면 이 정보는 별로 유용하지 않을 것입니다. 하지만 모드 개발자이고 자신의 프로젝트에서 Lexiconfig를 사용하고 싶다면 Development 섹션으로 더 스크롤하세요.
현재 다른 구성 라이브러리에 대한 지원은 없지만, 계속 업데이트하면서 각 라이브러리에 더 많은 호환성을 추가하여 다른 라이브러리와 충돌하지 않고 대신 원활하게 통합될 수 있도록 할 것입니다.
다음은 여러 구성 라이브러리/API에 걸친 현재 및 계획된 통합 목록입니다:
❌ - 미통합 ✅ - 통합됨 ❓ - 진행 중
상태 모드
❌ Cloth Config
❌ oωo config
✅ Configured
❌ Forge Config Screens
개발
이 모드에는 새로운 lexicon을 shelve하고, 이벤트를 수신하는 등의 작업에 사용할 수 있는 API가 포함되어 있습니다.
의존성
build.gradle
dependencies { implementation "com.codinglitch.lexiconfig:lexiconfig-api:APIVERSIONHERE" }
https://versions.codinglitch.com 에서 최신 API 버전을 확인할 수 있습니다.
사용법
자신만의 lexicon을 shelve하려면 먼저 자신만의 Library가 필요합니다. 이는 단순히 Library 클래스를 확장하는 새 클래스를 만들고 LexiconLibrary 어노테이션을 붙이면 됩니다.
@LexiconLibrary public class MyNewLibrary extends Library { @Override public void shelveLexicons() { } }
Forge 설정에서는 더 이상 변경할 필요가 없습니다. 하지만 Fabric용으로 개발 중이라면 이 클래스를 fabric.mod.json의 entrypoint로 추가해야 합니다.
fabric.mod.json
//... "entrypoints": { "lexiconfig": [ "com.path.to.MyNewLibrary" ] } //...
다음 단계는 마침내 lexicon을 만들고 shelve하는 것입니다. 이는 단순히 lexicon용 클래스를 하나 더 만들고 다음과 같이 적절한 어노테이션을 제공하면 됩니다:
@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 = new MyNewPage(); public static class MyNewPage extends LexiconPageData { @LexiconEntry(comment = "This field is inside a lexicon page!") public Boolean myPageField = true; } }
다음이자 마지막 단계는 lexicon을 shelve하는 것으로, 단순히 라이브러리의 필드로 그 인스턴스를 추가하고 주어진 메서드에서 shelve하면 됩니다.
@LexiconLibrary public class MyNewLibrary extends Library { public static MyLexicon MYLEXICON = new MyLexicon(); @Override public void shelveLexicons() { LexiconfigApi.shelveLexicon(MYLEXICON); } }
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.
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-neoforge-1.4.21-novel.jar (64 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.
Launch the loader profile
Open “Mods” in the main menu: Lexiconfig should be in the list.
Minecraft 1.21.11 runs on Java 21: with a different Java version the game may close right after launch.
버전
의존성 포함
| Minecraft | 로더 | 파일 | 날짜 | 작업 |
|---|---|---|---|---|
| 1.21 | NeoForge | [NEOFORGE] Lexiconfig 1.4.21-novel63.8 KB 1 | ||
| 1.21 | Fabric | [FABRIC] Lexiconfig 1.4.21-novel271 KB 2 | ||
| 1.18.1 | Forge | [FORGE] Lexiconfig 1.4.21-epic65.6 KB 2 |
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.21–1.21.11, for Forge: 1.18–1.20.6 and for NeoForge: 1.21–1.21.11.
Does Lexiconfig need other mods?
The author lists no required dependencies: the Fabric, Forge or NeoForge loader is enough.
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-neoforge-1.4.21-novel.jar (64 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: f862c78f4d27938208913d1c3ee4d9be1a13d166.
리뷰
Lexiconfig의 첫 평가를 남겨 보세요

