mojira.dev

BF5258

Assigned

No issues.

Reported

No issues.

Comments

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.

This bug also affects bows, crossbows, snowballs, potions, tridents, and wind charges. 

This bug is the same as MC-271449 and MC-137719. Both of which have been fixed in Java Edition.

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 * throwStrength
enderPearlVelocity = playerVelocity + playerFacingDirection * throwStrength

 This does not work as indented as it has been fixed in Java Edition. (MC-271449 and MC-137719

Steps to Reproduce:

Vertical:

  1. Fall from a high place.

  2. Wait until you reach terminal velocity.

  3. Throw a projectile downward.

Horizontal:

  1. Use an elytra and rockets to propel yourself forward as fast as possible.

  2. 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.