mojira.dev
MC-151664

Bad Omen not given when pillager captain dies from fall damage after player hits it

The Bug

I used a knock-back 2 diamond sword in defending myself against a Pillager Patrol. The captain was hit by my sword and got knocked back off a ledge of a bridge...leading to the pillager captain dying by fall damage.

Steps to Reproduce

  • Summon a platform of stone in the air.

    /fill ~3 ~10 ~3 ~-3 ~10 ~-3 minecraft:stone
  • Summon a pillager captain on top of the stone platform. (A command block is required in order to execute this command).

    /summon minecraft:pillager ~ ~ ~ {Health:3f,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"}'}}}]}
  • Punch the pillager captain off the stone platform so that it dies from fall damage.

  • Take note as to whether or not the bad omen effect is granted when pillager captains die from fall damage after being attacked by players.

Observed Behavior

The bad omen effect isn't granted when pillager captains die from fall damage after being attacked by players.

Expected Behavior

The bad omen effect would be granted when pillager captains die from fall damage after being attacked by players.

Linked issues

Attachments

Comments 10

Can confirm in 20w51a.

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 21w10a. Video attached.

Can confirm in 1.17.1.

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 fall damage after being attacked by players.

Steps to Reproduce:

  • Summon a platform of stone in the air.

/fill ~3 ~10 ~3 ~-3 ~10 ~-3 minecraft:stone
  • Summon a pillager captain on top of the stone platform. (A command block is required in order to execute this command).

/summon minecraft:pillager ~ ~ ~ {Health:3f,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"}'}}}]}
  • Punch the pillager captain off the stone platform so that it dies from fall damage.

  • Take note as to whether or not the bad omen effect is granted when pillager captains die from fall damage after being attacked by players.

Observed Behavior:

The bad omen effect isn't granted when pillager captains die from fall damage after being attacked by players.

Expected Behavior:

The bad omen effect would be granted when pillager captains die from fall damage after being attacked by players.

Additionally, 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.

This was fixed in 24w13a due to pillager captains no longer giving raid omen directly at all. This depends on enabling the Experiment "Update 1.21", though.

Kaden Lafferty

(Unassigned)

Confirmed

(Unassigned)

Minecraft 1.14, 20w10a, 20w51a, 1.16.5, 21w06a, ..., 1.19.1 Pre-release 1, 1.19.2, 1.19.4, 1.20 Pre-release 1, 1.20.1

Retrieved