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

A mob being killed by the effect of a tipped arrow that was shot by a player doesn't count towards that player's statistics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.14
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Entities

      Description

      The bug

      A mob that is killed by the effect of a tipped arrow (Arrow of Harming, or Arrow of Healing) won't count towards the statistics of the player who has shot that arrow.

      To reproduce

      1. Run /scoreboard objectives add VindicatorKills minecraft.killed:minecraft.vindicator
      2. Run /scoreboard objectives setdisplay sidebar VindicatorKills
      3. Spawn a vindicator
      4. Kill it with a normal arrow
      5. The score will increase
      6. Spawn another vindicator
      7. Shoot it with a bow and an arrow of harming (Instant Damage II)
      8. The score won't increase

      This bug can also be observed by checking the Statistics screen.

      Original description

      Scoreboard objective with criteria "minecraft.killed" doesn't show correct value when specified mob has been killed with crossbow.

      What I expected to happen was...:
      Objective with criteria "minecraft.killed" updates when specified mob is killed with crossbow

      What actually happened was...:
      Previously mentioned objective doesn't update (video)

      Steps to Reproduce:
      I added an objective called "vindicators" with criteria set to "minecraft.killed:minecraft.vindicator". It should update each time any vindicator is killed by a player with any kind of weapon. It doesn't work only with crossbow.

      [EDIT]: It actually works but with normal arrows. It doesn't work for tipped arrows.

      [2ND EDIT]: I've tried several of them and it turns out that only tipped arrows of harming II doesn't work. Most likely it's because it takes only two shots to kill a vindicator (in this example) instead of 3+ shots with other arrows. I also tried that with pig which requires only 1 shot with crossbow and tipped arrow of harming II, and it worked, so this situation debunks my previous hypothesis. I don't know why, but when mobs are killed with exactly two shots from crossbow, the specific scoreboard doesn't update. And this applies only for illagers (and maybe for villagers too). I know, it's weird and a bit unclear.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ThePolish Kuba Okoń
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: