Affects version 1.21.0
Description
The player's velocity is ignored when they throw a projectile.
Newtons first law of motion states: An object in motion remains in motion at constant speed and in a straight line unless acted on by an unbalanced force. It is expected that projectiles in the players inventory are in motion with the player. The initial velocity of a thrown projectile should be
enderPearlVelocity = playerVelocity + playerFacingDirection * throwStrengthenderPearlVelocity = playerVelocity + playerFacingDirection * throwStrengthThis does not work as indented as it has been fixed in Java Edition. (MC-271449 and MC-137719)
Steps to Reproduce:
Vertical:
Fall from a high place.
Wait until you reach terminal velocity.
Throw a projectile downward.
Horizontal:
Use an elytra and rockets to propel yourself forward as fast as possible.
Use a projectile.
Observed Results:
The projectile is thrown backward relative to the player.
Expected Results:
The projectile is thrown forward relative to the player.
Can confirm in 1.20.81.
This can usually be prevented by placing blocks around yourself before logging off; however, on the first nether entry, players sometimes go directly from the loading screen to the death screen.