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.
Can confirm in 24w19b.