An intermediary api aimed to ease developing multiplatform mods.

shedaniel e7f78feab9 Fix missing field type 3 vuotta sitten
.github bff451de25 Add rudimentary support for modrinth publishing (#263) 3 vuotta sitten
common 7566136898 Fix J9 usage 3 vuotta sitten
fabric e7f78feab9 Fix missing field type 3 vuotta sitten
forge 7ba233f867 Add Platform#getFilePaths (#268) 3 vuotta sitten
gradle bff451de25 Add rudimentary support for modrinth publishing (#263) 3 vuotta sitten
testmod-common 8ff46417b1 Implement ClientLifecycleEvent on Forge (+ testmod) 3 vuotta sitten
testmod-fabric 5e338b40da Update to Loom 0.10 3 vuotta sitten
testmod-forge c8470cc109 Update buildscripts and license headers 3 vuotta sitten
.editorconfig 7c89701052 Fix #98 4 vuotta sitten
.gitignore 7c4b602b10 Add 1.16.5 to CurseForge versions 4 vuotta sitten
HEADER 1d0773c790 More Platform specific Mod hooks 4 vuotta sitten
LICENSE.md 428f98be44 Reformat and bump version 4 vuotta sitten
README.md 428f98be44 Reformat and bump version 4 vuotta sitten
build.gradle bff451de25 Add rudimentary support for modrinth publishing (#263) 3 vuotta sitten
gradle.properties 75fc6dd051 Fix mentions of 1.18 3 vuotta sitten
gradlew 5a39747a65 Initial work 4 vuotta sitten
gradlew.bat 5a39747a65 Initial work 4 vuotta sitten
settings.gradle 5e338b40da Update to Loom 0.10 3 vuotta sitten

README.md

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

Gradle Plugin: https://github.com/architectury/architectury-plugin

Example Mod: https://github.com/architectury/architectury-example-mod

Credits

This library bundles typetools, which you can find its license here