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

Wind charge fall damage is inconsistent between mobs and players

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 24w06a
    • Confirmed
    • (Unassigned)
    • Expansion B

      Wind charges deal fall damage to mobs whereas players don't get any fall damage when the projectile isn't fired by them. Such behavior makes me think players are able to avoid fall damage when hit by wind charges fired by other players, which i don't think it's intended when mobs do get fall damage.

      To clarify, this is not talking about the fact that wind charges don't accumulate fall damage (as is obviously a feature stated in the changelog) but about the inconsistency that mobs do accumulate fall damage. So the expected here would be either the mobs not accumulating fall damage like players, or players would also accumulate fall damage when hit by wind charges not fired by them.

      How to reproduce

      Players:

      1. Switch to survival.
      2. Summon a wind charge with power so that it deals vertical knockback:
        /summon wind_charge ~ ~1 ~ {power:[0.0d,-0.2d,0.0d]}
        
      3. Notice how you get launched and after hitting the floor you don't get fall damage.

      Mobs:

      1. Summon a husk, you can apply high values of slowness to the mob for easier reproduction.
      2. Summon a wind charge similar to previous steps, where <pos> is the position the mob is standing on but ~1 block above its feet:
        /summon wind_charge <pos> {power:[0.0d,-0.2d,0.0d]}
        
      3. Notice the mob gets launched and receives fall damage after hitting the floor.

      Expected result
      Either mobs would not accumulate fall damage when hit by wind charges, or players getting hit by wind charges they didn't shoot would receive fall damage.

      Observed result
      Mobs get fall damage while players don't, creating an inconsistency.

            Unassigned Unassigned
            Chavamix700 syarumi
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: