Context
Sorry about using AI to make a description about the crash, but I think it would be more specific than I type by myself.
Issue description:
When rendering a sheep (or any sheep with its wool layer), the game crashes with one of two errors:
NullPointerException: Cannot invoke "org.joml.Matrix4f.rotate(org.joml.Quaternionfc)" because "posestack$pose.pose" is null
IncompatibleClassChangeError: Class org.joml.Matrix3f does not implement the requested interface org.joml.Quaternionfc
Both crashes occur in the same call chain:
SheepFurLayer.render → AgeableListModel.renderToBuffer → ModelPart.translateAndRotate → PoseStack.mulPose
Steps to reproduce:
- Install Sable 1.2.2 (or 1.2.1) along with Veil 4.0.0, Flywheel 1.0.6, Create 6.0.10, and other common mods.
- Load a world that contains a sheep (or spawn one).
- Look at the sheep – immediate crash.
Environment:
- Minecraft 1.21.1, NeoForge 21.1.230
- Sable: 1.2.2 (1.2.1 also tested, same issue)
- Veil: 4.0.0
- Flywheel: 1.0.6
- Other relevant mods: Create (6.0.10), SimpleBedrockModel (2.2.1), Northstar (0.5.4), Xaero's Minimap & World Map.
Suspected mod interaction:
Veil modifies PoseStack (via PipelinePoseStackMixin)
Flywheel also modifies PoseStack (via PoseStackMixin)
Sable modifies entity rendering (LivingEntityRendererMixin, EntityRenderDispatcherMixin)
- The combination of Veil + Flywheel + Sable appears to corrupt the JOML matrix state or cause a class/interface mismatch at runtime.
Additional observations:
- The
IncompatibleClassChangeError suggests that at runtime, Matrix3f does not implement Quaternionfc, even though it should in JOML 1.10.5 (the version bundled with Minecraft). This is likely due to a mod shading an older JOML or a Mixin altering type hierarchies.
- Disabling Veil temporarily resolves the crash (tested separately). However, the issue should ideally be fixed in Sable or coordinated with other mod authors.
Expected behavior:
Sheep renders without crashing.
Actual behavior:
Game crashes when rendering a sheep.
Please let me know if you need any further information or testing. Thank you!
Crash Report
https://mclo.gs/kl8lL6G
Context
Sorry about using AI to make a description about the crash, but I think it would be more specific than I type by myself.
Issue description:
When rendering a sheep (or any sheep with its wool layer), the game crashes with one of two errors:
NullPointerException: Cannot invoke "org.joml.Matrix4f.rotate(org.joml.Quaternionfc)" because "posestack$pose.pose" is nullIncompatibleClassChangeError: Class org.joml.Matrix3f does not implement the requested interface org.joml.QuaternionfcBoth crashes occur in the same call chain:
SheepFurLayer.render→AgeableListModel.renderToBuffer→ModelPart.translateAndRotate→PoseStack.mulPoseSteps to reproduce:
Environment:
Suspected mod interaction:
VeilmodifiesPoseStack(viaPipelinePoseStackMixin)Flywheelalso modifiesPoseStack(viaPoseStackMixin)Sablemodifies entity rendering (LivingEntityRendererMixin,EntityRenderDispatcherMixin)Additional observations:
IncompatibleClassChangeErrorsuggests that at runtime,Matrix3fdoes not implementQuaternionfc, even though it should in JOML 1.10.5 (the version bundled with Minecraft). This is likely due to a mod shading an older JOML or a Mixin altering type hierarchies.Expected behavior:
Sheep renders without crashing.
Actual behavior:
Game crashes when rendering a sheep.
Please let me know if you need any further information or testing. Thank you!
Crash Report
https://mclo.gs/kl8lL6G