Architectury API मॉड के बारे में
हमसे Discord पर बात करें!
एक मध्यस्थ api जिसका उद्देश्य मल्टीप्लेटफ़ॉर्म मॉड्स के विकास को आसान बनाना है।
Architectury API क्या है
Architectury API एक api है जो fabric api और forge api के कॉल्स को अमूर्त करती है क्योंकि दोनों लोडर में उसी चीज़ के अलग-अलग कार्यान्वयन होते हैं।
Architectury API नियमित रूप से अपडेट होती है, नए हुक्स और फ़ीचर्स के साथ। वर्तमान में इसमें 90 से अधिक इवेंट हुक्स, नेटवर्किंग अमूर्तन, लोडर कॉल्स अमूर्तन, गेम रजिस्ट्री अमूर्तन और उपयोग में आसान @ExpectPlatform एनोटेशन (केवल स्टैटिक मेथड्स पर काम करता है) शामिल हैं।
क्या मुझे वाकई इस API की ज़रूरत है?
Architectury API architectury इकोसिस्टम का केवल एक हिस्सा है, Architectury Plugin वह gradle प्लगइन है जो इन सभी मल्टीप्लेटफ़ॉर्म कार्यों को संभव बनाता है।
architectury पर बने प्रोजेक्ट्स के लिए Architectury API वैकल्पिक है, आप अपना 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 182 | ||
| 26.3 | NeoForge | 26.3608 KB 15 | ||
| 26.2 | Fabric | 26.2610 KB 72 | ||
| 26.2 | NeoForge | 26.2607 KB 1 | ||
| 26.1.2 | NeoForge | 26.1.2604 KB 1 | ||
| 26.1.2 | Fabric | 26.1.2608 KB 28 | ||
| 26.3 | NeoForge | 26.3608 KB 1 | ||
| 26.3 | Fabric | 26.3608 KB 20 |
चलाने के लिए क्या चाहिए
- Fabric APIज़रूरी
रिव्यू
Architectury API को सबसे पहले रेट करें


