mojira.dev
MCPE-219481

q.total_emitter_count / q.total_particle_count returns 0 in 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 geometry. When rendering 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.total_particle_count” lines should always display a non-zero value

Observed results

The line displays 0 in the geometry displays

Attachments

Comments 1

tryashtar

(Unassigned)

Unconfirmed

Windows

1.21.90.23 Preview, 1.21.80

Retrieved