-
Bug
-
Resolution: Fixed
-
Minecraft 1.11.2, Minecraft 1.12 Pre-Release 2, Minecraft 1.13.1, 1.16.1, 1.16.4, 20w48a, 21w06a, 23w14a
-
Confirmed
-
(Unassigned)
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 expected - Spawn some more cows and spawn an undead mob like a husk next to them
- Hit the husk
→ The cows die