Hitting a mob which is affected by a mob type specific damage enchantment, such as Smite or Bane of Anthropods, 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.
- Give yourself a sword with Smite and Sweeping Edge
- Spawn some cows
- Hit one of them
→ No cow dies as expected
- Spawn some more cows and spawn an undead mob like a husk next to them
- Hit the husk
→ The cows die