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

Mob type specific damage enchantment (Smite, Bane of Arthropods) affects all nearby entities when hitting affected mob with Sweeping Edge

XMLWordPrintable

    • 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

      1. 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}]}
        
      2. Spawn some cows
      3. Hit one of them
        No cow dies as expected
      4. Spawn some more cows and spawn an undead mob like a husk next to them
      5. Hit the husk
        The cows die

            slicedlime [Mojang] slicedlime
            Topaz Topaz
            Votes:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: