-
Bug
-
Resolution: Unresolved
-
None
-
1.20.6, 24w19b, 24w36a, 1.21.3
-
Community Consensus
-
Combat, Mob behaviour
-
Normal
-
1243668
-
Expansion B
The mace smash attack will not work on players/entities that are on the same team as the player, when friendlyFire is enabled.
Steps to Reproduce:
- Add a team:
/team add maceFriendly
- Ensure friendlyFire is enabled:
/team modify maceFriendly friendlyFire true
- Summon/Spawn a pig:
(optional) summon it with no gravity, to avoid it walking away from your test./summon pig ~ ~ ~ {NoGravity:1b}
- Join it onto your team
/team join maceFriendly @n[type=pig]
- Place an armor stand next to the pig
- Perform a mace smash attack onto the armor stand
Observed Behavior:
The pig will not be knocked back or be damaged at all (note; noGravity has no major affect on this normally)
Expected Result:
Because friendly fire is enabled, the smash attack would either deal knockback and damage, or at least knockback the entity and not deal damage. The fact that nothing happens is unexpected.
Screenshots/Videos:
- relates to
-
MC-114314 Sweep attack doesn't affect entities on same team even with friendlyFire on
- Open
-
MC-256020 Players can hurt mobs on same team with friendly fire false
- Open
-
MC-259786 Arrows fly through teammates when friendlyFire team option is true.
- Open
-
MC-269601 Mace smash attack does not knock back other players when they are not the attacked entity
- Resolved