An intermediary api aimed to ease developing multiplatform mods.

shedaniel 5e0091e533 Merge remote-tracking branch 'Leo40Git/feature/food-props' into 1.16 %!s(int64=4) %!d(string=hai) anos
.github 30dcaa480b Update pr.yml %!s(int64=4) %!d(string=hai) anos
common 5e0091e533 Merge remote-tracking branch 'Leo40Git/feature/food-props' into 1.16 %!s(int64=4) %!d(string=hai) anos
fabric 5e0091e533 Merge remote-tracking branch 'Leo40Git/feature/food-props' into 1.16 %!s(int64=4) %!d(string=hai) anos
forge 5e0091e533 Merge remote-tracking branch 'Leo40Git/feature/food-props' into 1.16 %!s(int64=4) %!d(string=hai) anos
gradle 43c8bae105 [norelease] Update to archloom 0.7.2 and Gradle 7 %!s(int64=4) %!d(string=hai) anos
testmod-common 5e0091e533 Merge remote-tracking branch 'Leo40Git/feature/food-props' into 1.16 %!s(int64=4) %!d(string=hai) anos
testmod-fabric 43c8bae105 [norelease] Update to archloom 0.7.2 and Gradle 7 %!s(int64=4) %!d(string=hai) anos
testmod-forge 43c8bae105 [norelease] Update to archloom 0.7.2 and Gradle 7 %!s(int64=4) %!d(string=hai) anos
.editorconfig 7c89701052 Fix #98 %!s(int64=4) %!d(string=hai) anos
.gitignore 7c4b602b10 Add 1.16.5 to CurseForge versions %!s(int64=4) %!d(string=hai) anos
HEADER 1d0773c790 More Platform specific Mod hooks %!s(int64=4) %!d(string=hai) anos
LICENSE.md 428f98be44 Reformat and bump version %!s(int64=4) %!d(string=hai) anos
README.md 428f98be44 Reformat and bump version %!s(int64=4) %!d(string=hai) anos
build.gradle f6e86f7b73 Revert "Update to architectury plugin 3.2" %!s(int64=4) %!d(string=hai) anos
gradle.properties f39c94aec3 Fix #113 and we should've bumped to 1.18 %!s(int64=4) %!d(string=hai) anos
gradlew 5a39747a65 Initial work %!s(int64=4) %!d(string=hai) anos
gradlew.bat 5a39747a65 Initial work %!s(int64=4) %!d(string=hai) anos
settings.gradle 4ef8729174 Update to Architectury Plugin 3.1 to support detecting the api FabricLoader %!s(int64=4) %!d(string=hai) anos

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