mojira.dev
MC-270687

Maces enchanted with wind burst don't reliably protect players from fall damage

The Bug:

Maces enchanted with wind burst don't reliably protect players from fall damage.

Please note that this issue is not a duplicate of MC-269985. MC-269985 talks about how the wind burst enchantment causes you to take fall damage after being boosted up. This ticket (MC-270687) talks about how maces enchanted with wind burst don't reliably protect players from fall damage.

Steps to Reproduce:

  1. Obtain a regular mace and summon an armor stand.

  2. Teleport yourself up 50 blocks in the air by using the command provided below.

    /tp @s ~ ~50 ~
  3. Just as you hit the ground, use a mace smash attack on the armor stand and observe how you're protected from fall damage.

  4. Give yourself a mace enchanted with wind burst by using the command provided below.

    /give @s minecraft:mace[minecraft:enchantments={levels:{"minecraft:wind_burst":3}}]
  5. Repeat the above steps but this time use the mace enchanted with wind burst.

Observed Behavior:

Players aren't reliably protected from fall damage.

Expected Behavior:

Players would be reliably protected from fall damage.

Linked issues

Attachments

Comments 6

Succesfully replicated.

This was erroneously fixed.
The Wind Burst is supposed to invalidate the fall damage protection of the Mace smash attack.
The previous fix has been reverted.

is this really intended? if i fall 50 blocks, successfully do a smash attack and the wind burst clearly launches me up, why would i still take the damage of a 50 block fall? this makes the weapon worse, as the whole "risk and reward" and smash attack saving you is gone. you take damage every time

the previous fix completely negated fall damage after using wind burst, but the bug is about taking damage even though you successfully hit your target.

i added this comment incase there was a misunderstanding with what the bug is actually about

If this change is intended, that means you have to hit your target the tick before you hit the ground to guarantee safety. Consequently, past a certain height, it might be impossible to guarantee a safe mace hit with a Wind Burst Mace.

Assume that you're targeting a pig, with a hitbox size 0.9 blocks tall. With a survival player reach of 3 blocks and camera height of 1.62 blocks, the lowest a player can attack the pig is 2.28 blocks above the ground (if they look straight down). Consequently, if the player is moving faster than 2.28 blocks/tick downward, it is possible to enter this attack region and hit the ground during the same tick, making you take damage no matter what you do. With a standard gravity of 0.08b/t^2, this can happen after just 29 ticks of falling, or about 33 blocks. 

Taller mobs take longer to have guaranteed misses. Assuming all of that is right, it seems strange that a skill-based weapon can be invalidated by essentially bad luck. You can hit the mob, have Wind Burst activate, and still die for it.

This is actually now fixed in 1.21 pre4 and wind burst feels way better to use (players still take damage if they dont hit anything). please don't revert it

Can confirm this is fixed in 1.21 pre4.

Avoma

(Unassigned)

1222245

Confirmed

Expansion B

Important

Enchantments, Items

1.20.5 Pre-Release 1, 1.20.5 Release Candidate 2

24w19a

Retrieved