What are you searching for?

Architectury API

Architectury API

An intermediary api aimed to ease developing multiplatform mods.

download 60.8M Downloads · favorite 6,641 Followers · Updated 1 month ago
Fabric Forge Library Neoforge Quilt 1.16.5 1.17.1 1.18 1.18.1 1.18.2 +53 more

Versions

inventory_2
[NeoForge 1.21.11] v19.0.1

19.0.1+neoforge · 1 month ago · 549.38 KB

Release download
Neoforge 1.21.11
inventory_2
[Fabric 1.21.11] v19.0.1

19.0.1+fabric · 1 month ago · 555.15 KB

Release download
Fabric 1.21.11
inventory_2
[NeoForge 1.21.10] v18.0.8

18.0.8+neoforge · 2 months ago · 551.97 KB

Release download
Neoforge 1.21.10
inventory_2
[Fabric 1.21.10] v18.0.8

18.0.8+fabric · 2 months ago · 562.46 KB

Release download
Fabric 1.21.10
inventory_2
[NeoForge 1.21.10] v18.0.6

18.0.6+neoforge · 3 months ago · 550.97 KB

Release download
Neoforge 1.21.10

About

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

Exmaple of the @ExpectPlatform annotation, part of Architectury Injectables

Credits

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

open_in_new View on Modrinth
Categories
Compatibility
Client: Required Server: Required
gavel LGPL-3.0-only

Conversation

What are your thoughts?

Related projects

Library
Fabric API
Fabric API

by modmuss50

Lightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.

download 127.9M
favorite 27,365
Library
Cloth Config API
Cloth Config API

by shedaniel

Configuration Library for Minecraft Mods

download 94.0M
favorite 13,653
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 65.8M
favorite 7,589
Library
Fabric Language Kotlin
Fabric Language Kotlin

by modmuss50

This is a mod that enables usage of the Kotlin programming language for Fabric mods.

download 59.8M
favorite 9,138
lock Cookie consent

SkinMC uses cookies to provide functionality and features.