Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-208946

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.4, 1.16.5, 1.20.4, 24w10a, 1.21
    • Confirmed
    • Raids

      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:
        WolfRaidTest.zip
      2. Spawn a wolf, tame it
      3. 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
        
      4. Start the test with the command block labeled 'Start Test' (this starts a raid)
      5. Allow the first and second rounds to execute naturally (mobs will suffocate with provided setup), or speed the process up using a '/tick' command
      6. On the third wave, enable the repeating command block labeled 'Enable on third wave'
      7. Enter survival mode, allowing the pillager to attack yourself (this alerts the wolf)
      8. 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
      RaidHeroVillageWolf.mp4

        1. _BugTracker_ (1.21).png
          _BugTracker_ (1.21).png
          392 kB
        2. RaidHeroVillageWolf.mp4
          2.72 MB
        3. WolfRaidTest.zip
          863 kB

            Unassigned Unassigned
            Jingy [Mod] Jiingy
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: