Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-267343

Sprinting isn't canceled upon riding entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 23w51b
    • None
    • Confirmed
    • Camera
    • Normal
    • Platform

      The Bug:

      Sprinting isn't canceled upon riding entities.

      The fix of MC-257082 made it so that sprinting is not possible when riding an entity. With this in mind, it's still possible to sprint while riding an entity if you ride the said entity while sprinting. The only case where sprinting is possible when riding an entity is with a camel, and this is because camels can sprint while being ridden by a player.

      This issue was originally part of MC-152728 but I've reported this separately as I believe this is different from the player changes poses or using items.

      Steps to Reproduce:

      1. Summon a horse by using the command provided below.
        /summon minecraft:horse ~ ~ ~ {Tame:1b,SaddleItem:{id:"minecraft:saddle",Count:1b}}
      2. Stand a fair distance away from the horse and begin sprinting toward it.
      3. Mount the horse without canceling your sprint.
      4. Stop sprinting while riding the horse.

      Observed Behavior:

      Sprinting isn't canceled and is retained upon riding entities.

      Expected Behavior:

      Sprinting would be canceled upon riding entities.

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: