Architectury API - Minecraft Mod
The Architectury API abstracts the calls to Fabric API and Forge API, to resolve the differences in how these loaders implement features which may appear identical. The API is a living thing and is constantly updated - new hooks and features are being added. So far over 90 event hooks, network abstraction, loader call abstraction, game registry abstraction and an easy-to-use @ExpectPlatform annotation which currently can be applied to static methods only.
While Architectury API is a part of the greater Architectury ecosystem, the core tool that really makes the multi-platform capability work is the Architectury Plugin. Not all projects using Architectury require the API; a project can be made using just the Architectury Plugin.
Copyright 2019-2025 © ScalaCube - All Rights Reserved.