mojira.dev
MC-151214

Bad Omen is sometimes not applied to player when patrol leader is killed by a tipped arrow of harming

The Bug

When a patrol leader is killed by a tipped arrow of harming if the death is a result of the status effect rather than the arrow itself the kill will not be counted for the player. This appears to be the case for all mobs as the statistics page does not count kills of this manner towards the number displayed and neither do scoreboards. This isn't the case for the normal arrow or the splash potion of harming so it doesn't seem to be intentional behavior.

Steps to Reproduce

  • Obtain a bow and some arrows of harming.

  • Summon a pillager captain. (A command block is required in order to execute this command).

    /summon minecraft:pillager ~ ~ ~ {Health:8f,PatrolLeader:1b,HandItems:[{id:"minecraft:crossbow",Count:1b},{}],ArmorItems:[{},{},{},{id:"minecraft:white_banner",Count:1b,tag:{HideFlags:32,BlockEntityTag:{Patterns:[{Pattern:"mr",Color:9},{Pattern:"bs",Color:8},{Pattern:"cs",Color:7},{Pattern:"bo",Color:8},{Pattern:"ms",Color:15},{Pattern:"hh",Color:8},{Pattern:"mc",Color:8},{Pattern:"bo",Color:15}],id:"minecraft:banner"},display:{Name:'{"color":"gold","translate":"block.minecraft.ominous_banner"}'}}}]}
  • Shoot and kill the pillager using your bow and arrows of harming.

  • Take note as to whether or not the bad omen effect sometimes isn't granted when pillager captains die from the effects of tipped arrows.

Observed Behavior

The bad omen effect sometimes isn't granted when pillager captains die from the effects of tipped arrows.

Expected Behavior

The bad omen effect would always be granted when pillager captains die from the effects of tipped arrows.

Linked issues

Attachments

Comments 9

If the leader dies due to fire damage of an arrow shot with a flame bow, the kill will not be counted for the player either, and the bad omen is also not applied.

Can confirm that this issue is still present in 21w06a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 21w16a.

Can confirm in 1.17.1. Video attached.

Can confirm this in 1.18 Pre-release 5. Here are some extra details regarding this problem.

The Bug:

The bad omen effect sometimes isn't granted when pillager captains die from the effects of tipped arrows.

Steps to Reproduce:

  • Obtain a bow and some arrows of harming.

  • Summon a pillager captain. (A command block is required in order to execute this command).

/summon minecraft:pillager ~ ~ ~ {Health:8f,PatrolLeader:1b,HandItems:[{id:"minecraft:crossbow",Count:1b},{}],ArmorItems:[{},{},{},{id:"minecraft:white_banner",Count:1b,tag:{HideFlags:32,BlockEntityTag:{Patterns:[{Pattern:"mr",Color:9},{Pattern:"bs",Color:8},{Pattern:"cs",Color:7},{Pattern:"bo",Color:8},{Pattern:"ms",Color:15},{Pattern:"hh",Color:8},{Pattern:"mc",Color:8},{Pattern:"bo",Color:15}],id:"minecraft:banner"},display:{Name:'{"color":"gold","translate":"block.minecraft.ominous_banner"}'}}}]}
  • Shoot and kill the pillager using your bow and arrows of harming.

  • Take note as to whether or not the bad omen effect sometimes isn't granted when pillager captains die from the effects of tipped arrows.

Observed Behavior:

The bad omen effect sometimes isn't granted when pillager captains die from the effects of tipped arrows.

Expected Behavior:

The bad omen effect would always be granted when pillager captains die from the effects of tipped arrows.

Also, if it's alright, I'd like to request ownership of this report. The current reporter has been inactive since May of 2019 and I'm willing to keep this ticket updated.

Can confirm in 1.19 and 1.19.1 Pre-release 1.

Can confirm in 1.19.2.

Sean McAss

(Unassigned)

Community Consensus

(Unassigned)

Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, 1.16.1, 1.16.5, 21w06a, ..., 1.17.1, 1.19, 1.19.1 Pre-release 1, 1.19.2, 1.20.1

Retrieved