Minecraft.How
Lädt...
Zum Inhalt springen

Forgified Fabric API

von Su5eD

Forgified Fabric API brings Fabric API hooks to NeoForge. It runs on client and server sides across Minecraft 1.21.1, 26.1.2, 26.1.1, and 26.1.

Unsere Zusammenfassung

Was dieses Projekt macht

What the mod does

Forgified Fabric API is a direct port of Fabric API to the NeoForge mod loader. Su5eD created the project under the Apache License 2.0. Both client side and server side require the mod. Supported Minecraft versions are 1.21.1, 26.1.2, 26.1.1, and 26.1.

The port is regularly updated with the upstream Fabric API repository. It helps developers share common Fabric API code across platforms. But it isn't an abstraction layer. You still have to write loader-specific code separately for each platform.

Subsystems and features

Fabric API provides essential hooks and interoperability tools for mods. Forgified Fabric API brings those hooks directly to NeoForge.

You get hooks for particles, biomes, and dimensions. It includes event hooks, registry synchronization tools, and crash report metadata helpers. There's also an advanced rendering API designed to work with graphics overhauls and optimization mods.

The codebase is split into smaller modules. Honestly, modular code makes updates simpler. Each module has its own README in development, though not every module has one yet.

Compatibility rules and limits

The project ports Fabric API features to NeoForge systems while keeping edits to Minecraft code at a minimum. This approach keeps maintenance costs down and helps mod compatibility without breaking intended behavior.

Compatibility checks ensure that public APIs like net.fabricmc.*.api work as expected. Internal APIs and implementation code do not have compatibility guarantees. Those internal parts can change at any time. For the best outcome, avoid internal classes and pick native platform solutions instead.

Player and developer setup

To play with mods that need it, install NeoForge first. Grab the jar file from Modrinth, CurseForge, or GitHub Releases. Drop it straight into your mods folder.

Developers can add the library using Gradle. Artifacts live on the Sinytra Maven repository under the org.sinytra.forgified-fabric-api group.

NeoForge doesn't recognize Fabric mod entrypoints natively. Because of that, Forgified Fabric API provides a custom metadata property in neoforged.mods.toml. You can declare entrypoints for fabric-datagen, fabric-gametest, and fabric-client-gametest under modproperties. Official documentation lives at sinytra.org, and the team offers help on their Discord server.

Reaktionen

Melde dich an, um zu reagieren.

Kompatibilität

Versionen und Loader

8 Releases erfasst

Galerie

Forgified Fabric API icon

Wir verwenden Cookies, um dein Erlebnis zu verbessern. Wenn du diese Website weiterhin nutzt, stimmst du unserer Verwendung von Cookies zu. Lies unsere Datenschutzrichtlinie