-
Bug
-
Resolution: Fixed
-
Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 1.13, Minecraft 1.13.1, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, 1.16.1, 20w27a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Release Candidate 1, 1.16.2, 1.16.4, 20w46a, 20w48a, 21w03a, 21w05b, 21w06a, 21w07a, 21w11a, 1.17, 1.17.1, 1.18.2, 22w16b, 22w18a, 1.19, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.4, 23w51b, 1.20.6, 1.21, 1.21.1, 1.21.2 Pre-Release 3, 1.21.3
-
Confirmed
-
Player
-
Low
-
Gameplay
The Bug:
Sprinting isn't canceled upon receiving the blindness effect.
The player cannot begin sprinting while having the blindness effect, but their sprinting state isn't canceled when initially receiving the blindess effect.
Steps to Reproduce:
- Summon a command block that will give you the blindness effect along with a pressure plate to activate it by using the commands provided below.
/setblock ~2 ~-1 ~ minecraft:command_block{Command:"effect give @p minecraft:blindness"}
/setblock ~2 ~ ~ minecraft:oak_pressure_plate
- Begin sprinting and activate the command block by running on top of the pressure plate.
- Observe the speed at which you are moving once you are given the blindness effect.
Observed Behavior:
Sprinting isn't canceled.
Expected Behavior:
Sprinting would be canceled.
Code Analysis:
Code analysis by Oval can be found in this comment.
- is duplicated by
-
MC-138408 Being blinded when sprinting does not affect sprinting.
- Resolved
-
MC-234792 Getting blindness doesn't stop spriniting
- Resolved
- relates to
-
MCPE-187163 Sprinting isn't canceled upon receiving the blindness effect
- Reopened
-
MC-152728 The player continues sprinting when performing actions that slow them down
- Resolved
-
MC-267343 Sprinting isn't canceled upon riding entities
- Resolved
-
MC-277952 Sprinting isn't canceled upon flying with elytra
- Resolved