-
Bug
-
Resolution: Duplicate
-
None
-
1.20.1
-
None
-
Unconfirmed
-
(Unassigned)
If a player holding the sprint key and moving forward while attacking an entity, sprinting flags (predicate) & custom:minecraft.sprint_one_cm (scoreboard objective) will not recognize that player is sprinting.
To replicate:
1) Set up a predicate with the "is_sprinting" flag or a scoreboard with the objective "custom:minecraft.sprint_one_cm"and display its status.
(I have set it up so that the predicate spams "yes" if the "is_sprinting" flag is true and "no" otherwise. A scoreboard with the objective "custom:minecraft.sprint_one_cm"
2) Double-tap sprint and punch an entity while moving. Notice that the player stops sprinting and both the scoreboard and predicate reflect that change.
3) Hold the sprint key and punch an entity while moving. Notice that the player stops sprinting, but neither the scoreboard nor predicate reflect that change. {+}This also affects double-tap sprinting with the toggle sprint setting enabled.
- duplicates
-
MC-69459 Client-server desync when player attacks while holding sprint key
- Reopened