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

    • Confirmed
    • (Unassigned)

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

      Expected behaviour:

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

      Actual behaviour:

      The arrow bounces off of the player but is able to hit the mob, still not dealing any damage.

      Steps to reproduce

      1. Place a repeating command block with the following command:
        /execute as @e[type=arrow] run data modify entity @s damage set value 0
      1. Shoot a mob
        The mob gets hit but doesn't lose any health
      2. Now shoot a player or get your own arrow to hit you
         It will bounce off of the player

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

            Unassigned Unassigned
            sof sofia
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: