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

Mace smash attack does not affect players/entities on the same team with friendlyFire enabled

XMLWordPrintable

    • 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:

      1. Add a team:
        /team add maceFriendly
        
      2. Ensure friendlyFire is enabled:
        /team modify maceFriendly friendlyFire true
        
      3. Summon/Spawn a pig:
        (optional) summon it with no gravity, to avoid it walking away from your test.
        /summon pig ~ ~ ~ {NoGravity:1b}
        
      4. Join it onto your team
        /team join maceFriendly @n[type=pig]
        
      5. Place an armor stand next to the pig
      6. 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:

      MaceSmashTeam.mp4

        1. 2024-09-10_11-53-24.mp4
          4.10 MB
          [Helper] Jiingy
        2. 2024-09-10 20-00-46.mp4
          7.52 MB
          sofia
        3. MaceSmashTeam.mp4
          1009 kB
          [Helper] Jiingy

            Unassigned Unassigned
            Jingy [Helper] Jiingy
            Votes:
            8 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: