last_one_core-1.5.2
Curse Maven Snippet
What's new
1.5.2
- Fix a client crash (
java.lang.ClassCastException: org.mesdag.opallight.light.render.ColoredLightBufferSource$ColoredVertexConsumer cannot be cast to com.mojang.blaze3d.vertex.BufferBuilder) when Gateways To Eternity's gateway particles render while OpalLight is tinting particles. Confluence's bundled OpalLight wraps every particle vertex consumer inColoredLightBufferSource$ColoredVertexConsumer, whileGatewayParticle#rendercasts that argument toBufferBuilderto drive its customParticleRenderType; the cast failed as soon as OpalLight had a colored light near the particle (observed in the Nether).GatewayParticle#rendernow receives the underlyingBufferBuilderagain through a@ModifyVariableat the method head and a mixin accessor on OpalLight'soutputfield, so only this particle type bypasses the wrapper and every other particle keeps OpalLight's colored lighting. Toggle:particleRenderingCompatibility.gatewayParticleBufferFix(default on); a missing Gateways or OpalLight makes the mixins skip cleanly.
This mod has no additional files