mojira.dev
MC-137719

The player's horizontal motion doesn't affect fired projectiles in certain situations

The bug

The player's horizontal movement/momentum doesn't affect the motion of projectiles fired by crossbows at all. Other projectiles (e.g. arrows shot by bows, thrown snowballs, tridents) are not affected by player movement in certain situations:

  • Walking/sprinting (e.g. with a high level of the Speed effect)

  • Creative mode flying

  • Riding an entity (e.g. Minecart, Boat, Horse)

The player's speed is added to the speed of fired projectiles in the following situations:

  • Falling

  • Flying with Elytra

  • Launching oneself with a trident enchanted with Riptide

  • Being knocked away by an entity (e.g. the Ender Dragon, or a mob with a Knockback sword)

How to reproduce

  • Fly forward, backward or sideways in Creative mode and shoot a projectile (e.g. arrow, non-Riptide trident, ender pearl)

  • Alternatively, give yourself a high level of speed (e.g. 30) and throw projectiles while running around

Note that the projectile doesn't take the player's speed into account.

  • Enchant a trident with Riptide III (/enchant @s riptide 3)

  • Set weather to rain with /weather rain

  • Launch yourself with the trident, then shoot a projectile

  • Alternatively, fly up 70+ blocks, then start falling and shoot a projectile while falling

The projectile should now be affected by the motion of the player.

Demonstration video

Linked issues

Comments 5

As of 19w13b (possibly earlier), arrows and fireworks fired by crossbows are no longer affected by player motion at all; however other projectiles (thrown, bow, trident) still take player motion into account.

Can confirm in 20w51a.

Can confirm in 21w05a.

Can confirm in 21w06a.

Can confirm in 1.17 release

Sonicwave

Shugoh

Confirmed

Projectiles

Minecraft 1.13.2, Minecraft 18w43a, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, ..., 21w05b, 21w06a, 1.18 Pre-release 5, 1.19.2, 23w40a

24w20a

Retrieved