حول مود Architectury API
تحدث معنا على ديسكورد!
واجهة برمجية وسيطة تهدف إلى تسهيل تطوير المودات متعددة المنصات.
ما هو Architectury API
Architectury API هي واجهة برمجية لتجريد الاستدعاءات إلى fabric api و forge api حيث أن كلا المحملين لديهما تطبيقات مختلفة لما يمكن اعتباره الشيء نفسه.
يُحدَّث Architectury API بانتظام، مع خطافات وميزات جديدة. يحتوي حاليًا على أكثر من 90 خطاف أحداث، وتجريد الشبكات، وتجريد استدعاءات المحمل، وتجريد سجل اللعبة، وتعليق @ExpectPlatform سهل الاستخدام (يعمل فقط على الطرق الثابتة).
هل أحتاج حقًا إلى هذه الواجهة البرمجية؟
Architectury API هو جزء واحد فقط من نظام architectury البيئي، وArchitectury Plugin هو إضافة gradle التي تُمكّن كل هذه الإجراءات متعددة المنصات.
Architectury API اختياري للمشاريع المبنية على architectury، يمكنك إنشاء مشروع architectury الخاص بك باستخدام Architectury Plugin فقط.
مزايا Architectury
- مفتوح المصدر
- قوالب أقل لمودك متعدد المنصات
البدء في صنع مودات متعددة المنصات
Architectury Loom: https://github.com/architectury/architectury-loom (نسخة متفرعة من Fabric Loom تضيف قدرات تطوير متعددة المنصات)
Gradle Plugin: https://github.com/architectury/architectury-plugin (يتضمن Architectury Injectables، من أجل تعليق @ExpectPlatform)
Example Mod: https://github.com/architectury/architectury-example-mod (مود مثال متوقف عن العمل يستخدم Architectury، إن أمكن، استخدم القوالب بدلًا منه)
Mod Templates: https://github.com/architectury/architectury-templates (مجموعة من القوالب للبدء باستخدام سلسلة أدوات Architectury)
مثال: استخدام @ExpectPlatform
شكر وتقدير
في بعض الإصدارات الأقدم، كانت هذه المكتبة تتضمن typetools؛ يمكنك العثور على ترخيصها هنا
كيفية تثبيت Architectury API
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.16–26.3 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 26.3. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file architectury-fabric-22.0.5.jar (608 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: Architectury API 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 26.3.
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 | المشغّل | الملف | التاريخ | الإجراءات |
|---|---|---|---|---|
| 26.3 | Fabric | 26.3608 KB 157 | ||
| 26.3 | NeoForge | 26.3608 KB 14 | ||
| 26.2 | Fabric | 26.2610 KB 65 | ||
| 26.2 | NeoForge | 26.2607 KB 1 | ||
| 26.1.2 | NeoForge | 26.1.2604 KB | ||
| 26.1.2 | Fabric | 26.1.2608 KB 22 | ||
| 26.3 | NeoForge | 26.3608 KB 1 | ||
| 26.3 | Fabric | 26.3608 KB 20 |
ما يلزم لتشغيله
- Fabric APIمطلوب
التقييمات
كن أول من يقيّم Architectury API


