The Bug:
Sprinting is canceled upon flying with elytra.
In 25w04a, the fix of MC-152728 was reverted, however, sprinting is still canceled upon flying with elytra. This could be intentional but I'm reporting it just in case.
Steps to Reproduce:
Equip elytra, start sprinting, and begin flying.
Observe if you sprint was canceled when you started flying.
Observed Behavior:
Sprinting is canceled.
Expected Behavior:
Sprinting would not be canceled.
Related issues
is duplicated by
relates to
Comments


For the triage team I would like to note this should be somewhat high priority as elytra running is quite a common thing for players to do.

I believe they didn't revert this change due to the reintroduction of swimming with elytra activated.
I do agree that for those who don't use toggle sprint it is quite annoying having to retoggle sprint whilst "elytra running" so this should be a valid issue.

This is what I pointed out in my bug report MC-279725 but nobody ever understood me. Before the bug fix (version 1.21.3), the shouldStopSprinting method did not exist in the LocalPlayer class at all, but when the bug was fixed in (version 24w44a), it appeared, which started to interfere with players in all the listed activities from MC-152728. However, after the bug revert (version 25w04a), they didn't remove it, which left some side effects in terms of fixes

can confirm in 25w04a

Yeah, this is often referred to by players as "elytra hopping". Even whilst holding the sprint key the whole time while elytra hopping, it is much slower and doesn't launch the player as high as it did prior to 24w44a.
Can confirm.