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

Mace damage does not reset after a hit while still falling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20.5 Pre-Release 1
    • 24w12a, 24w13a, 24w14a
    • None
    • Confirmed
    • Combat
    • Important
    • 1216310
    • Expansion B

      If a player lands a hit with the mace and is still falling, they will deal damage based on the height they started falling rather than the height they landed their last mace hit. This means that a player can extend the mace's powerful attack to more than one entity per fall, which could be exploited under some circumstances.

       To reproduce:

      1. Run the following command to create a command block that will make any survival player fall continuously:
        /setblock ~ ~ ~ minecraft:repeating_command_block[conditional=false]{Command:"tp @p[gamemode=survival] ~ ~10 ~",auto:1b,conditionMet:1b,powered:0b}
        
      1. Obtain a mace and go into survival mode.
      2. While "falling", run the following command a few times to summon wardens without AI:
        /summon minecraft:warden ~ ~ ~ {NoAI:1}
        
      1. Hit the wardens with a mace quickly, noticing that the amount of damage does not reset after each hit.

            hawkan [Mojang] hawkan
            gaspoweredpick [Helper] gaspoweredpick
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: