[Bug] MC-199467 fix introduces camera and control deviations
mrEDitor opened this issue ยท 5 comments
Bug Description
I'm playing Minecraft 1.18.2 via Steam translation, and it emulates mouse not very accurate. When MC-199467 fix is applied with Debugify, in some circumstances it makes camera deviate and look from player's back or shoulder (i.e. when I place blocks, they are placed behind me, controls are inverted or rotated, etc.). Seems like it may be fixed in two ways, either via disabling the fix MC-199467 for Debugify or via disabling "Raw control" for mouse events (Vanilla Minecraft option, I suppose).
Not sure, is it major problem of the mod or fix itself, just hope if someone will have similar issue, they can came across the issue with google, for instance.
How to Reproduce?
Easiest way: run Minecraft via Steam translation, hold inventory key [default E], quickly move the mouse around the screen for several seconds.
Random reproduction way: open the inventory, do something with mouse, close it. By chance, controls and camera are deviated.
Expected Behavior
No response
Version
1.11.0
Mod Loader Version
0.13.3
Mod Loader
Fabric
Logs or additional context
No response
Has not been reported.
- I made sure this bug hasn't already been reported.
Is on most update to date version.
- I made sure I am using the most up to date mod loader and mod version.
But looking at the fix mixin, I'm really sure it is completely broken. Shouldn't you use mod 2 * Math.PI
instead of 360 for radians normalization?
Does this resolve your issue?
https://github.com/isXander/Debugify/actions/runs/2685759768