Incompatibility w/ GameRenderer
Describe the bug
Hi, I make a mod named Animatium and noticed it crashes with VulkanMod and tried to fix it but it turns out VulkanMod uses @Overwrite on the method I modify which makes it impossible to fix from my side
File: https://github.com/xCollateral/VulkanMod/blob/dev/src/main/java/net/vulkanmod/mixin/render/GameRendererMixin.java
Instead this should be a Redirect on the Math#max call inside the method or a Inject at head to redirect the return value or a WrapMethod call
Steps to reproduce
Download https://modrinth.com/mod/animatium/ Download VulkanMod
Launch Game
Log files
https://mclo.gs/lOjo08c
It would be greatly appreciated if this could be fixed
@lowercasebtw I think it would be better to ask this on discord since collateral is mostly active there. And I think I saw you on vulkanmod discord
@lowercasebtw I think you can still use @WrapOperation or @WrapMethod on even the overwritten methods
I do not want to overwrite or wrap the entire method, I just wanted to change one value inside the method, wrap operation won't work cause the math.min call doesn't exist in Vulkan overwrite code
Wasn't this already fixed? I can launch vulkanmod 0.5.9 with animatium 3.0 and it just works, maybe I changed some animatium setting that makes it work but in vulkanmod 0.5.8 it crashed with the same settings so it seems like it's not because of the animatium settings I changed.
Maybe they've changed or fixed it, haven't checked but either way it'll be fixed even for 0.5.8 in animatium 3.1 cause I removed the setting I was modifying that was colliding with Vulkan
Maybe they've changed or fixed it, haven't checked but either way it'll be fixed even for 0.5.8 in animatium 3.1 cause I removed the setting I was modifying that was colliding with Vulkan
Then I guess this can be closed now