mojira.dev
MC-208946

Ending a raid with only tamed wolf kills will not grant the "hero of the village" effect

If the only kills in a raid are made by a trained wolf and non-player kills (lava damage, fall damage, etc.) the player is not granted the hero of the village effect.

Steps to Reproduce:

(Start test in creative mode)

  1. Load into the attached world:

[media]
  1. Spawn a wolf, tame it

  2. Give the wolf and player resistance (for ease)

    /effect give @e[type=wolf] minecraft:resistance infinite 255 true
    /effect give @p minecraft:resistance infinite 255 true
  3. Start the test with the command block labeled 'Start Test' (this starts a raid)

  4. Allow the first and second rounds to execute naturally (mobs will suffocate with provided setup), or speed the process up using a '/tick' command

  5. On the third wave, enable the repeating command block labeled 'Enable on third wave'

  6. Enter survival mode, allowing the pillager to attack yourself (this alerts the wolf)

  7. Allow the wolf to kill the pillager, ending the raid

Expected & Observed Results:

❌ - The raid will end, and the player will not be granted hero of the village.
✔ - The player would be granted hero of the village, as their wolf pet had killed a pillager and participated in the raid.

Screenshots/Videos:

Ending the raid with a wolf kill

[media]

Linked issues

Attachments

Comments 2

Please could you provide some screenshots or videos of this issue occurring whilst the F3 Debug screen is enabled? This would help myself, along with others, determine what the problem is. Thanks!

Can confirm in 24w10a. I would like to request ownership of this issue to add easier to follow steps to reproduce.

Oscar Ryan

[Mod] Jingy

(Unassigned)

Confirmed

Raids

hero-of-the-village, raid, wolf

1.16.4, 1.16.5, 1.20.4, 24w10a, 1.21

Retrieved