The Bug
In Minecraft 1.14.1, when you shoot a pillager leader with a power 5, flame bow, the pillager is knocked down to 5 hit points. The damage from the flame is enough to kill it, but the player does not receive the bad omen effect. When testing this with a normal power 5 bow, it takes 2 shots to kill the pillager, and gives the player a level of the bad omen effect. After killing several leaders, you only receive the effect when you do the last hit point of damage.
To Repeat:
Summon/find a pillager with the banner.
/give @p bow
/enchant @p power 5
/enchant @p flame
Draw the bow fully back, and then shoot the pillager once. It will be knocked down to 5 health, and then will die from fire damage. The player does not receive the bad omen effect.
Observed Behavior:
The bad omen effect isn't granted when pillager captains die from the effects of flame or fire aspect enchantments after being attacked by players.
Expected Behavior:
The bad omen effect would be granted when pillager captains die from the effects of flame or fire aspect enchantments after being attacked by players.
Linked issues
is duplicated by 2
relates to 2
Attachments
Comments 10
Isn't this a duplicate of MC-118174?
Can confirm this in 1.18 Pre-release 5. This ticket relates to MC-82298. Here are some extra details regarding this problem.
The Bug:
The bad omen effect isn't granted when pillager captains die from the effects of flame or fire aspect enchantments after being attacked by players.
Steps to Reproduce:
Obtain a wooden sword enchanted with fire aspect.
/give @s minecraft:wooden_sword{Enchantments:[{id:"minecraft:fire_aspect",lvl:2}]}
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"}'}}}]}
Attack the pillager a singular time using the wooden sword and wait for it to die from the effects of the fire aspect enchantment.
Take note as to whether or not the bad omen effect is granted when pillager captains die from the effects of flame or fire aspect enchantments after being attacked by players.
Observed Behavior:
The bad omen effect isn't granted when pillager captains die from the effects of flame or fire aspect enchantments after being attacked by players.
Expected Behavior:
The bad omen effect would be granted when pillager captains die from the effects of flame or fire aspect enchantments after being attacked by players.
To add on, 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. 🙂
Suggest close
Bad omen effect doesn't work like this any more
Isn't this worksasintended pretty much? You have to damage mobs within N seconds for it to count as a player kill. Granted, it would make sense if that time was guaranteed to be slightly longer than the duration of Flame even with a few frames of lag ... (I forget what N is, unfortunately)
It wouldn't be works as intended since it clearly drops experience, meaning that the effect wasn't granted even though it was a player kill
Sounds like MC-151214, but with flame arrows instead of tipped arrows