5uso / shaderreload Goto Github PK
View Code? Open in Web Editor NEWA Fabric 1.20.1 mod that allows vanilla shader reloading with F3+R. Displays shader parse exceptions in chat.
License: MIT License
A Fabric 1.20.1 mod that allows vanilla shader reloading with F3+R. Displays shader parse exceptions in chat.
License: MIT License
I've been trying to get a shader to work, but it would just not, so I thought I'd try this mod.
However so far it has not been much help as all the additional info I get is just this:
I cannot do much with this, as this JSON is literally the vanilla one, I don't know what I'm doing wrong. And the mod doesn't tell me much more
1.19.3 apparently breaks a lot of things, including this one
Crash message:
The game crashed whilst initializing game
Error: java.lang.BootstrapMethodError: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_757 failed
Game log (I left this on from before the mod):
Mixin apply for mod shaderreload failed shaderreload.mixins.json:GameRendererMixin from mod shaderreload -> net.minecraft.class_757: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Redirect annotation on onLoadShaders$new could not find any targets matching 'Lnet/minecraft/class_757;method_34538(Lnet/minecraft/class_3300;)V' in net.minecraft.class_757. Using refmap shader-reload-refmap.json [PREINJECT Applicator Phase -> shaderreload.mixins.json:GameRendererMixin from mod shaderreload -> Prepare Injections -> -> redirect$zzo000$onLoadShaders$new(Lnet/minecraft/class_5912;Ljava/lang/String;Lnet/minecraft/class_293;)Lnet/minecraft/class_5944; -> Parse] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Redirect annotation on onLoadShaders$new could not find any targets matching 'Lnet/minecraft/class_757;method_34538(Lnet/minecraft/class_3300;)V' in net.minecraft.class_757. Using refmap shader-reload-refmap.json [PREINJECT Applicator Phase -> shaderreload.mixins.json:GameRendererMixin from mod shaderreload -> Prepare Injections -> -> redirect$zzo000$onLoadShaders$new(Lnet/minecraft/class_5912;Ljava/lang/String;Lnet/minecraft/class_293;)Lnet/minecraft/class_5944; -> Parse]
Hopefully this might somewhat help if you weren't working on it? =]
As the title says, when i press F3+R while the chat window is open, my game crashes. After further testing, it seems this also occurs in the main menu.
I'm using Minecraft version 1.20.1.
Here is the exception stack trace:
java.lang.NoSuchFieldError: field_22792
at net.minecraft.class_309.handler$beh000$shaderreload$onOnKey(class_309.java:3615)
at net.minecraft.class_309.method_1466(class_309.java:391)
at net.minecraft.class_309.method_22678(class_309.java:477)
at net.minecraft.class_1255.execute(class_1255.java:102)
at net.minecraft.class_309.redirect$bok000$viafabricplus$redirectSync(class_309.java:4112)
at net.minecraft.class_309.method_22676(class_309.java:477)
at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:44)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:201)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:212)
at net.minecraft.class_1041.method_15998(class_1041.java:288)
at net.minecraft.class_310.method_1523(class_310.java:1241)
at net.minecraft.class_310.method_1514(class_310.java:802)
at net.minecraft.client.main.Main.main(Main.java:250)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:71)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.