mojira.dev
MCPE-219471

Frame time queries return 0 in first person geometry/particle contexts

The bug

The q.average_frame_time, q.last_frame_time, q.maximum_frame_time, and q.minimum_frame_time molang queries silently fail and return 0 when used during rendering of player first person geometry or particles. When rendering third person geometry, they returns 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.average_frame_time” line should always display a non-zero value

Observed results

The line displays 0 in all contexts except the geometry above the frog

Attachments

Comments 1

tryashtar

(Unassigned)

Unconfirmed

Windows

1.21.90.23 Preview, 1.21.80

Retrieved