The Bumblezone (Quilt/Fabric)

The Bumblezone (Quilt/Fabric)

13M Downloads

[Fabric 1.20.1] Crash when rendering queen bee

chemKitt opened this issue ยท 2 comments

commented

Mod version: V.7.0.10
Sodium version: 0.4.10

seems to be a similar issue to #241

[30-09-2023 19:19:58 pm] [Render thread/FATAL] Reported exception thrown!
[30-09-2023 19:19:58 pm] ---- Minecraft Crash Report ----
[30-09-2023 19:19:58 pm] // Don't do that.
[30-09-2023 19:19:58 pm] 
[30-09-2023 19:19:58 pm] Time: 2023-09-30 19:19:58
[30-09-2023 19:19:58 pm] Description: Rendering entity in world
[30-09-2023 19:19:58 pm] 
[30-09-2023 19:19:58 pm] java.lang.ClassCastException: class com.telepathicgrunt.the_bumblezone.client.rendering.transparentitem.TintedVertexBuilder cannot be cast to class me.jellysquid.mods.sodium.client.render.vertex.VertexBufferWriter (com.telepathicgrunt.the_bumblezone.client.rendering.transparentitem.TintedVertexBuilder and me.jellysquid.mods.sodium.client.render.vertex.VertexBufferWriter are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @62e136d3)
commented

Ah sodium 0.4.x. Yeah so the issue is you're using outdated Sodium and should update to 0.5.x
https://modrinth.com/mod/sodium/version/mc1.20.2-0.5.3

So the history of this is at some point, Sodium 0.4.x added an optimization for VertexConsumers but made mod's own VertexConsumers crash as you see. I added a workaround for that.

Then in Sodium 0.5.x, they changed their optimization a bit so that it will no longer crash with modded VertexConsumers. So then I removed my workaround as it is no longer needed.

When you can, please update Sodium and see if the crash goes away. If so, then the issue should be resolved.

commented

Ahh, thanks for clarifying! I'm not using Sodium 0.5 at the moment because Create is not yet compatible with it, so I will just have to wait for that to update before I can use these two together.