Create OBB Collision Crash Fix 图标

Create OBB Collision Crash Fix

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/createobbcollisioncrashfix
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: library management utility

资源介绍

When moving contraptions collide in certain degenerate or exact-overlap cases, Create's collision manifold fails to record a separation axis, leaving it null. The game then tries to read .x on that null Vec3 and the server crashes:

java.lang.NullPointerException: Cannot read field "x" because "mf.axis" is null
at ...ContinuousOBBCollider.collideMany(ContinuousOBBCollider.java:153)
This mod uses a Mixin to intercept the two null-prone field reads (axis and normalAxis) and substitutes Vec3.ZERO when they're null. A zero vector makes that frame's collision contribution 0 — harmless — instead of crashing the server tick thread.

Details:

Lightweight — single mixin, no runtime overhead beyond a null check
Doesn't modify Create's logic, just prevents the null dereference
Works server-side (install on server only is fine, but safe on both sides)
For Create 6.0.10 on NeoForge / Minecraft 1.21.1

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
RankTab

价格:0 墨喵币
下载量:0

查看详情
BlossomEQ - Tack Library Resourcepack

价格:0 墨喵币
下载量:0

查看详情
Smooth Camera

价格:0 墨喵币
下载量:0

查看详情
Genshin Nature NeoForge port

价格:0 墨喵币
下载量:0

查看详情