An intermediary api aimed to ease developing multiplatform mods.
Fabric version: https://www.curseforge.com/minecraft/mc-mods/architectury-fabric
What is Architectury
Architectury 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 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.
Advantages of Architectury
- Open sourced
- Less boilerplate for your multiplatform mod
Usage of @ExpectPlatform
Getting started with making multiplatform mods
Gradle Plugin: https://github.com/architectury/architectury-plugin
This library bundles typetools, which you can find its license here