介绍
I don’t have time to maintain this, sorry guys
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.
For Developers (Installation, Setup, Etc)
Firstly, add Modrinth to your repositories.
repositories {
maven {
name = "Modrinth"
url = "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"
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.
常见问题
MiniFabricAPI 支持哪些 Minecraft 版本?
MiniFabricAPI 支持 Minecraft Java 版 26.1–26.1.2,共 3 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
MiniFabricAPI 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
downloadableduck 的其他作品
查看全部 →
Horizon
Up-to-date port of FabricSkyboxes, which adds custom skybox support into your game
Pets Mod
Adds completely client-sided pets to your game. Supports every vanilla mob, some custom ones, and will work on any server, including in singleplayer!
Remove Reloading Bar
Add-on for Remove Reloading Screen that removes the bar as well
Scalable
Scale each element of the GUI individually!
评论
登录后评论和评分