Releases: MCTeamPotato/Redirector
1.9 for NilLoader
see 1.9 for 1.12.2-1.8.8 for changes
1.9 for 1.12.2-1.8.8
Add a new mode for debug. You could open "checkEnumsWhenRunningTime" (true) at "redirectionor_cfg.json" to enable it.
When this mode enabled, redirectionor will check your enums. When the $VALUE$ was modified, redirectionor will print a IllegalStateException at log where you can see the enum and caller.
[15:25:57] [main/INFO] [STDERR]: [com.Hileb.teampotato.redirectionor.Redirectionor:logError:30]: java.lang.IllegalStateException : net/minecraft/client/shader/ShaderLoader#values() has been broken.
[15:25:57] [main/INFO] [STDERR]: [com.Hileb.teampotato.redirectionor.Redirectionor:logError:30]: at net.minecraft.client.shader.ShaderLoader$ShaderType.redirectionor_logError(ShaderLoader.java)
[15:25:57] [main/INFO] [STDERR]: [com.Hileb.teampotato.redirectionor.Redirectionor:logError:30]: at net.minecraft.client.shader.ShaderLoader$ShaderType.redirectionor_checkEnums(ShaderLoader.java)
[15:25:57] [main/INFO] [STDERR]: [com.Hileb.teampotato.redirectionor.Redirectionor:logError:30]: at net.minecraft.client.shader.ShaderLoader$ShaderType.values(ShaderLoader.java:97)
[15:25:57] [main/INFO] [STDERR]: [com.Hileb.teampotato.redirectionor.Redirectionor:logError:30]: at com.Hileb.teampotato.redirectionor.demo.EnumTestDemo.enumFacing(EnumTestDemo.java:19)
[15:25:57] [main/INFO] [STDERR]: [com.Hileb.teampotato.redirectionor.Redirectionor:logError:30]: at com.Hileb.teampotato.redirectionor.demo.EnumTestDemo.onLaunch(EnumTestDemo.java:13)
[15:25:57] [main/INFO] [STDERR]: [com.Hileb.teampotato.redirectionor.Redirectionor:logError:30]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[15:25:57] [main/INFO] [STDERR]: [com.Hileb.teampotato.redirectionor.Redirectionor:logError:30]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[15:25:57] [main/INFO] [STDERR]: [com.Hileb.teampotato.redirectionor.Redirectionor:logError:30]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[15:25:57] [main/INFO] [STDERR]: [com.Hileb.teampotato.redirectionor.Redirectionor:logError:30]: at java.lang.reflect.Method.invoke(Method.java:498)
In that case, we could add net.minecraft.client.shader.ShaderLoader to config and block it. Or remove the mod com.Hileb.teampotato.redirectionor.demo.EnumTestDemo.
Full Changelog: 1.12.2-1.8.8-1.8_...1.8_for_1.12.2_1.8.8
1.8 for 1.12.2-1.8.8
1.8 for NilLoader
1.8_for_NilLoader fix
1.7 for NilLoader
require https://github.com/unascribed/NilLoader
here is an unoffical NilLoader could be used in java 21 (mc >=1.20.5)
1.8 for 1.12.2-1.8.8
1.8 for 1.7.10
Sync 1.8 for 1.12.2-1.8.8
1.7 for 1.7.10
1.7.10-1.7 sync 1.7
1.6 for 1.12.2-1.8.8
fix the encoder of config.
Block the fake crash by forge.
1.7 for 1.12.2-1.8.8
Added new generateConfigWhenCrash config.
Apologies to all users for my stupidity