mojira.dev
MC-278349

Having sneaking_speed attribute as 0.8 or higher doesn't allow the player to sprint while sneaking

Having sneaking_speed attribute as 0.8 or higher allowed players to sprint while sneaking in previous versions, like in 1.21.3 (Independent of MC-152728, you can start sprinting while sneaking in this case)
Probably due to the fix ofย MC-152728.
Not sure if this change is intentional, as this change wasn't documented.

How to reproduce:

  1. In 1.21.3, set your sneaking_speed attribute to 0.8 or higher:

    /attribute @s sneaking_speed base set 0.8
  2. Try to sprint while sneaking (Do not sprint before sneaking, this will causeย MC-152728).

  3. Repeat step 1~2 but in version 24w46a.

You can also use a predicate to check if the player is sprinting, using this command below (in a repeating command block):

/execute as @p if predicate {"condition":"minecraft:entity_properties","entity":"this","predicate":{"type":"minecraft:player","flags":{"is_sprinting":true}}} run say SPRINTING

Attachments

Comments 2

Thank you for your report!
After consideration, the issue is being closed as Invalid.

You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The official Minecraft feedback site or visit the Minecraft Feedback Discord server.

Quick Links:
๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support (Technical Issues) โ€“ ๐Ÿ“ง Microsoft Support (Account Issues)
๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki

@unknown How is this a feature request when this feature was available In 1.21.3? Was it a bug in the first place? Just asking.

flow_santohyj123

(Unassigned)

Confirmed

(Unassigned)

24w46a

Retrieved