Minecraft 1.20.1, 1.21.1 کے لیے Lexiconfig موڈ
یہ ایک کنفگ API ہے جس کا مقصد دیگر لائبریریوں کے ساتھ بہت سی انٹیگریشنز فراہم کرنا اور ڈویلپرز و صارفین دونوں کے لیے ہر ممکن حد تک استعمال میں آسان ہونا ہے۔
جائزہ
یہ ایک کنفگ API ہے جس کا مقصد متعدد مختلف دیگر کنفگ لائبریریوں کے ساتھ مطابقت فراہم کرنا ہے اور ساتھ ہی ملٹی لوڈر پروجیکٹ سیٹ اپ میں استعمال میں آسان ہونا ہے، بنیادی طور پر میرے موڈز میں استعمال کے لیے۔
اس میں استعمال میں آسان اینوٹیشن پر مبنی نحو شامل ہے، تاکہ نئی کنفیگریشن فائلیں بنانا حتی الامکان آسان ہو جائے۔
اگر آپ موڈ استعمال کرنے والے صارف ہیں، تو یہ معلومات غالباً آپ کے لیے زیادہ مفید نہیں ہوگی۔ تاہم اگر آپ موڈ ڈویلپر ہیں، اور آپ اپنے پروجیکٹس میں Lexiconfig استعمال کرنا چاہتے ہیں، تو مزید پڑھنے کے لیے ڈویلپمنٹ سیکشن تک جائیں۔
فی الحال اس میں دیگر کنفیگریشن لائبریریوں کی معاونت نہیں ہے، لیکن جیسے جیسے میں اسے اپ ڈیٹ کرتا رہوں گا، میں ہر ایک میں مزید مطابقت شامل کروں گا تاکہ یہ یقینی بنایا جا سکے کہ یہ دوسروں کے ساتھ متصادم نہ ہو اور اس کے بجائے ان کے درمیان بلا رکاوٹ ضم ہو سکے۔
یہاں مختلف کنفگ لائبریریوں/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 کلاس کو ایکسٹینڈ کرنے والی نئی کلاس بنا کر اور اس پر 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 |
عمومی سوالات
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 کو ریٹ کرنے والے پہلے شخص بنیں

