Skip to content

Fix mixin crash with litematica 0.28.3 (MC 26.2)#113

Open
naari3 wants to merge 1 commit into
aria1th:multiversionfrom
naari3:fix/litematica-0.28.3-compat
Open

Fix mixin crash with litematica 0.28.3 (MC 26.2)#113
naari3 wants to merge 1 commit into
aria1th:multiversionfrom
naari3:fix/litematica-0.28.3-compat

Conversation

@naari3

@naari3 naari3 commented Jul 6, 2026

Copy link
Copy Markdown

litematica 0.28.3 added a ChunkRenderDispatcherBuffers parameter to ChunkRendererSchematicVbo.renderBlocksAndOverlay(...), so the injector in ChunkRendererSchematicVboMixin no longer matched and mixin application failed with an InvalidInjectionException (crash on world join).

  • Add the new parameter to the mixin handler
  • Bump litematica to 0.28.3, malilib to 0.29.3 (26.2 only)

litematica 0.28.3 (MC 26.2) refactored GPU buffer handling into
ChunkRenderDispatcherBuffers, which changed the signature of
ChunkRendererSchematicVbo.renderBlocksAndOverlay: a
ChunkRenderDispatcherBuffers parameter is now inserted between
ChunkMeshDataSchematic and IBlockOutputSchematic. The mixin in
ChunkRendererSchematicVboMixin captured the old argument list, so the
injector no longer matched the target descriptor and mixin application
failed with an InvalidInjectionException, crashing on world join.

Add the new parameter to the injector handler and bump the 26.2
dependencies to litematica 0.28.3 and malilib 0.29.3.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant