Unified API
Mod developers know the pain of maintaining separate codebases for different loaders. Unified API solves that problem by providing a cross-loader framework for both Fabric and NeoForge, letting you write one set of code that works everywhere. Whether you are building a small quality-of-life mod or a massive content expansion, this library removes the repetitive platform-specific work that slows down development.
What Makes Unified API Different
Most cross-loader solutions require you to write platform-specific implementations for every feature. Unified API takes a different approach with custom registries, events, and helpers that replace the need for duplicated code entirely. The library has no dependencies beyond Fabric API for Fabric or base NeoForge for NeoForge, keeping your mod lightweight and easy to maintain.
The framework supports Minecraft 1.21 and newer across both loaders, with consistent ports to the latest versions. Breaking changes never happen within the same Minecraft version, and any changes between full releases are thoroughly documented in the migration guide.
Key Features for Mod Developers
Deferred Registries
The deferred registry system lets you register content for any vanilla or modded registry. This includes items, blocks, entity types, block entity types, creative tabs, data component types, sound events, and key mappings. Everything registers through a single, consistent interface.
Powerful Events and Helpers
Unified API offers an extensive collection of documented events. Some of the most powerful include the Loot Table event, which lets you append pools or edit existing loot entries, the Default Data Component event for filtering and modifying item components, and the Biome Modification event for adjusting features, carvers, effects, attributes, or climate.
- Platform helpers to check for mods, modloaders, and instance information
- Networking utilities for registering, sending, and handling packets
- Block Conversions for custom swapping behaviour like strippable logs
- Entity Renderers for custom entity and block entity models
- Structure Music to register unique music pools to any structure
- Legacy Baby Armor that automatically resizes adult armor for baby mobs
Time-Saving Builders
Content builders allow swift creation of woodsets, tools, armor, and more. The Equipment Set builder includes a thorough component and attribute-modifying system, while the Wood Set builder generates all blocks, items, and entities required for complete customisable woodsets. The Block Set builder saves you from creating entire stone or brick sets separately.
If you want to try these tools without manual setup, the foxygame.net launcher offers a one-click install for Unified API, dropping the library straight into your modpack profile with no configuration required.
How to Install Unified API
Getting started is straightforward. First, download Unified API for Minecraft from the official project page or your preferred mod hosting platform. Make sure you grab the version matching your Minecraft release and loader.
Place the downloaded file into your mods folder alongside Fabric API or NeoForge. Launch the game and verify the mod loads correctly. For developers, comprehensive documentation and a setup guide are available to walk you through integrating the library into your project.
Those using the foxygame.net launcher can browse the add-on catalog directly and install Unified API with automatic updates, ensuring version compatibility with every Minecraft release.
Why Choose Unified API
The combination of deferred registries, documented events, and content builders makes Unified API an excellent foundation for multiloader development. You write code once and deploy it across Fabric and NeoForge without maintaining separate branches. The consistent update cycle and detailed migration documentation mean less time fixing compatibility issues and more time building features your players actually want.
For developers tired of duplicating effort across loaders, Unified API delivers a clean, well-documented solution that streamlines the entire modding workflow from registration to rendering.