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