Minecraft 1.20.1, 1.21.1 के लिए Lexiconfig मॉड
यह एक कॉन्फ़िग API है जिसका उद्देश्य अन्य लाइब्रेरीज़ के साथ कई एकीकरण प्रदान करना और डेवलपर्स और उपयोगकर्ताओं दोनों के लिए उपयोग में यथासंभव आसान होना है।
अवलोकन
यह एक कॉन्फ़िग API है जिसका उद्देश्य कई अलग-अलग अन्य कॉन्फ़िग लाइब्रेरीज़ के साथ संगतता प्रदान करना है, साथ ही मल्टीलोडर प्रोजेक्ट सेटअप में उपयोग करने में आसान होना है, मुख्य रूप से मेरे मॉड्स में उपयोग के लिए।
इसमें उपयोग में आसान एनोटेशन-आधारित सिंटैक्स है, ताकि नई कॉन्फ़िगरेशन फ़ाइलें बनाना यथासंभव आसान हो जाए।
यदि आप एक मॉड उपयोगकर्ता हैं, तो यह जानकारी संभवतः आपके लिए बहुत उपयोगी नहीं है। हालाँकि, यदि आप एक मॉड डेवलपर हैं, और आप अपने प्रोजेक्ट्स में Lexiconfig का उपयोग करना चाहते हैं, तो Development सेक्शन तक और स्क्रॉल करें।
वर्तमान में इसमें अन्य कॉन्फ़िगरेशन लाइब्रेरीज़ के लिए समर्थन नहीं है, लेकिन जैसे-जैसे मैं इसे अपडेट करता रहूँगा, मैं प्रत्येक में अधिक संगतताएँ जोड़ता रहूँगा ताकि यह दूसरों के साथ टकराव न करे और इसके बजाय उनके बीच सहजता से एकीकृत हो सके।
यहाँ विभिन्न कॉन्फ़िग लाइब्रेरीज़/API में वर्तमान तथा नियोजित एकीकरणों की सूची दी गई है:
❌ - अएकीकृत ✅ - एकीकृत ❓ - प्रगति पर
स्थिति मॉड
❌ Cloth Config
❌ oωo config
✅ Configured
❌ Forge Config Screens
डेवलपमेंट
इस मॉड में एक API है जिसका उपयोग नए लेक्सिकॉन को शेल्व करने, इवेंट्स को सुनने, आदि के लिए किया जा सकता है।
निर्भरता
build.gradle
dependencies { implementation "com.codinglitch.lexiconfig:lexiconfig-api:APIVERSIONHERE" }
आप नवीनतम API संस्करण देखने के लिए https://versions.codinglitch.com पर जा सकते हैं।
उपयोग
अपने स्वयं के लेक्सिकॉन को शेल्व करने के लिए, आपको पहले अपनी स्वयं की Library बनानी होगी। यह बस Library क्लास को एक्सटेंड करने वाली एक नई क्लास बनाकर और उस पर LexiconLibrary एनोटेशन लगाकर किया जा सकता है।
@LexiconLibrary public class MyNewLibrary extends Library { @Override public void shelveLexicons() { } }
Forge सेटअप में, और कोई बदलाव करने की आवश्यकता नहीं है। हालाँकि, यदि आप Fabric के लिए डेवलप कर रहे हैं, तो आपको इस क्लास को अपने fabric.mod.json में एक एंट्रीपॉइंट के रूप में जोड़ना होगा।
fabric.mod.json
//... "entrypoints": { "lexiconfig": [ "com.path.to.MyNewLibrary" ] } //...
अगला कदम अंततः अपने लेक्सिकॉन बनाना और शेल्व करना है। आप यह लेक्सिकॉन के लिए एक और क्लास बनाकर और उसे उचित एनोटेशन देकर कर सकते हैं, जैसे कि निम्नलिखित:
@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; } }
अगला और अंतिम कदम लेक्सिकॉन को शेल्व करना है, जो बस लाइब्रेरी में इसका एक इंस्टेंस एक फ़ील्ड के रूप में जोड़कर और दिए गए मेथड में इसे शेल्व करके किया जा सकता है।
@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 को सबसे पहले रेट करें

