mojira.dev
MC-175897

Scoreboard objective minecraft.custom:minecraft.crouch_one_cm does not work!

What I expected to happen was...:
When you move while crouching/sneaking, the value of the objective minecraft.custom:minecraft.crouch_one_cm should go up (It activates some commands on my server when the value is higher than 1)

What actually happened was...:
Sneaking does not increase the value, but I can still set the score higher than 1, activating the commands. I created a new objective with minecraft.custom:minecraft.crouch_one_cm, crouched for a bit and then did /scoreboard players list (player name) and it didn't show the new objective, meaning the number never went up when crouching.

Steps to Reproduce:
1. /scoreboard objectives add Crouch minecraft.custom:minecraft.crouch_one_cm "Crouch"

2. Make a command that only works when Crouch is higher than 1

3. For example, put this in an activated repeating command block: /effect give @a[scores={Crouch=1..}] minecraft:speed 3 14 true

4. Try moving while crouching for a bit, the value of the objective should increase, but it does not.

5. Normally, if it worked, you should have a speed effect.

Comments 2

Xylonn72

(Unassigned)

Unconfirmed

20w12a

Retrieved