mojira.dev
MC-117918

"minecraft.used:minecraft.<ARROW_TYPE>" doesn't increase when shooting arrows using bows or crossbows

The Bug:

"minecraft.used:minecraft.<ARROW_TYPE>" doesn't increase when shooting arrows using bows or crossbows.

Here is a table of all scoreboard objectives affected by this issue.

Scoreboard Objective

minecraft.used:minecraft.arrow

minecraft.used:minecraft.spectral_arrow

minecraft.used:minecraft.tipped_arrow

h3. Steps to Reproduce:

  1. Create a scoreboard objective for tracking when you use an arrow and set it to display on the sidebar by using the commands provided below.

    /scoreboard objectives add UseArrow minecraft.used:minecraft.arrow
    /scoreboard objectives setdisplay sidebar UseArrow
  2. Obtain a bow and some arrows.

  3. Shoot some arrows using the bow.

  4. Take note as to whether or not "minecraft.used:minecraft.<ARROW_TYPE>" increases when shooting arrows using bows or crossbows.

Observed Behavior:

"minecraft.used:minecraft.<ARROW_TYPE>" doesn't increase when shooting arrows using bows or crossbows.

Expected Behavior:

"minecraft.used:minecraft.<ARROW_TYPE>" would increase when shooting arrows using bows or crossbows.

Linked issues

Comments 13

What about stat.useItem.minecraft.bow?

I tested it and the bow score works just fine, its only the arrows that don't count toward their scoreboards.

Still broken in the latest version

It also doesn't have to be in a function, i tried with just command blocks and got the same bug

Confirmed for 1.13.1.

Command also changed from stat.useItem.minecraft.arrow to minecraft.used:minecraft.arrow

3 more comments

Can confirm in 21w15a.

Can confirm in 21w17a.

Can confirm in 1.17.1.

I'd like to request ownership of this ticket since the current reporter has been inactive since July 2018. I'm willing to keep this ticket updated and will continue to provide all of the necessary details.

This ticket relates to MC-241080.

Adam Brammer

Avoma

(Unassigned)

Confirmed

Statistics

arrow, spectral_arrow, tipped_arrow

Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.2, ..., 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1

Retrieved