Minecraft.How
加载中...
跳至内容
Java 版模组Libraries & APIs

Forgified Fabric API

作者 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.

我们的介绍

这个项目能做什么

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.

反应

登录后即可做出反应。

兼容性

版本与加载器

已记录 8 个版本

0.116.15+2.3.5+1.21.1

release

下载 (5.4 MB)

0.155.2+26.1.2+3.5.5

release

下载 (2.8 MB)

0.155.2+26.1.2+3.5.4

release

下载 (2.8 MB)

0.116.15+2.3.4+1.21.1

release

下载 (5.4 MB)

0.155.2+26.1.2+3.5.3

release

下载 (2.8 MB)

0.155.2+26.1.2+3.5.2

release

下载 (2.8 MB)

0.155.2+26.1.2+3.5.1

release

下载 (2.8 MB)

0.116.15+2.3.3+1.21.1

release

下载 (5.4 MB)

图库

Forgified Fabric API icon

我们使用 Cookie 来改善您的体验。继续使用本网站即表示您同意我们使用 Cookie。 阅读我们的隐私政策