介绍
This mod adds a couple of the modules from the Fabric API to Neoforge. Specifically:
- Fabric Command API V2
- Fabric Keymapping API V1
- Fabric Networking API V1
- Be careful when interacting with this pared with Neoforge, it can be unstable in some situations.
- Fabric Rendering API V1
- Fabric API Base
- Fabric Object Builder V1
- Fabric Registry Sync API V2
- Fabric Lifecycle Events
This mod hopes to ease developing multiplatform mods and allow developers to use Fabric API’s code in the common module.
<details>
<summary>For Developers (Installation, Setup, Etc)</summary>
Firstly, add Modrinth to your repositories.
repositories {
maven {
name = "Modrinth"
url = "" rel="noopener nofollow" target="_blank">https://api.modrinth.com/maven"
}
}
The second step will depend on what kind of project you are making. For the version, check our versions page.
Architectury:
dependencies {
compileOnly "maven.modrinth:minifabricapi:${project.minifabricapi_version}"
}
Note that we use compileOnly since this API is only available for Neoforge. To make sure the sources are provided at runtime, download the mod JAR and drop it into your neoforge/run/mods folder. Get the Fabric API and drop it into your fabric/run/mods folder.
Basic Neoforge Project:
dependencies {
implementation "maven.modrinth.minifabricapi:${project.minifabricapi_version}
}
Always remember to add this mod as a dependency in your neoforge.mods.toml so the game crashes with a clear view of what the user has to do rather than a NoClassDefFoundError.
[[dependencies.${mod_id}]]
modId="minifabricapi"
type="required"
versionRange="${minifabricapi_version}"
ordering="NONE"
side="CLIENT"
</details>
How does the version system work?
This mod matches the Fabric API version which it is built on, with an additional integer at the end to represent the patches of this mod specifically.
How can I contribute?
If you are just the ordinary player who enjoys modding, hit that download button! The more downloads we get, the more aware other developers will become of this mod. If you are a developer, pull requests on our GitHub are available. Go ahead and add a module or two, it would be extremely helpful!
Report ANY and ALL issues on my GitHub. I CANNOT STRESS THIS ENOUGH. REPORTING ISSUES IS HOW THEY GET FIXED. IF YOU WANT AN ISSUE FIXED, REPORT IT.
常见问题
Mini Fabric API 支持哪些 Minecraft 版本?
Mini Fabric API 支持 Minecraft Java 版 26.1–26.1.2,共 3 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Mini Fabric API 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
downloadableduck 的其他作品
查看全部 →
Horizon
FabricSkyboxes 的最新移植版,为游戏添加自定义天空盒支持。
Pets Mod
为你的游戏添加完全客户端侧的宠物。支持所有原版生物、部分自定义生物,并可在任何服务器上使用,包括单人游戏!
Jeff’s Pets
为游戏添加完全由客户端运行的宠物,支持所有原版生物和部分自定义生物;任何服务器都能使用,单人游戏也可以!
Remove Reloading Bar
Remove Reloading Screen 的附属模组,还能移除加载条。
评论
登录后评论和评分