File Details
redirectionor-1.9 for 1.7.10.jar
- R
- Jul 30, 2025
- 119.57 KB
- 28.0K
- 1.7.10
- Forge
File Name
redirectionor-1.9 for 1.7.10.jar
Supported Versions
- 1.7.10
Curse Maven Snippet
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**: https://github.com/MCTeamPotato/Redirector/compare/1.12.2-1.8.8-1.8_...1.8_for_1.12.2_1.8.8

