mojira.dev
MC-30403

Sprinting isn't canceled when dismounting rideable entities while sprinting

The Bug:

Sprinting isn't canceled when dismounting rideable entities while sprinting.

When dismounting a rideable entity while you're sprinting, your sprinting state doesn't reset; you'll need to stop and start sprinting again in order to reset it.

Steps to Reproduce:

  • Spawn a saddled pig, mount it, and hold the sprint key.

  • Dismount the pig while sprinting and take note of how you're still in the sprinting state (as indicated by the change in FOV) even if you slow down.

  • Stop and start sprinting again by pressing the sprint key moving and forwards before stopping.

  • Take note of how sprinting is now canceled (as indicated by the change in FOV).

Observed Behavior:

Players continue to sprint after dismounting entities even if you slow down.

Expected Behavior:

Players would stop sprinting after dismounting entities when they slow down.

Linked issues

Attachments

Comments 39

galaxy_2alex

Relates to MC-29711

branza

Still an issue in 13w02c.

Itouch2

Still an issue in 1.7.5 and 14w08a

Itouch2

Confirmed for 1.7.9 and 14w11

fienxjox

Is this still a concern in the current Minecraft version 14w30c or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

29 more comments
Avoma

Can confirm in 21w17a.

Avoma

Can confirm in 1.17.

Avoma

I've refined this ticket a little in order to fix grammar errors and precisely state the problem in a tad bit more detail. I hope this is okay. 🙂

[Mod]Les3awe

Still affects camels in 22w44a.

Avoma

Following on from what @unknown said, this issue appears to have only been fixed for horses, donkeys, and mules. Other rideable entities such as pigs, striders, and camels are still affected.

Schlchter11

Avoma

elvendorke

Confirmed

Normal

Camera

Minecraft 13w36a, Minecraft 13w36b, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w02b, ..., 1.19.2, 22w42a, 22w43a, 22w44a, 22w45a

Minecraft 14w34d, 22w44a, 23w03a

Retrieved