Create Collision NPE Fix (Beta)
A lightweight mixin patch that resolves the collision calculation NullPointerException crash reported in Create GitHub issue #10218 for Minecraft 1.21.1, Create v6.0.10+.
Issue #10218
Gearbox crashes the game when it’s connected to a rope pulley with a mechanical drill, as shown in the screenshot. After that, it’s impossible to enter the world unless create is removed. With crash report here.
with video: (made by the one who commit this issue)
Information
- Compatibility: Minecraft 1.21.1, NeoForge only
- Required dependency: Create 6.0.10
- note that create dev team has set it as a milestone to 6.0.11, hope they'll fix it soon...
- Side: Both client & server, mandatory installation for multiplayer worlds
- Release state: Beta. Full cross-mod compatibility testing with all Create addons is unfinished; unexpected mod conflicts may occur.
Credits
Collision fix logic referenced from decompiled AoA Fixes made by @WellRareSteak (CurseForge). No original assets or source code from Create are included.
机械动力碰撞空指针修复补丁(测试版 Beta)
轻量Mixin补丁,修复机械动力 Create 6.0.10 在碰撞物理计算时触发的空指针闪退,对应官方GitHub工单 #10218。
模组说明
- 适配:仅 Minecraft 1.21.1 NeoForge 加载器
- 强制前置:机械动力 Create 6.0.10
- 机械动力开发团队已经将其设为6.0.11的里程碑(milestone),即计划修复。
- 双端需求:单机、多人联机客户端与服务端都必须安装,否则联机一方会崩溃
- 版本说明:当前为测试版,未完成全量附属模组兼容测试,存在和部分机械动力拓展模组冲突的可能性
致谢
修复逻辑参考 CurseForge 用户 @WellRareSteak 发布的 AoA Fixes 反编译代码;本模组不含任何搬运自 Create 的原版资源与源码。
How to Install Create: Collision Fix (Mod)
Create: Collision Fix by ablackkitten is verified for Neoforge across Minecraft versions 1.21.1 (latest release: 0.2.0, file size: 5 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.1) and platform (Neoforge).
- Make sure you have the compatible loader or environment installed for Neoforge.
- Move the downloaded Create: Collision Fix file into your Minecraft
.minecraft/modsfolder and launch the game.
## Version 0.2.0 - 2026-06-17
### Fixed
- Core Fix**: Resolved the critical
NullPointerExceptioncrash caused bymf.axisbeing null during specific collision events. - This was achieved by injecting a Mixin into the
ContinuousSeparationManifoldclass to handle the zero-distance separation edge case, ensuring theaxisandnormalAxisfields are correctly initialized.
### Build & Configuration
- Mod Loading**: Fixed an issue where the mod was not being loaded by NeoForge due to a missing Mixin configuration declaration in
neoforge.mods.toml. - Mixin Path**: Corrected the package path in
mixins.createfix.jsonto match the actual Mixin class location, resolving aClassNotFoundExceptionon startup. - Project Structure**: Added the necessary
META-INF/neoforge.mods.tomlandpack.mcmetafiles to ensure the project conforms to NeoForge mod loading standards. - Dependencies**: Properly configured the
build.gradlefile with the required Create Mod Maven repositories and dependencies, resolving the initial dependency resolution failures.
### Miscellaneous
- Version Bump**: Increased the project version from 0.1.0 to 0.2.0.
- Code Cleanup**: Removed an obsolete and invalid Mixin (
ContinuousOBBColliderMixin) that targeted an outdated Create API.
## Version 0.1.0 - Initial Release
- Initial attempt to fix the Create Mod collision crash.