Architectury API modu hakkında
Bizimle Discord'da konuşun!
Çok platformlu modlar geliştirmeyi kolaylaştırmayı amaçlayan bir aracı api.
Architectury API nedir
Architectury API, fabric api ve forge api çağrılarını soyutlayan bir apidir çünkü her iki yükleyici de aynı şey olarak algılanabilecek şeylerin farklı uygulamalarına sahiptir.
Architectury API düzenli olarak yeni kancalar ve özelliklerle güncellenir. Şu anda 90'dan fazla olay kancası, ağ soyutlaması, yükleyici çağrısı soyutlaması, oyun kayıt defteri soyutlaması ve kullanımı kolay bir @ExpectPlatform ek açıklaması içerir (Yalnızca statik metotlarda çalışır).
Bu API'ye gerçekten ihtiyacım var mı?
Architectury API, architectury ekosisteminin yalnızca bir parçasıdır, Architectury Plugin tüm bu çok platformlu eylemleri mümkün kılan gradle eklentisidir.
Architectury API, architectury üzerine kurulu projeler için isteğe bağlıdır, architectury projenizi yalnızca Architectury Plugin ile oluşturabilirsiniz.
Architectury'nin avantajları
- Açık kaynak
- Çok platformlu modunuz için daha az tekrar eden kod
Çok platformlu mod yapmaya başlarken
Architectury Loom: https://github.com/architectury/architectury-loom (çok platformlu geliştirme yetenekleri ekleyen Fabric Loom'un bir çatalı)
Gradle Plugin: https://github.com/architectury/architectury-plugin (@ExpectPlatform ek açıklaması için Architectury Injectables içerir)
Örnek Mod: https://github.com/architectury/architectury-example-mod (Architectury kullanan, artık kullanılmayan bir örnek mod, mümkünse bunun yerine şablonları kullanın)
Mod Şablonları: https://github.com/architectury/architectury-templates (Architectury araç zincirini kullanmaya başlamak için bir dizi şablon)
Örnek: @ExpectPlatform kullanımı
Katkıda bulunanlar
Bazı eski sürümlerde bu kütüphane typetools'u paketliyordu; lisansını burada bulabilirsiniz
Architectury API nasıl kurulur
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.
Sürümler
Bağımlılıklarla
| Minecraft | Yükleyici | Dosya | Tarih | İşlemler |
|---|---|---|---|---|
| 26.3 | Fabric | 26.3608 KB 179 | ||
| 26.3 | NeoForge | 26.3608 KB 15 | ||
| 26.2 | Fabric | 26.2610 KB 70 | ||
| 26.2 | NeoForge | 26.2607 KB 1 | ||
| 26.1.2 | NeoForge | 26.1.2604 KB 1 | ||
| 26.1.2 | Fabric | 26.1.2608 KB 25 | ||
| 26.3 | NeoForge | 26.3608 KB 1 | ||
| 26.3 | Fabric | 26.3608 KB 20 |
Çalışması için gerekenler
- Fabric APIzorunlu
SSS
Which Minecraft versions does Architectury API work on?
There are files for 1.16–26.3, 20 versions in total. The newest is 26.3.
Is Architectury API for Forge or Fabric?
There are files for Fabric: 26.1.2–26.3, for Forge: 1.16–1.20.1 and for NeoForge: 1.20–26.3.
What does Architectury API need to work?
Required: Fabric API. Without it the mod will not start: dependencies go into the same mods folder.
Does Architectury API work on a server?
Yes. Architectury API works both in singleplayer and on a server.
Where can I download Architectury API safely?
On this page: the file architectury-fabric-22.0.5.jar (608 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 8c5f566e32bd47fbb80be4932b9be1cfa97c4e3a.
Yorumlar
Architectury API için ilk puanı sen ver


