The Bug:
Arrows bounce off entities during their invulnerability ticks.
Steps to Reproduce:
Summon an iron golem and give yourself a crossbow enchanted with a high level of quick charge by using the command provided below.
/give @s minecraft:crossbow[minecraft:enchantments={"minecraft:quick_charge":5}]
Quickly and continuously shoot the iron golem and watch the arrows closely.
Observed Behavior:
Arrows bounce off entities during their invulnerability ticks.
Expected Behavior:
Arrows would not bounce off entities during their invulnerability ticks.
Linked issues
is duplicated by
relates to
Attachments
Comments
this still present in 20w27a?
Affects 20w27a
Can confirm in 20w51a. I believe this is because mobs have invulnerability ticks and this prevents you being able to damage them quickly.

I don't think so. The invulnerability is pretty short and this is done with a bow, which needs a minimum charging time to fire an arrow at all.
Can confirm in 21w03a.

If you set the nbt of an arrow to {damage:0.0d}, then the arrow will bounce off of the shooter and possibly any other players. It literally cannot hit a player entity. If the damage is not zero, it will behave normally.
Can confirm in 21w05a. This is easier to reproduce if you perform this with an iron golem.
Can confirm in 21w06a.

Can confirm. I shot a skeleton, and it bounced off and hit meΒ π
Edit: Also can occur with the player very rarely. A skeleton shot me and the arrow bounced off me and hit him instead for no reason. Is this a separate bug?
can confirm in 1.17.1
Can confirm in 21w41a. The expected behavior here would be that arrows cannot bounce off mobs during their brief invulnerability period after being damaged.

Can confirm in 21w43a.
Can confirm in 1.18.1.
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.2.
Confirmed in 20w16a