我没有时间维护这个项目了,抱歉各位。
本模组将 Fabric API 中的部分模块移植到了 Neoforge。具体包括:
- Fabric Command API V2
- Fabric Keymapping API V1
- Fabric Networking API V1
- 在与 Neoforge 交互时请小心,在某些情况下可能会导致不稳定。
- Fabric Rendering API V1
- Fabric API Base
- Fabric Object Builder V1
- Fabric Registry Sync API V2
- Fabric Lifecycle Events
本模组旨在简化跨平台模组的开发,并允许开发者在通用模块中使用 Fabric API 的代码。
致开发者(安装、设置等)
首先,请将 Modrinth 添加到你的仓库中。
repositories {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
第二步取决于你正在创建的项目类型。关于版本号,请查看我们的版本页面。
Architectury:
dependencies {
compileOnly "maven.modrinth:minifabricapi:${project.minifabricapi_version}"
}
请注意,我们使用 compileOnly,因为此 API 仅适用于 Neoforge。为了确保运行时提供源代码,请下载该模组的 JAR 文件并将其放入 neoforge/run/mods 文件夹中。获取 Fabric API 并将其放入 fabric/run/mods 文件夹中。
基础 Neoforge 项目:
dependencies {
implementation "maven.modrinth.minifabricapi:${project.minifabricapi_version}
}
务必在你的 neoforge.mods.toml 中添加此模组作为依赖项,以便游戏崩溃时能清晰地显示用户需要执行的操作,而不是出现 NoClassDefFoundError。
[[dependencies.${mod_id}]]
modId="minifabricapi"
type="required"
versionRange="${minifabricapi_version}"
ordering="NONE"
side="CLIENT"
版本号系统是如何工作的? 本模组的版本号与其所基于的 Fabric API 版本保持一致,末尾附加一个整数以表示针对本模组的具体补丁。
我如何做出贡献? 如果你只是喜欢模组制作的普通玩家,请点击下载按钮!下载量越多,其他开发者对本模组的认知度就越高。如果你是开发者,欢迎在我们的 GitHub 上提交拉取请求。添加一两个模块吧,这将 极其 有帮助!
请在我的 GitHub 报告任何和所有问题。我必须强调这一点:报告问题是解决问题的唯一途径。如果你想让某个问题得到修复,请务必报告它。
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
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MiniFabricAPI
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MiniFabricAPI
下载 MiniFabricAPI
下载 MiniFabricAPI
下载 MiniFabricAPI
移除注册表同步混入,从 NeoForge 模组生成器中移除相关功能
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧