mojira.dev
MC-131146

rotationYaw floating point problem

Video: https://www.youtube.com/watch?v=qoRmP2RGNLk

Minecraft uses floats for rotationYaw if you keep spinning in one direction the rotationYaw keeps increasing at one point its so high looking around gets difficult, due to the vagueness of floats https://streamable.com/qmvns (i try to adjust my yaw by a bit before and after the spinning. compare how well it works) if you keep spinning for long enough you are unable to move, particles don't spawn, you always highlight the block beneath you

Linked issues

Comments 9

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Is this still an issue in the latest 1.14 development snapshot?

It is still effected

to be honest you need to spin a lot for it to be noticable, but its still a problem

what version have you tried?

This is very much still an issue in latest releases of the game.
Just spinning in the same direction for long enough causes the rotationYaw value to reach high enough values. where float imprecision get noticable

also MC-158404 is defnetly a duplicate

Please add a recent version (1.15.2 or 20w11a) as an affected version if you can still confirm the issue there.

Is this still an issue in the latest version of the game?

Can Confirm in 1.17 RC1

krassertyp

(Unassigned)

Community Consensus

(Unassigned)

precision-loss

Minecraft 1.12.2, Minecraft 1.13-pre1, 1.19.4, 23w13a

Retrieved