Skip to content

Architectury API Mod pour Minecraft 1.20.1, 1.21.1

Une API intermédiaire visant à faciliter le développement de mods multiplateformes.

à partir de shedaniel · Modrinth
Sur le serveur
téléchargements
829 téléchargements
vues
4 412 vues
Mis à jour
Mis à jour 10.10.2026

À propos du mod Architectury API

Parlez-nous sur Discord !

Une API intermédiaire visant à faciliter le développement de mods multiplateformes.

Qu'est-ce que l'Architectury API

Architectury API est une API permettant d'abstraire les appels à l'API Fabric et à l'API Forge, car les deux loaders ont des implémentations différentes de ce qui peut être perçu comme la même chose.

Architectury API est mise à jour régulièrement, avec de nouveaux hooks et fonctionnalités. Elle contient actuellement plus de 90 hooks d'événements, une abstraction du networking, une abstraction des appels au loader, une abstraction du registre de jeu et une annotation @ExpectPlatform facile à utiliser (fonctionne uniquement sur les méthodes statiques).

Ai-je vraiment besoin de cette API ?

Architectury API n'est qu'une partie de l'écosystème architectury, Architectury Plugin est le plugin gradle qui permet toutes ces actions multiplateformes.

Architectury API est facultative pour les projets construits sur architectury, vous pouvez créer votre projet architectury avec seulement Architectury Plugin.

Avantages d'Architectury

  • Open source
  • Moins de code répétitif pour votre mod multiplateforme

Débuter avec la création de mods multiplateformes

Architectury Loom : https://github.com/architectury/architectury-loom (un fork de Fabric Loom ajoutant des capacités de développement multiplateforme)

Plugin Gradle : https://github.com/architectury/architectury-plugin (inclut Architectury Injectables, pour l'annotation @ExpectPlatform)

Mod d'exemple : https://github.com/architectury/architectury-example-mod (un mod d'exemple abandonné utilisant Architectury, si possible, utilisez plutôt les templates)

Templates de mods : https://github.com/architectury/architectury-templates (un ensemble de templates pour débuter avec la chaîne d'outils Architectury)

Exemple : Utilisation de @ExpectPlatform

Crédits

Dans certaines versions plus anciennes, cette bibliothèque incluait typetools ; vous pouvez trouver sa licence ici

Comment installer Architectury API

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. 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.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. 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.

  2. 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.

  3. 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.

  4. Launch the loader profile

    Open “Mods” in the main menu: Architectury API should be in the list.

On a server

  1. 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.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. 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.

Versions

Avec dépendances

MinecraftLoaderFichierDateActions
26.3Fabric26.3608 Ko 163
26.3NeoForge26.3608 Ko 15
26.2Fabric26.2610 Ko 65
26.2NeoForge26.2607 Ko 1
26.1.2NeoForge26.1.2604 Ko
26.1.2Fabric26.1.2608 Ko 22
26.3NeoForge26.3608 Ko 1
26.3Fabric26.3608 Ko 20

Avis

Soyez le premier à noter Architectury API

Commentaires 0

Connectez-vous pour commenterSe connecter

Mods similaires

Tous les mods

En savoir plus

Auteur : shedanielLicence : LGPL-3.0-onlyCode source

Êtes-vous l'auteur ? Contactez-nous — nous le retirerons sous 48 heures.