About Architectury API
Architectury API is a cross-loader development library that abstracts differences between Fabric and Forge. It provides standardized interfaces for modding across multiple platforms, making it easier to create compatible mods without rewriting code for each loader.
Developers use it to handle loader-specific differences in event systems, networking, and registry access. This reduces repetitive code and allows focus on core mod features rather than loader compatibility details.
Best suited for mod developers creating multiplatform mods, especially those using Fabric API. It integrates seamlessly with modpacks by enabling consistent mod behavior across different loaders without requiring separate versions.
The API's modular design allows developers to pick and choose features like event hooks or registry abstraction, making it flexible for both simple and complex mod projects.
Features
- Abstracts Fabric and Forge API differences into unified interfaces
- Provides over 90 event hooks for mod interaction
- Includes networking and registry abstraction layers
- Supports @ExpectPlatform annotation for cross-loader compatibility
- Open-source with clear licensing terms
- Works with Fabric API as a required dependency
Tips
- Start with Architectury mod templates for project structure
- Use the Gradle plugin for @ExpectPlatform annotation handling
- Check loader-specific compatibility notes for version support
- Prioritize event hooks for mod interaction rather than direct loader calls
How to install
- Install Fabric / Forge / NeoForge / Quilt for your Minecraft version (use the official installer).
- Download the file that matches your Minecraft version and Fabric / Forge / NeoForge / Quilt.
- Also install: Fabric API.
- Open the .minecraft folder and put the file into the "mods" folder (create it if missing).
- Launch Minecraft with the Fabric / Forge / NeoForge / Quilt profile.
FAQ
Does it require Fabric API?
Yes, Fabric API is a required dependency for all platforms.
Which loaders does it support?
Fabric, Forge, NeoForge, and Quilt with version-specific compatibility.
Is it necessary for mod development?
Optional but recommended for multiplatform projects to reduce boilerplate.