FermiumBooter (FermiumBooter)
FermiumBooter 是一个简约的混合模组实用工具,允许开发者早期和晚期加载混合模组,从而修改通常无法修改的类。
FermiumBooter 是一个简约的混合模组实用工具,允许开发者早期和晚期加载混合模组,从而修改通常无法修改的类。
其他当前功能包括:
- 添加了通过供应商切换混合模组的能力,以允许开发者控制可选混合模组。
- 添加了删除其他 FermiumBooter 混合模组的能力,用于测试或调整目的。
注意:如果您尚未安装加载混合模组的模组,则建议同时使用 MixinBootstrap 或 MixinCompat 0.7-0.8 与 FermiumBooter。
对于开发者的使用:
正常创建您的混合模组,然后在您的 IFMLLoadingPlugin 实现的 init 中,将 "Mixins.addConfiguration("configname")" 替换为 "FermiumRegistryAPI.enqueueMixin("configname")",或者如果您将其注册为后期加载的混合模组,则为 "FermiumRegistryAPI.enqueueMixin(true, "configname")"。
这就是所需的全部,FermiumBooter 会处理剩下的事情。
FermiumBooter 目前处于测试阶段,因此可能会有重大更改或问题,但已经在包含使用 FermiumBooter 和不使用 FermiumBooter 的模组的活跃模组环境中进行了测试。
FermiumBooter 是 MIT 开源的,我欢迎任何提出问题/建议/PR 的人来帮助使其对开发者更有用。
需要与我联系,或想要支持我?点击下方徽章:
需要服务器?点击下方横幅并使用代码 "fonny" 在 Bisect Hosting 的首个月享受 25% 的折扣:
1.3.1
- Add config-based handling for forcing mixin configs to be added/removed, for simple compat handling for older mods that crash on modern mixin such as Locks and ParticleCulling
- Fix disabling warning render while in-game not updating
- Fix icon texture size
FermiumBooter-1.3.0
- Update to new logo created by Star_Artsy
- Breaking Change: Rewrite @MixinConfig annotation system to optimize and prevent possible classloading issues.
Some mods such as SRPMixins that use @MixinConfig will need to be updated first before updating FermiumBooter.
Do not report crashes caused by using non-updated versions.
FermiumBooter-1.2.0
- Add utility method for checking for present ModID's as Loader.isModLoaded() does not work during mixin enqueue/early mixin application
- Add MixinConfig annotation system for expanding on the Forge Config annotation system to automatically enqueue mixins based on config toggles, including ModID compatibility options
- Add compatibility warning logging and render from mixins using the MixinConfig annotation system
- Re-license to LGPLv3
As there are multiple new features/changes remember to please report any issues to the Github issue tracker
收录