The bug
Hitting a mob which is affected by a mob type specific damage enchantment, such as Smite or Bane of Arthropods, with an item enchanted with Sweeping Edge affects nearby entities which should not be affected by the mob type specific enchantment.
For example hitting an undead mob with an item enchanted with Smite and Sweeping Edge deals Smite damage to nearby non-undead mobs as well.
How to reproduce
Give yourself a sword with Smite and Sweeping Edge
/give @p minecraft:wooden_sword{Unbreakable:1,Enchantments:[{id:smite,lvl:32767},{id:sweeping,lvl:3}]}
Spawn some cows
Hit one of them
→ ✔ No cow dies as expectedSpawn some more cows and spawn an undead mob like a husk next to them
Hit the husk
→ ❌ The cows die
Linked issues
is duplicated by 2
Attachments
Comments 9
lol, thought it was awfully effective. Particularly noticeable with witches.
Might need to check Bane of Anthropods as well.
Video demonstration: https://youtu.be/W8ERjLE4qI4