Mojira Archive
MC-256019

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

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.

Unresolved

user-f2760

2022-09-20, 09:46 AM

2025-01-02, 12:08 PM

12

10

Confirmed

Normal

Platform

Commands

1.19.2 - 1.21.41.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b, 1.20.4, 24w19b, 1.21.4

-