"minecraft.custom:minecraft.fly_one_cm" increases when moving through the air despite not actually flying
The Bug:
"minecraft.custom:minecraft.fly_one_cm" increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar by using the commands provided below.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm
/scoreboard objectives setdisplay sidebar Flying
- Run and jump at the same time.
- Take note as to whether or not "minecraft.custom:minecraft.fly_one_cm" increases when moving through the air despite not actually flying.
Observed Behavior:
"minecraft.custom:minecraft.fly_one_cm" increases when moving through the air despite not actually flying.
Expected Behavior:
"minecraft.custom:minecraft.fly_one_cm" would not increase when moving through the air when not actually flying.
- Unresolved
[Mod] AvomaJesper Høxbro Bager
- 22
- 9
- Confirmed
Low
- Platform
- Statistics
13w36b - 1.21.4
13w36b 1.7.5 14w11b 14w20b 14w21a 14w21b 1.8 1.8.1-pre3 15w42a 15w46a 15w47a 15w47b 15w47c 16w04a 1.9.2 1.9.3-pre1 1.9.3-pre2 1.10.2 16w43a 16w44a 1.11 16w50a 1.11.1 1.11.2 17w06a 17w13b 17w15a 17w16b 17w17b 17w18b 1.12-pre2 1.12.2 17w50a 1.13-pre6 1.13.1 1.14.4 19w44a 1.15 1.15.1-pre1 1.16.1 1.16.2-pre1 1.16.2-pre2 1.16.2-rc1 1.16.2 20w51a 21w03a 1.16.5 21w05b 21w06a 21w07a 21w08b 21w14a 21w16a 21w17a 1.17 1.17.1-pre2 1.17.1-pre3 1.17.1-rc1 1.17.1 21w38a 21w39a 21w42a 1.18 1.18.1 22w03a 22w05a 1.18.2-rc1 1.18.2 22w17a 1.19 1.19.1 1.19.2 22w43a 1.19.3 1.19.4 1.20 1.20.1 23w33a 24w11a 1.21 1.21.1 24w36a 1.21.2-pre3 1.21.3 1.21.4
Created Issue:
stat.flyOneCm command counts while sprint-running.
When using the 'stat.flyOneCm' command, it will not only count the distance flying, but also the distance while in the air (like when you are spring-running in survival).
What should happen is that the game should know the differents between flying and moving in the air.
Follow this step by step to recreate this:
1. Do '/scoreboard objectives add Flying stat.flyOneCm' to start the counter.
2. Then do '/scoreboard objectives setdisplay sidebar Flying' to make it possible for you to see it count.
3. Now try to sprint and jump at the same time.
4. The counter will then count how far you move in the air, even though you aren't flying.This is my first post, feel free to leave some feedback to what I'm doing wrong/right.
Environment
Put your operating system (Windows 7, Windows XP, OSX) and Java version if you know it here
'stat.flyOneCm' command counts while sprint-running.
is duplicated by
'stat.flyOneCm' command counts whilesprint-running.'stat.flyOneCm' command counts while moving and jumping
is duplicated by
'stat.flyOneCm'commandcounts while moving and jumping'stat.flyOneCm' statistic counts while moving and jumping
Put your operating system (Windows 7, Windows XP, OSX) and Java version if you know it here
'stat.flyOneCm' statistic counts while moving and being in the air (falling, jumping)
relates to
When using the 'stat.flyOneCm' command, it will not only count the distance flying, but also the distance while in the air (like when you are spring-running in survival).
What should happen is that the game should know the differents between flying and moving in the air.
Follow this step by step to recreate this:
1. Do '/scoreboard objectives add Flying stat.flyOneCm' to start the counter.
2. Then do '/scoreboard objectives setdisplay sidebar Flying' to make it possible for you to see it count.
3. Now try to sprint and jump at the same time.
4. The counter will then count how far you move in the air, even though you aren't flying.This is my first post, feel free to leave some feedback to what I'm doing wrong/right.
The bug
When using the minecraft.custom:minecraft.fly_one_cm criteria, it will not only count the distance flying, but also the distance while in the air (like when you are spring-running in survival).
How to reproduce
- /scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm to start the counter.
- /scoreboard objectives setdisplay sidebar Flying to make it possible for you to see it count.
- Sprint and jump at the same time.
→ The counter will then count how far you move in the air, even though you aren't flying.
'stat.flyOneCm' statistic counts while moving and being in the air (falling, jumping)'minecraft.custom:minecraft.fly_one_cm' statistic counts while moving and being in the air (falling, jumping)
relates to
The bug
When using the minecraft.custom:minecraft.fly_one_cm criteria, it will not only count the distance flying, but also the distance while in the air (like when you are spring-running in survival).
How to reproduce
- /scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm to start the counter.
- /scoreboard objectives setdisplay sidebar Flying to make it possible for you to see it count.
- Sprint and jump at the same time.
→ The counter will then count how far you move in the air, even though you aren't flying.The Bug:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm /scoreboard objectives setdisplay sidebar Flying
- Run and jump at the same time.
- →
Notice how the scoreboard increases.
'minecraft.custom:minecraft.fly_one_cm' statistic counts while movingand being in the air (falling, jumping)minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying
The Bug:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm /scoreboard objectives setdisplay sidebar Flying
- Run and jump at the same time.
- →
Notice how the scoreboard increases.
The Bug:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm /scoreboard objectives setdisplay sidebar Flying
- Run and jump at the same time.
- →
Notice how the scoreboard increases.
The Bug:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm /scoreboard objectives setdisplay sidebar Flying
- Run and jump at the same time.
- →
Notice how the scoreboard increases.
Expected Behavior:
The expected behavior would be that minecraft.custom:minecraft.fly_one_cm would not increase when moving through the air when not actually flying.
The Bug:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm /scoreboard objectives setdisplay sidebar Flying
- Run and jump at the same time.
- →
Notice how the scoreboard increases.
Expected Behavior:
The expected behavior would be thatminecraft.custom:minecraft.fly_one_cm would not increase when moving through the air when not actually flying.The Bug:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm /scoreboard objectives setdisplay sidebar Flying
- Run and jump at the same time.
Observed Behavior:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Expected Behavior:
minecraft.custom:minecraft.fly_one_cm would not increase when moving through the air when not actually flying.
The Bug:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm /scoreboard objectives setdisplay sidebar Flying
- Run and jump at the same time.
Observed Behavior:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Expected Behavior:
minecraft.custom:minecraft.fly_one_cm would not increase when moving through the air when not actually flying.
The Bug:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm /scoreboard objectives setdisplay sidebar Flying
- Run and jump at the same time.
- Take note as to whether or not minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Observed Behavior:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Expected Behavior:
minecraft.custom:minecraft.fly_one_cm would not increase when moving through the air when not actually flying.
The Bug:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm /scoreboard objectives setdisplay sidebar Flying
- Run and jump at the same time.
- Take note as to whether or not minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Observed Behavior:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Expected Behavior:
minecraft.custom:minecraft.fly_one_cm would not increase when moving through the air when not actually flying.
The Bug:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar by using the commands provided below.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm/scoreboard objectives setdisplay sidebar Flying- Run and jump at the same time.
- Take note as to whether or not minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Observed Behavior:
minecraft.custom:minecraft.fly_one_cm increases when moving through the air despite not actually flying.
Expected Behavior:
minecraft.custom:minecraft.fly_one_cm would not increase when moving through the air when not actually flying.
The Bug:
"minecraft.custom:minecraft.fly_one_cm" increases when moving through the air despite not actually flying.
Steps to Reproduce:
- Create a scoreboard objective for tracking when you fly and set it to display on the sidebar by using the commands provided below.
/scoreboard objectives add Flying minecraft.custom:minecraft.fly_one_cm/scoreboard objectives setdisplay sidebar Flying- Run and jump at the same time.
- Take note as to whether or not "minecraft.custom:minecraft.fly_one_cm" increases when moving through the air despite not actually flying.
Observed Behavior:
"minecraft.custom:minecraft.fly_one_cm" increases when moving through the air despite not actually flying.
Expected Behavior:
"minecraft.custom:minecraft.fly_one_cm" would not increase when moving through the air when not actually flying.
"minecraft.custom:minecraft.fly_one_cm" increases when moving through the air despite not actually flying
When a player(survival mode) is standing in an Ender Dragon's hitbox, the Distance Flown statistic will rapidly increase.
In the attached video, The Distance Flown increased about 80km within less than a minute.
This is not a duplicate of MC-30542 because in this case players actually don't move.
Steps to reproduce
1.run /data merge entity @e[type=ender_dragon,limit=1] {DragonPhase:3} to make the dragon land.
2.When the dragon land, stand at the center of the dragon and switch to survival mode.
3.Open the statistics and note down the distance flown.
4.Waiting until the dragon knockback you, open the statistics and note down the distance flown again.
Observed behaviour:
The distance flown increased over 50 km.
Expected behaviour:
The distance flown don't increase.
Notes:
This bug happened since 1.9.
I think it's because the dragon always gives player a large amount of server velocity when they are in the Dragon's knockback hitbox even if the player don't actually move.

Confirmed.
Applies while walking and holding JUMP, as well. Difference being that it increases stat by 1, instead of 11, and only begins during air-time of 2nd jump.
Can confirm, jumping while walking results in an increment of one of the stat, but not while you are in the air. The increment happens when you are on the ground, hence why it seems like it starts incrementing at the 2nd jump. Also, if you RUN while jumping, you get many more statistical increments. I've attached a file. Another thing, if you jump off a cliff while running, you get a lot of "points".
Confirmed in 14w11b. Update: The numbers of increase are way higher, and not static like mentioned in my previous comment.
Confirmed for 14w21b
Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
15w46a! MODS! Plz update!
Possible fix to this is to have a scoreboard test how long you FLY with Elytra (not that 4 blocks before they activate)
Here's my workaround method to this bug
until it gets fixed:
1./scoreboard objectives add Jumping stat..jump (Yes it has two dots).
2. /scoreboard objectives add Sprinting stat.sprintOneCm
now R will be an abbreviation for
repeating command block command
and CCC would be
chain conditional command block command.
3. R: /execute @a[score_Jumping_min=1] ~ ~ ~ scoreboard players reset @a[score_flight_min=1]
CCC: /scoreboard players reset @a[score_Jumping_min=1] Jumping
4. R: /execute @a[score_Sprinting_min=1] ~ ~ ~ scoreboard players reset @a[score_flight_min=1]
CCC: /scoreboard players reset @a[score_Sprinting_min=1] Sprinting
flight would the objective that has the criteria type "stat.flyonecm".
With those written commands running from command blocks, that should be a good workaround to the bug
because since a player is making movements that for some reason on the
stat.flyOneCm addes up. The commands will be tracking for those specific player moments and
if a moment is made, it'll reset their flight score constantly until they are actually flying. So
you welcome people
This bug is still existent in 15w47a.
Bug is still present in 15w47b.
The Bug is still living in 15w47c.
Confirmed for 16w04a.
(This should get more attention)
Changed reporter to Logical_Cyclops as Jesper Høxbro Bager is no longer active.
Confirmed in 1.16.1.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a.
I've attached an updated video.
Can confirm in 1.16.5 and 21w08b.
Can confirm in 21w14a.
Can confirm in 21w16a.
Can confirm in 21w17a.
I'd like to request ownership of this ticket since the current reporter has been inactive since February 2020. I'm willing to provide all of the necessary information and will keep this report updated.
Can confirm in 1.17.
I'm curious when you would expect that stat to increase in survival aside from moving in the air?
@tryashtar I guess elytra?
That's aviate_one_cm.
Tryashtar, I'd say with levitation (optionally while on the ceiling), but that's kind of the same thing.