Architectury API موڈ کے بارے میں
ہم سے Discord پر بات کریں!
ایک درمیانی api جس کا مقصد ملٹی پلیٹ فارم موڈز کی تیاری کو آسان بنانا ہے۔
Architectury API کیا ہے
Architectury API ایک api ہے جو fabric api اور forge api کالز کو abstract کرتی ہے کیونکہ دونوں لوڈرز میں ایک ہی چیز سمجھی جانے والی چیز کے مختلف implementations ہوتے ہیں۔
Architectury API باقاعدگی سے اپ ڈیٹ ہوتی ہے، نئے hooks اور features کے ساتھ۔ فی الحال اس میں 90 سے زائد events hooks، networking abstraction، loader calls abstraction، game registry abstraction اور آسانی سے استعمال ہونے والی @ExpectPlatform annotation شامل ہے (صرف static methods پر کام کرتی ہے)۔
کیا مجھے واقعی اس API کی ضرورت ہے؟
Architectury API architectury ecosystem کا صرف ایک حصہ ہے، Architectury Plugin وہ gradle plugin ہے جو ان تمام ملٹی پلیٹ فارم اقدامات کو ممکن بناتا ہے۔
architectury پر بنائے گئے projects کے لیے Architectury API اختیاری ہے، آپ صرف Architectury Plugin کے ساتھ اپنا architectury project بنا سکتے ہیں۔
Architectury کے فوائد
- اوپن سورس
- آپ کے ملٹی پلیٹ فارم موڈ کے لیے کم boilerplate
ملٹی پلیٹ فارم موڈز بنانے کا آغاز
Architectury Loom: https://github.com/architectury/architectury-loom (Fabric Loom کا ایک fork جو ملٹی پلیٹ فارم ڈیولپمنٹ کی صلاحیتیں شامل کرتا ہے)
Gradle Plugin: https://github.com/architectury/architectury-plugin (اس میں Architectury Injectables شامل ہے، @ExpectPlatform annotation کے لیے)
Example Mod: https://github.com/architectury/architectury-example-mod (Architectury استعمال کرنے والا ایک بند شدہ example mod، اگر ممکن ہو تو اس کے بجائے templates استعمال کریں)
Mod Templates: https://github.com/architectury/architectury-templates (Architectury toolchain استعمال کرتے ہوئے شروع کرنے کے لیے templates کا ایک مجموعہ)
مثال: @ExpectPlatform کا استعمال
Credits
کچھ پرانے versions میں، یہ library typetools کو bundle کرتی تھی؛ اس کا license آپ یہاں دیکھ سکتے ہیں
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 کو ریٹ کرنے والے پہلے شخص بنیں


