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

Mobs on teams can be hit by projectiles whose owner is a teammate when friendly fire is false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b, 1.20.4, 24w19b
    • None
    • Confirmed
    • Commands
    • Normal
    • Platform

      Per Moesh's comment on MC-46956, I'm making a new report for this.

      When mobs are on teams they can be hit by projectiles from teammates, unlike players.

      Steps to reproduce:

      1. /team add TestTeam
      2. /team modify TestTeam friendlyFire false
      3. run a few times:
        /summon skeleton ~ ~ ~ {Team:TestTeam,HandItems:[{id:bow,Count:1}]}
      4. get the skeletons to attack you
      5. notice how some of the skeletons take damage from other skeletons' arrows.

      Expected result:
      Friendly fire is respected and the mobs be hit by teammates' projectiles.

      Affects all forms of non-melee damage, so arrows, fireballs, dragon breath, splash potions, evocation fangs, etc.

        1. MC-256019.mp4
          4.35 MB
          [Mod] Avoma
        2. MC-256019.png
          2.81 MB
          [Mod] Avoma

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            12 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              CHK: