Architectury API

Architectury API

An intermediary api aimed to ease developing multiplatform mods.

Client or server Library

Created2 years ago
Updated7 days ago

External resources

Project members




Toolchain Maintainer

Technical information

Client side
Server side
Project ID

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: (a fork of Fabric Loom adding multiplatform development capabilities)

Gradle Plugin: (includes Architectury Injectables, for the @ExpectPlatform annotation)

Example Mod: (a discontinued example mod using Architectury, if possible, use the templates instead)

Mod Templates: (a set of templates to get started using the Architectury toolchain)

Example: Usage of @ExpectPlatform

Exmaple of the @ExpectPlatform annotation, part of Architectury Injectables


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