Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-111534

The firework rocket use statistic doesn't count rockets used for elytra boosting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w16a
    • 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
    • Confirmed
    • Statistics
    • Normal

      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.

            slicedlime [Mojang] slicedlime
            Avoma [Mod] Avoma
            Votes:
            27 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: