Use GameRenderer.renderHand boolean field instead of mixin

Should be more compatible with mods which replace the entire renderHand
method (thereby making our mixin non-applicable), at least as long as these mods
check `renderHand` as well (Iris explicitly does).

This will become important once #638 is fixed.
This commit is contained in:
Jonas Herzig
2022-03-06 13:36:30 +01:00
parent 6cc370a117
commit 4a5df2ad6d
4 changed files with 21 additions and 35 deletions

View File

@@ -16,7 +16,6 @@
"Mixin_Omnidirectional_Camera",
"Mixin_Omnidirectional_DisableFrustumCulling",
"Mixin_Omnidirectional_Rotation",
"Mixin_Omnidirectional_SkipHand",
"Mixin_PreserveDepthDuringGuiRendering",
"Mixin_SkipBlockOutlinesDuringRender",
"Mixin_SkipHudDuringRender",
@@ -39,6 +38,7 @@
"Mixin_PreserveDepthDuringHandRendering",
"Mixin_WindowsWorkaroundForTinyEXRNatives",
//#endif
"GameRendererAccessor",
"MainWindowAccessor",
"WorldRendererAccessor",
//#if MC>=10904