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

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

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      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.

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Topaz Topaz
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: