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

Sweep attack doesn't affect entities on same team even with friendlyfire on

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w05a, Minecraft 18w07c
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      When using the sweep attack with the sword, entities on the same scoreboard team as the player cannot be hit with the sweep attack whether the team has friendlyfire allowed or not.

      Steps to reproduce:

      1. /scoreboard teams add foobar
      2. /scoreboard teams option foobar friendlyfire true
      3. /summon minecraft:pig ~1 ~ ~ {NoAI:1}
      4. /summon minecraft:pig ~1 ~ ~1 {NoAI:1,Team:"foobar"}
      5. /scoreboard teams join foobar @p
      6. Hit the closest summoned pig with a sword
        → The second pig won't be damaged

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Tallone55 Thomas Hall
            • Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: