Tentang mod Architectury API
Bicara dengan kami di Discord!
Sebuah api perantara yang bertujuan untuk memudahkan pengembangan mod multiplatform.
Apa itu Architectury API
Architectury API adalah sebuah api untuk mengabstraksi panggilan ke fabric api dan forge api karena kedua loader memiliki implementasi berbeda dari apa yang dapat dianggap sebagai hal yang sama.
Architectury API diperbarui secara rutin, dengan hook dan fitur baru. Saat ini berisi lebih dari 90 event hook, abstraksi networking, abstraksi panggilan loader, abstraksi registry game dan anotasi @ExpectPlatform yang mudah digunakan (Hanya berfungsi pada metode statis).
Apakah saya benar-benar membutuhkan API ini?
Architectury API hanyalah salah satu bagian dari ekosistem architectury, Architectury Plugin adalah plugin gradle yang memungkinkan semua aksi multiplatform ini.
Architectury API bersifat opsional untuk proyek yang dibangun di atas architectury, Anda dapat membuat proyek architectury Anda hanya dengan Architectury Plugin.
Keuntungan Architectury
- Open source
- Lebih sedikit boilerplate untuk mod multiplatform Anda
Memulai membuat mod multiplatform
Architectury Loom: https://github.com/architectury/architectury-loom (sebuah fork dari Fabric Loom yang menambahkan kemampuan pengembangan multiplatform)
Gradle Plugin: https://github.com/architectury/architectury-plugin (termasuk Architectury Injectables, untuk anotasi @ExpectPlatform)
Contoh Mod: https://github.com/architectury/architectury-example-mod (contoh mod yang sudah dihentikan menggunakan Architectury, jika memungkinkan, gunakan template saja)
Template Mod: https://github.com/architectury/architectury-templates (sekumpulan template untuk memulai menggunakan toolchain Architectury)
Contoh: Penggunaan @ExpectPlatform
Kredit
Pada beberapa versi lama, library ini biasa menyertakan typetools; Anda dapat menemukan lisensinya di sini
Cara memasang 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.
Versi
Dengan dependensi
| Minecraft | Loader | File | Tanggal | Tindakan |
|---|---|---|---|---|
| 26.3 | Fabric | 26.3608 KB 161 | ||
| 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 |
Yang dibutuhkan untuk menjalankan
- Fabric APIwajib
Ulasan
Jadilah yang pertama menilai Architectury API


