-
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)
- Load into the attached world:
WolfRaidTest.zip - 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
RaidHeroVillageWolf.mp4
- relates to
-
MC-165262 Tamed wolves don't trigger the player_hurt_entity or player_killed_entity advancement conditions, but loot tables are written as though tamed wolf kills are player kills.
- Open
-
MC-186647 Villager price changes are extremely inconsistent, and completely break in combination with hero of the village
- Reopened
-
MC-220360 Gifts given by baby villagers, nitwits and unemployed villagers when under the Hero of the Village effect are hardcoded
- Resolved