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)
Load into the attached world:
Spawn a wolf, tame it
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
Start the test with the command block labeled 'Start Test' (this starts a raid)
Allow the first and second rounds to execute naturally (mobs will suffocate with provided setup), or speed the process up using a '/tick' command
On the third wave, enable the repeating command block labeled 'Enable on third wave'
Enter survival mode, allowing the pillager to attack yourself (this alerts the wolf)
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]
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!