Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix 0.6: missing accesswidener for fabric #2466

Merged

Conversation

MeeniMc
Copy link
Contributor

@MeeniMc MeeniMc commented May 4, 2024

Adds missing accessible field com/mojang/blaze3d/vertex/PoseStack$Pose trustedNormals Z

Fixes the following exception in production deployments.

java.lang.IllegalAccessError: class net.caffeinemc.mods.sodium.client.render.immediate.model.BakedModelEncoder tried to access field net.minecraft.class_4587$class_4665.field_48930 (net.caffeinemc.mods.sodium.client.render.immediate.model.BakedModelEncoder and net.minecraft.class_4587$class_4665 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @604ed9f0)
	at net.caffeinemc.mods.sodium.client.render.immediate.model.BakedModelEncoder.writeQuadVertices(BakedModelEncoder.java:44) ~[sodium-fabric-1.20.6-0.6.0-snapshot+mc1.20.6-local.jar:?]
	at net.minecraft.class_918.renderBakedItemQuads(class_918.java:2595) ~[client-intermediary.jar:?]
	at net.minecraft.class_918.handler$ejo000$sodium$renderModelFast(class_918.java:2573) ~[client-intermediary.jar:?]

@MeeniMc MeeniMc changed the title bugfix: missing accesswidener for fabric bugfix 0.6: missing accesswidener for fabric May 4, 2024
@MeeniMc
Copy link
Contributor Author

MeeniMc commented Jun 2, 2024

@IMS212 this has been pending for some weeks now, is there a problem with this approach?

@IMS212
Copy link
Member

IMS212 commented Jun 3, 2024

Thanks!

@IMS212 IMS212 merged commit 068690a into CaffeineMC:1.20.5/0.6-multiloader Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants