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

Arrow behavior inconsistency: damage:0.0d arrows hit mobs but not players

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      Arrows with the nbt damage:0.0d hit mobs while they bounce off of players.

      What I expected to happen was....

      The arrows would hit both players and mobs, even if they do no damage.

      What actually happened was....

      The arrow bounced off of the player, but hit the mob, still not dealing any damage.

      Steps to reproduce:

      1. Put a repeating command that sets an arrow's damage tag to 0
      2. Shoot a mob
      3. The mob gets hit but doesn't lose any health
      4. Now shoot a player or get your own arrow to hit you
      5.  It will bounce off of the player

        Attachments

        1. 1.png
          1.png
          548 kB
        2. 2.png
          2.png
          341 kB
        3. 3.png
          3.png
          285 kB
        4. 4.png
          4.png
          353 kB
        5. image-2020-07-21-15-32-15-663.png
          image-2020-07-21-15-32-15-663.png
          312 kB
        6. image-2020-07-23-17-01-18-760.png
          image-2020-07-23-17-01-18-760.png
          480 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Cata75 Afilom Alexandru Cătălin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: