When the player has positive vertical momentum (such as jumping, being launched by a Wind Charge, or any other upward velocity source), taking damage unexpectedly cancels the upward movement and applies a sudden downward force.
Note: This issue only occurs while ascending in the air and does not happen when swimming in water.
Steps to Reproduce:
1. Create a new (superflat) world in Minecraft Java Edition.
2. Set yourself on fire (e.g., using Flint and Steel, standing in fire/lava) or prepare another damage source (e.g., a mob or the `/damage` command).
3. Gain upward momentum by jumping or launching yourself with a Wind Charge.
4. While still ascending (moving upward along the Y-axis), take damage (such as a fire damage tick).
5. Observe the player's vertical trajectory immediately upon taking damage.
Observed Result: The player's upward momentum is abruptly interrupted and replaced with a sudden downward pull (negative Y-velocity) the moment damage is taken.
Expected Result: Taking damage while moving upward—especially from non-knockback sources like fire—should preserve the upward momentum or apply standard knockback, rather than forcefully pulling the player down.
Environment
26.4 Snapshot 8 Vanila, Windows 10
Thank you for helping us improve Minecraft! We saved your files: