Skip to content

Lexiconfig مود لماينكرافت 1.20.1, 1.21.1

واجهة برمجة تطبيقات للإعدادات تهدف إلى توفير العديد من عمليات التكامل إلى جانب مكتبات أخرى، وأن تكون سهلة الاستخدام قدر الإمكان، للمطورين والمستخدمين على حد سواء.

ابتداءً من CodinGlitch · CurseForge
تنزيلات
5 تنزيلات
مشاهدة
51 مشاهدة
محدّث
محدّث 24.10.2026

نظرة عامة

هذه واجهة برمجية للإعدادات تهدف إلى توفير التوافق عبر عدة مكتبات إعدادات مختلفة أخرى، بالإضافة إلى سهولة استخدامها في إعداد مشروع متعدد المحمّلات، وذلك بشكل أساسي للاستخدام في تعديلاتي.

تتميز بصياغة بسيطة قائمة على التعليقات التوضيحية، لجعل إنشاء ملفات الإعدادات الجديدة سهلاً قدر الإمكان.

إذا كنت مستخدماً للتعديلات، فمن المحتمل ألا تكون هذه المعلومات مفيدة جداً لك. أما إذا كنت مطوّر تعديلات وترغب في استخدام Lexiconfig في مشاريعك الخاصة، فانتقل إلى قسم التطوير.

لا تدعم حالياً مكتبات الإعدادات الأخرى، ولكن مع استمراري في تحديثها، سأضيف المزيد من التوافقات لكل واحدة منها لضمان عدم تعارضها مع الأخرى، بل اندماجها بسلاسة فيما بينها.

إليك قائمة بالتكاملات الحالية والمخطط لها عبر مكتبات وواجهات الإعدادات المختلفة:

❌ - غير مدمج ✅ - مدمج ❓ - قيد التقدم

الحالة التعديل

❌ Cloth Config

❌ oωo config

✅ Configured

❌ Forge Config Screens

التطوير

يحتوي هذا التعديل على واجهة برمجية يمكن استخدامها لإيداع معاجم جديدة، والاستماع إلى الأحداث، وما إلى ذلك.

الاعتماد

build.gradle

dependencies { implementation "com.codinglitch.lexiconfig:lexiconfig-api:APIVERSIONHERE" }

يمكنك زيارة 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

  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.

  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-neoforge-1.4.21-novel.jar (64 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.

  4. 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.21NeoForge[NEOFORGE] Lexiconfig 1.4.21-novel63.8 KB 1
1.21Fabric[FABRIC] Lexiconfig 1.4.21-novel271 KB 2
1.18.1Forge[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

التعليقات 0

سجّل الدخول للتعليقتسجيل الدخول

مودات مشابهة

كل المودات

المزيد حول هذا