The firework rocket use statistic doesn't count rockets used for elytra boosting
The bug
The statistic minecraft.used:minecraft.firework_rocket is incremented when a firework rocket is launched normally, but not when it is used to boost an elytra.
There appears to be no reliable way to detect the usage of a rocket as a booster using commands.
Steps to Reproduce:
- Run the following commands:
/scoreboard objectives add firework minecraft.used:minecraft.firework_rocket /scoreboard objectives setdisplay sidebar firework /scoreboard players set @a firework 0
Launch a firework rocket on the ground normally.
→
The scores increased by 1.
Fly with an elytra and boost yourself with a firework rocket.
→
The score does not increase.
Code analysis
Code analysis by randomdude999 can be found in this comment.
2016-12-18, 03:01 AM
2021-05-04, 02:40 PM
2021-04-21, 05:25 PM
27
12
elytra, firework_rocket, statistics
Minecraft 16w50a - 21w15a
Minecraft 16w50a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 1.13-pre1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 20w13b, 20w15a, 1.16.4 Pre-release 2, 1.16.4, 20w48a, 21w03a, 21w05b, 21w06a, 21w07a, 21w08b, 21w11a, 21w13a, 21w14a, 21w15a