mojira.dev
MCPE-219481

q.total_emitter_count / q.total_particle_count returns 0 in geometry contexts

The bug

The q.total_emitter_count and q.total_particle_count 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

Linked issues

Attachments

Comments 1

tryashtar

(Unassigned)

1476447

Confirmed

Windows

1.21.90.23 Preview, 1.21.80

Retrieved