Mojira Archive
MC-256020

Players can hurt mobs on same team with friendly fire false

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

Players can hurt mobs on the same team, unlike other players, when friendly fire is false

Steps to reproduce:

  1. /team add TestTeam
  2. /team modify TestTeam friendlyFire false
  3. /team join TestTeam
  4. /summon skeleton ~ ~ ~ {Team:TestTeam}
  5. attack the skeleton
  6. notice how the skeleton takes damage from your attack.

Expected result:
Friendly fire is respected and the player cannot hurt teammate mobs.

Unresolved

user-f2760

2022-09-20, 09:48 AM

2025-01-02, 12:08 PM

11

7

Confirmed

Normal

Platform

Commands, Mob behaviour

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

-