mojira.dev
MC-56229

Sprint scoreboards won't increase after sprint-attacking (with the sprint key held down)

The bug

If you sprint attack an entity and hold down your sprint key (for me, it's SHIFT), you will continue to sprint, but the scoreboard will not increase. It's only when you resprint that it will start increasing again.

Linked issues

Comments

Anon Ymus

Confirmed. I suspect this is because attacking ends your sprint when not holding down the sprint key.

Samuel Shank

15w43a

Oval

Confirmed for 1.13.1.

How to reproduce

  1. Add a scoreboard, set it display and add yourself to the scoreboard with score of 0.

    /scoreboard objectives add attackSprint minecraft.custom:minecraft.sprint_one_cm
    /scoreboard objectives setdisplay sidebar attackSprint
    /scoreboard players add @p attackSprint 0

    Spawn a cow, start attacking it while sprinting.

    Observe how the score will stop increasing after the first hit while you are still sprinting.

Kelvin maier

confirmed for 1.15 and 1.15.1

Zungry Ware

Confirmed for 1.17.1

Ethan Brown

(Unassigned)

Confirmed

Minecraft 14w21b, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 15w43a, Minecraft 16w33a, Minecraft 1.12.2, Minecraft 18w03b

Retrieved