mojira.dev
MCPE-219472

q.body_x_rotation / q.body_y_rotation returns 0 in first person geometry contexts

The bug

The q.body_x_rotation and q.body_y_rotation molang queries silently fail and return 0 when they are used during rendering of player first person geometry. When rendering third person geometry or particles, they return the intended value.

How to reproduce

  1. Download and open the attached world

  2. Hold the two different items in your hand and look at the display on your screen and above the frog

Expected results

The “q.body_y_rotation” lines should always display a non-zero value

Observed results

The line displays 0 in the on-screen geometry display

Attachments

Comments 1

tryashtar

(Unassigned)

Unconfirmed

Windows

1.21.90.23 Preview, 1.21.80

Retrieved