Player motion not taken into account when throwing projectiles
The bug
When the player throws a projectile, its motion ignores the player's, causing it to follow an incorrect trajectory.
How to reproduce
Method 1:
- Get a splash potion in creative mode
- Run and sprint while throwing it repeatedly
Expected results: You throw it forward with the same distance as though you were standing still
Actual results: You catch up with it and it lands directly on you
Method 2:
- Get a splash potion in creative mode
- Go up 100 blocks or so and let yourself fall 70
- Quickly throw the potion forward
Expected results: It lands soon after you do, same as though you were standing still
Actual results: It takes several seconds to land, because it started with zero downward motion
2019-11-18, 11:22 PM
2025-01-28, 04:56 PM
421
76
305639, 307055
1.17.40.23 Beta - 1.21.51 Hotfix
1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.16.220, 1.16.210.50 Beta, 1.16.0.51 Beta, 1.14.20 Hotfix, 1.13.0, 1.14.0, 1.16.0, 1.16.221 Hotfix, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.19.2 Hotfix, 1.20.40.22 Preview, 1.20.30, 1.20.70.25 Preview, 1.21.30, 1.21.51 Hotfix
-