Acerca del mod Architectury API
¡Habla con nosotros en Discord!
Una api intermediaria destinada a facilitar el desarrollo de mods multiplataforma.
Qué es Architectury API
Architectury API es una api para abstraer las llamadas a fabric api y forge api, ya que ambos loaders tienen implementaciones diferentes de lo que puede percibirse como lo mismo.
Architectury API se actualiza con regularidad, con nuevos hooks y características. Actualmente contiene más de 90 hooks de eventos, abstracción de networking, abstracción de llamadas al loader, abstracción del registro del juego y una anotación @ExpectPlatform fácil de usar (solo funciona en métodos estáticos).
¿Realmente necesito esta API?
Architectury API es solo una parte del ecosistema de architectury, Architectury Plugin es el plugin de gradle que habilita todas estas acciones multiplataforma.
Architectury API es opcional para proyectos construidos sobre architectury, puedes crear tu proyecto de architectury solo con Architectury Plugin.
Ventajas de Architectury
- Código abierto
- Menos código repetitivo para tu mod multiplataforma
Cómo empezar a hacer mods multiplataforma
Architectury Loom: https://github.com/architectury/architectury-loom (un fork de Fabric Loom que añade capacidades de desarrollo multiplataforma)
Gradle Plugin: https://github.com/architectury/architectury-plugin (incluye Architectury Injectables, para la anotación @ExpectPlatform)
Mod de ejemplo: https://github.com/architectury/architectury-example-mod (un mod de ejemplo descontinuado que usa Architectury, si es posible, usa las plantillas en su lugar)
Plantillas de mods: https://github.com/architectury/architectury-templates (un conjunto de plantillas para empezar a usar la cadena de herramientas de Architectury)
Ejemplo: uso de @ExpectPlatform
Créditos
En ciertas versiones más antiguas, esta librería solía incluir typetools; puedes encontrar su licencia aquí
Cómo instalar 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.
Versiones
Con dependencias
| Minecraft | Cargador | Archivo | Fecha | Acciones |
|---|---|---|---|---|
| 26.3 | Fabric | 26.3608 KB 180 | ||
| 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 27 | ||
| 26.3 | NeoForge | 26.3608 KB 1 | ||
| 26.3 | Fabric | 26.3608 KB 20 |
Qué necesita para funcionar
- Fabric APIobligatorio
Reseñas
Sé el primero en valorar Architectury API


