Balm 是一个面向模组开发者的库类模组,通过提供通用接口与事件、并移除大部分特定于加载器的代码,简化了多加载器模组的创建过程。
它并非让 Forge 和 Fabric 模组一起运行的魔法解决方案。作为玩家,仅当你使用的某个模组依赖 Balm 时,才需要安装此模组。
Minecraft 1.16 及更低版本的 Balm 已不再需要——在这些版本中,模组无需 Balm 即可正常运行!
关键点
- 不使用自定义 Gradle 工具,仅采用官方模组加载器插件
- 使用 Mojang Mappings,支持 Jared 的 Multiloader-Template
- 涵盖网络通信到配置等全方位功能,无第三方依赖
- 经过 Blay 旗下 20 余个模组的实战检验,涵盖内容添加与生活质量辅助等各类用途
- 支持 NeoForge 和 Fabric,且无需编写重复代码
- 提供快照构建版本,用于预发布版和候选发布版
- 统一支持第三方模组(如 Curios 或 Jade)
- 可在 CurseForge 和 Modrinth 获取(含第三方访问权限)
如何使用 Balm 制作模组(面向模组开发者)
Balm is a library mod for mod developers that simplifies the process of creating multi-loader mods by providing common interfaces and events and removing the need for most mod-loader specific code.
It is not a magic solution for running Forge and Fabric mods together. As a user, you only need to install this mod if you use a mod that requires it.
Versions for Minecraft 1.16 and below are not needed - mods will run without Balm on those versions!
Key Points
- No custom Gradle tooling, official mod loader plugins only
- Uses Mojang Mappings, supports Jared's Multiloader-Template
- All-inclusive from networking to configs, no third party dependencies
- Battle-tested across Blay's 20+ mods ranging from content additions to quality of life utilities
- Supports NeoForge and Fabric without duplicate code
- Snapshot builds for pre-releases and release candidates
- Unified support for Third Party Mods like Curios or Jade
- Available on CurseForge and Modrinth (incl. Third Party Access)
How to make a mod with Balm (as a mod developer)
- Check out the documentation for a Getting Started guide and a project generator.
- You can also use this template repository as a starting point or reference.
- Consider browsing Blay's existing mods' source code to learn how specific things are done.
- Join Blay and other developers using Balm on the Balm Developers Discord server.
下载 Balm
下载 Balm
下载 Balm
下载 Balm
下载 Balm
下载 Balm
下载 Balm
下载 Balm
下载 Balm
下载 Balm
- API:为
BalmLootModifier中的lootTableId参数移植了支持
- 为 NeoForge 中的几项重大变更进行了更新
- API:新增
BalmRegistrar#createReloadableDynamicRegistry
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧