mojira.dev
MC-140857

Arrows bounce off entities during their invulnerability ticks

The Bug:

Arrows bounce off entities during their invulnerability ticks.

Steps to Reproduce:

  1. 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}]
  2. 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

Attachments

Comments

Jon1337

Confirmed in 20w16a

Iosiv Visokogorskiy

this still present in 20w27a?

Jon1337

Affects 20w27a

Avoma

Can confirm in 20w51a. I believe this is because mobs have invulnerability ticks and this prevents you being able to damage them quickly.

FaRo1

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.

Avoma

Can confirm in 21w03a.

Howzieky

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.

Avoma

Can confirm in 21w05a. This is easier to reproduce if you perform this with an iron golem.

Avoma

Can confirm in 21w06a.

Brevort

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?

TheXug

can confirm in 1.17.1

Avoma

Can confirm in 21w41a. The expected behavior here would be that arrows cannot bounce off mobs during their brief invulnerability period after being damaged.

ampolive

Can confirm in 21w43a.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

Avoma

Can confirm in 1.19.

Avoma

Can confirm in 1.19.2.

[Mod] Jingy

May relate to MC-194723, MC-129934, and MC-101723.

Shourin

Avoma

(Unassigned)

Confirmed

Gameplay

Normal

Projectiles

Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 1.14.3 Pre-Release 2, ..., 1.21, 1.21.2 Pre-Release 5, 1.21.4, 25w08a, 1.21.5

Retrieved