Skip to content

Releases: MCTeamPotato/Redirector

1.9 for NilLoader

30 Jul 05:03
26239bf

Choose a tag to compare

1.9 for 1.12.2-1.8.8

30 Jul 04:57
6ddc145

Choose a tag to compare

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

06 May 15:00
f0e8d53

Choose a tag to compare

What's Changed

  • fix: enum check breaks on some classes by @Rigner in #14

New Contributors

Full Changelog: 1.12.2-1.8.8-1.6...1.12.2-1.8.8-1.8_

1.8 for NilLoader

06 May 15:04
1d3bbea

Choose a tag to compare

1.8_for_NilLoader

fix

1.7 for NilLoader

09 Dec 05:54
9b12f11

Choose a tag to compare

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

09 Oct 14:50
7556804

Choose a tag to compare

1.8 for 1.7.10

06 May 15:01

Choose a tag to compare

Sync 1.8 for 1.12.2-1.8.8

1.7 for 1.7.10

16 Sep 06:53

Choose a tag to compare

1.7.10-1.7

sync 1.7

1.6 for 1.12.2-1.8.8

08 Sep 14:56

Choose a tag to compare

fix the encoder of config.
Block the fake crash by forge.

1.7 for 1.12.2-1.8.8

14 Sep 15:09

Choose a tag to compare

Added new generateConfigWhenCrash config.
Apologies to all users for my stupidity

https://github.com/Ecdcaeb/Redirector/wiki/Config_English