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, 1.15.2, 20w21a, 1.16.1, 1.16.2 Release Candidate 2, 1.16.2
    • 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. /team add foobar
      2. /team modify foobar friendlyFire true
      3. /summon minecraft:pig ~1 ~ ~ {NoAI:1}
      4. /summon minecraft:pig ~1 ~ ~1 {NoAI:1,Team:"foobar"}
      5. /team join foobar @s
      6. Hit the closest summoned pig with a sword
        → The second pig won't be damaged

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Tallone55 Thomas Hall
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: