1.20.1-Forge-Born in Chaos Bug Fixes-1.2.1
Curse Maven Snippet
What's new
1.2.1 (1.20.1 Hotfix)
- Compatibility Fix (
MCreatorMemFix& other MCreator memory/config mods):- Changed
PlayerVariablesAllocOptimizeMixin(@RedirectonNEW BornInChaosV1ModVariables$PlayerVariables) fromrequire = 1torequire = 0. - Fixes the 1.20.1 startup crash (
Critical injection failure ... failed injection check, (0/1) succeeded. Scanned 2 target(s)) when running alongside MCreatorMemFix (which removesNEW/DUP/INVOKESPECIALand rewrites.orElse(new PlayerVariables())to.orElseGet(...)in ModLauncherPhase.BEFOREafter its first-launch restart) or other mods modifying the same procedures. - When
MCreatorMemFixis not installed (or before its config takes effect), this optimization continues to eliminate all 70 redundantPlayerVariablesallocations across 14 procedures normally.
- Changed
- Additional Optional Optimization Hardening:
- Explicitly marked 3 optional performance
@Redirectinjectors (GeoModelClientCacheMixin,BicGeoItemRenderersMixin,CustomRangedGoalsMixin) asrequire = 0so they degrade gracefully when other optimization/rendering/AI mods modify the same call sites, while keeping all core bug-fix injectors strict.
- Explicitly marked 3 optional performance
1.2.1 热修复更新说明(仅 1.20.1 Forge)
- 修复与
MCreatorMemFix等同类模组的启动崩溃冲突:- 将
PlayerVariablesAllocOptimizeMixin中针对NEW BornInChaosV1ModVariables$PlayerVariables的@Redirect要求由require = 1调整为require = 0。 - 彻底修复与 MCreatorMemFix 同装并重启生效后,因对方在 ModLauncher
Phase.BEFORE阶段已提前移除NEW/DUP/INVOKESPECIAL并将.orElse(new PlayerVariables())改写为.orElseGet(...),导致本模组启动抛出Critical injection failure: (0/1) succeeded. Scanned 2 target(s)崩溃的问题。 - 未安装
MCreatorMemFix(或对方首次启动尚未生成配置文件)时,本优化仍正常接管全部 14 个过程共 70 处冗余分配。
- 将
- 同类可选性能优化注入点兼容加固:
- 为
GeoModelClientCacheMixin、BicGeoItemRenderersMixin、CustomRangedGoalsMixin三处纯性能优化@Redirect显式补充require = 0,避免与其他优化/渲染/AI 模组竞争同一调用点时引发启动崩溃,同时保持全部核心修崩与防刷物品注入点的严格校验。
- 为
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

