Skip to content

适用于 Minecraft 1.20.1, 1.21.1 的 Architectury API 模组

一个旨在简化多平台模组开发的中间 API。

次下载
853 次下载
次浏览
4,482 次浏览
已更新
已更新 10.10.2026

关于 Architectury API 模组

Talk to us on Discord!

An intermediary api aimed to ease developing multiplatform mods.

What is Architectury API

Architectury API is an api to abstract calls to fabric api and forge api as both loader has different implementations of what can be perceived as the same thing.

Architectury API updates regularly, with new hooks and features. Currently contains over 90 events hooks, networking abstraction, loader calls abstraction, game registry abstraction and an easy to use @ExpectPlatform annotation (Only works on static methods).

Do I really need this API?

Architectury API is only one part of the architectury ecosystem, Architectury Plugin is the gradle plugin enabling all this multiplatform actions.

Architectury API is optional for projects built on architectury, you may create your architectury project with just Architectury Plugin.

Advantages of Architectury

  • Open sourced
  • Less boilerplate for your multiplatform mod

Getting started with making multiplatform mods

Architectury Loom: https://github.com/architectury/architectury-loom (a fork of Fabric Loom adding multiplatform development capabilities)

Gradle Plugin: https://github.com/architectury/architectury-plugin (includes Architectury Injectables, for the @ExpectPlatform annotation)

Example Mod: https://github.com/architectury/architectury-example-mod (a discontinued example mod using Architectury, if possible, use the templates instead)

Mod Templates: https://github.com/architectury/architectury-templates (a set of templates to get started using the Architectury toolchain)

Example: Usage of @ExpectPlatform

Credits

In certain older versions, this library used to bundle typetools; you can find its license here

如何安装 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.

版本

含依赖项

Minecraft加载器文件日期操作
26.3Fabric26.3608 KB 170
26.3NeoForge26.3608 KB 15
26.2Fabric26.2610 KB 66
26.2NeoForge26.2607 KB 1
26.1.2NeoForge26.1.2604 KB 1
26.1.2Fabric26.1.2608 KB 24
26.3NeoForge26.3608 KB 1
26.3Fabric26.3608 KB 20

常见问题

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.

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.

评价

成为第一个评价 Architectury API 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多

作者: shedaniel许可证: LGPL-3.0-only源代码

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。