Architectury API Mod za Minecraft 1.20.1, 1.21.1
Posrednički api namenjen olakšavanju razvoja multiplatform modova.
O Architectury API modu
Pričajte sa nama na Discordu!
Posrednički API namenjen olakšavanju razvoja multiplatformskih modova.
Šta je Architectury API
Architectury API je API za apstrakciju poziva ka fabric API-ju i forge API-ju, jer oba loadera imaju različite implementacije onoga što se može smatrati istom stvari.
Architectury API se redovno ažurira, sa novim hook-ovima i funkcijama. Trenutno sadrži preko 90 event hook-ova, apstrakciju umrežavanja, apstrakciju poziva loadera, apstrakciju game registry-ja i anotaciju @ExpectPlatform koja je jednostavna za korišćenje (radi samo na statičkim metodama).
Da li mi je ovaj API zaista potreban?
Architectury API je samo jedan deo architectury ekosistema, Architectury Plugin je gradle plugin koji omogućava sve ove multiplatformske radnje.
Architectury API je opcion za projekte napravljene na architectury-ju, možete napraviti svoj architectury projekat samo sa Architectury Plugin-om.
Prednosti Architectury-ja
- Otvorenog koda
- Manje boilerplate koda za vaš multiplatformski mod
Početak rada sa pravljenjem multiplatformskih modova
Architectury Loom: https://github.com/architectury/architectury-loom (fork Fabric Loom-a koji dodaje mogućnosti multiplatformskog razvoja)
Gradle Plugin: https://github.com/architectury/architectury-plugin (uključuje Architectury Injectables, za anotaciju @ExpectPlatform)
Primer moda: https://github.com/architectury/architectury-example-mod (napušten primer moda koji koristi Architectury, ako je moguće, koristite šablone umesto toga)
Šabloni modova: https://github.com/architectury/architectury-templates (skup šablona za početak rada sa Architectury alatima)
Primer: Korišćenje @ExpectPlatform
Zasluge
U izvesnim starijim verzijama, ova biblioteka je uključivala typetools; njenu licencu možete pronaći ovde
Kako instalirati 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.
Verzije
Sa zavisnostima
| Minecraft | Loader | Fajl | Datum | Akcije |
|---|---|---|---|---|
| 26.3 | Fabric | 26.3608 KB 150 | ||
| 26.3 | NeoForge | 26.3608 KB 11 | ||
| 26.2 | Fabric | 26.2610 KB 62 | ||
| 26.2 | NeoForge | 26.2607 KB 1 | ||
| 26.1.2 | NeoForge | 26.1.2604 KB | ||
| 26.1.2 | Fabric | 26.1.2608 KB 19 | ||
| 26.3 | NeoForge | 26.3608 KB 1 | ||
| 26.3 | Fabric | 26.3608 KB 20 |
Šta je potrebno za pokretanje
- Fabric APIobavezno
Recenzije
Budi prvi koji će oceniti Architectury API


