"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 |
Steps to Reproduce:
- 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
- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
Created Issue:
using any ammo for bows don't count toward their scoreboard scores
When firing a bow and using any kind of arrow as ammunition (it doesn't matter whether its in the offhand, the hotbar or in the inventory) the score assigned to it will not change
Replicate With The Following commands in a function
For Arrow
scoreboard objectives add arrow stat.useItem.minecraft.arrow
scoreboard objectives setdisplay sidebar arrowFor Spectral Arrows
scoreboard objectives add spectralarrow stat.useItem.minecraft.spectral_arrow
scoreboard objectives setdisplay sidebar spectralarrowFor Tipped Arrows
scoreboard objectives add tippedarrow stat.useItem.minecraft.tipped_arrow
scoreboard objectives setdisplay sidebar tippedarrowEnvironment
Using Windows 10
Java Version: 8 (64 bit)
So is it a bug or just an unimplemented scoreboard?
I feel like the cause of this is because since you're not actively consuming the arrows to make a projectile like you would a potion, egg, or snowball, they don't count towards actually using the item, and in turn counting towards the scoreboard
When firing a bow and using any kind of arrow as ammunition (it doesn't matter whether its in the offhand, the hotbar or in the inventory) the score assigned to it will not change. The bow scoreboard works as normal, but no matter what arrow you use, it won't count toward any of their respective scoreboards
Replicate With The Following commands in a function
For Arrow
scoreboard objectives add arrow stat.useItem.minecraft.arrow
scoreboard objectives setdisplay sidebar arrowFor Spectral Arrows
scoreboard objectives add spectralarrow stat.useItem.minecraft.spectral_arrow
scoreboard objectives setdisplay sidebar spectralarrowFor Tipped Arrows
scoreboard objectives add tippedarrow stat.useItem.minecraft.tipped_arrow
scoreboard objectives setdisplay sidebar tippedarrow
When firing a bow and using any kind of arrow as ammunition (it doesn't matter whether its in the offhand, the hotbar or in the inventory) the score assigned to it will not change. The bow scoreboard works as normal, but no matter what arrow you use, it won't count toward any of their respective scoreboards
Replicate With The Following commands in a function
For Arrow
scoreboard objectives add arrow stat.useItem.minecraft.arrow
scoreboard objectives setdisplay sidebar arrowFor Spectral Arrows
scoreboard objectives add spectralarrow stat.useItem.minecraft.spectral_arrow
scoreboard objectives setdisplay sidebar spectralarrowFor Tipped Arrows
scoreboard objectives add tippedarrow stat.useItem.minecraft.tipped_arrow
scoreboard objectives setdisplay sidebar tippedarrowWhen firing a bow and using any kind of arrow as ammunition (it doesn't matter whether its in the offhand, the hotbar or in the inventory) the score assigned to it will not change. The bow scoreboard works as normal, but no matter what arrow you use, it won't count toward any of their respective scoreboards
Replicate With The Following commands in a function
Arrowsscoreboard objectives add arrow stat.useItem.minecraft.arrow scoreboard objectives setdisplay sidebar arrowSpectral arrowsscoreboard objectives add spectralarrow stat.useItem.minecraft.spectral_arrow scoreboard objectives setdisplay sidebar spectralarrowTipped arrowsscoreboard objectives add tippedarrow stat.useItem.minecraft.tipped_arrow scoreboard objectives setdisplay sidebar tippedarrow
Using Windows 10
Java Version: 8 (64 bit)
using any ammo for bows don't count toward their scoreboard scoresUsing any ammo for bows don't count toward their scoreboard scores
When firing a bow and using any kind of arrow as ammunition (it doesn't matter whether its in the offhand, the hotbar or in the inventory) the score assigned to it will not change. The bow scoreboard works as normal, but no matter what arrow you use, it won't count toward any of their respective scoreboards
Replicate
WithTheFollowing commands in a functionArrowsscoreboard objectives add arrow stat.useItem.minecraft.arrow scoreboard objectives setdisplay sidebar arrowSpectral arrowsscoreboard objectives add spectralarrow stat.useItem.minecraft.spectral_arrow scoreboard objectives setdisplay sidebar spectralarrowTipped arrowsscoreboard objectives add tippedarrow stat.useItem.minecraft.tipped_arrow scoreboard objectives setdisplay sidebar tippedarrowWhen firing a bow and using any kind of arrow as ammunition (it doesn't matter whether it's in the offhand, the hotbar or in the inventory) the score assigned to it will not change. The bow scoreboard works as normal, but no matter what arrow you use, it won't count toward any of their respective scoreboards
Replicate with the following commands in a function:
Arrowsscoreboard objectives add arrow stat.useItem.minecraft.arrow scoreboard objectives setdisplay sidebar arrowSpectral arrowsscoreboard objectives add spectralarrow stat.useItem.minecraft.spectral_arrow scoreboard objectives setdisplay sidebar spectralarrowTipped arrowsscoreboard objectives add tippedarrow stat.useItem.minecraft.tipped_arrow scoreboard objectives setdisplay sidebar tippedarrow
When firing a bow and using any kind of arrow as ammunition (it doesn't matter whether it's in the offhand, the hotbar or in the inventory) the score assigned to it will not change. The bow scoreboard works as normal, but no matter what arrow you use, it won't count toward any of their respective scoreboards
Replicate with the following commands
in a function:Arrowsscoreboard objectives add arrow stat.useItem.minecraft.arrow scoreboard objectives setdisplay sidebar arrowSpectral arrowsscoreboard objectives add spectralarrow stat.useItem.minecraft.spectral_arrow scoreboard objectives setdisplay sidebar spectralarrowTipped arrowsscoreboard objectives add tippedarrow stat.useItem.minecraft.tipped_arrow scoreboard objectives setdisplay sidebar tippedarrowWhen firing a bow and using any kind of arrow as ammunition (it doesn't matter whether it's in the offhand, the hotbar or in the inventory) the score assigned to it will not change. The bow scoreboard works as normal, but no matter what arrow you use, it won't count toward any of their respective scoreboards
Replicate with the following commands and fire an arrow from a bow:
Arrowsscoreboard objectives add arrow stat.useItem.minecraft.arrow scoreboard objectives setdisplay sidebar arrowSpectral arrowsscoreboard objectives add spectralarrow stat.useItem.minecraft.spectral_arrow scoreboard objectives setdisplay sidebar spectralarrowTipped arrowsscoreboard objectives add tippedarrow stat.useItem.minecraft.tipped_arrow scoreboard objectives setdisplay sidebar tippedarrow
When firing a bow and using any kind of arrow as ammunition (it doesn't matter whether it's in the offhand, the hotbar or in the inventory) the score assigned to it will not change. The bow scoreboard works as normal, but no matter what arrow you use, it won't count toward any of their respective scoreboards
Replicate with the following commands and fire an arrow from a bow:
Arrowsscoreboard objectives add arrowstat.useItem.minecraft.arrow scoreboard objectives setdisplay sidebar arrowSpectral arrowsscoreboard objectives add spectralarrowstat.useItem.minecraft.spectral_arrow scoreboard objectives setdisplay sidebar spectralarrowTipped arrowsscoreboard objectives add tippedarrowstat.useItem.minecraft.tipped_arrow scoreboard objectives setdisplay sidebar tippedarrowWhen firing a bow and using any kind of arrow as ammunition (it doesn't matter whether it's in the offhand, the hotbar or in the inventory) the score assigned to it will not change. The bow scoreboard works as normal, but no matter what arrow you use, it won't count toward any of their respective scoreboards
Replicate with the following commands and fire an arrow from a bow:
Arrowsscoreboard objectives add arrow minecraft.used:minecraft.arrow scoreboard objectives setdisplay sidebar arrowSpectral arrowsscoreboard objectives add spectralarrow minecraft.used:minecraft.spectral_arrow scoreboard objectives setdisplay sidebar spectralarrowTipped arrowsscoreboard objectives add tippedarrow minecraft.used:minecraft.tipped_arrow scoreboard objectives setdisplay sidebar tippedarrow
When firing a bow and using any kind of arrow as ammunition (it doesn't matter whether it's in the offhand, the hotbar or in the inventory) the score assigned to it will not change. The bow scoreboard works as normal, but no matter what arrow you use, it won't count toward any of their respective scoreboards
Replicate with the following commands and fire an arrow from abow:Arrowsscoreboard objectives add arrow minecraft.used:minecraft.arrow scoreboard objectives setdisplay sidebar arrowSpectral arrowsscoreboard objectives add spectralarrow minecraft.used:minecraft.spectral_arrow scoreboard objectives setdisplay sidebar spectralarrowTipped arrowsscoreboard objectives add tippedarrow minecraft.used:minecraft.tipped_arrow scoreboard objectives setdisplay sidebar tippedarrowThe 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 Steps to Reproduce:
- Create a scoreboard objective for tracking when you use an arrow and set it to display on the sidebar.
/scoreboard objectives add UseArrow minecraft.used:minecraft.arrow /scoreboard objectives setdisplay sidebar UseArrow
- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
Using any ammo for bows don't count toward their scoreboard scoresminecraft.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 Steps to Reproduce:
- Create a scoreboard objective for tracking when you use an arrow and set it to display on the sidebar.
/scoreboard objectives add UseArrow minecraft.used:minecraft.arrow /scoreboard objectives setdisplay sidebar UseArrow
- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
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 Steps to Reproduce:
- Create a scoreboard objective for tracking when you use an arrow and set it to display on the sidebar.
/scoreboard objectives add UseArrow minecraft.used:minecraft.arrow /scoreboard objectives setdisplay sidebar UseArrow
- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
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 Steps to Reproduce:
- Create a scoreboard objective for tracking when you use an arrow and set it to display on the sidebar.
/scoreboard objectives add UseArrow minecraft.used:minecraft.arrow/scoreboard objectives setdisplay sidebar UseArrow
- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
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 Steps to Reproduce:
- Create a scoreboard objective for tracking when you use an arrow and set it to display on the sidebar.
/scoreboard objectives add UseArrow minecraft.used:minecraft.arrow
/scoreboard objectives setdisplay sidebar UseArrow
- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
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 Steps to Reproduce:
- 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
- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
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 Steps to Reproduce:
- 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
- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
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 Steps to Reproduce:
- 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- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
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 Steps to Reproduce:
- 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- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
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 Steps to Reproduce:
- 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- Obtain a bow and some arrows.
- Shoot some arrows using the bow.
- 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.
"minecraft.used:minecraft.<ARROW_TYPE>" doesn't increase when shooting arrows using bows or crossbows
This ticket relates to MC-117918.
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
Can confirm in 20w48a.
Can confirm in 21w03a.
Can confirm in 21w06a.
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.