mojira.dev
MC-267006

The Distance Flown statistics rapidly increases when you are standing in Ender Dragon's hitbox

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.

Attachments

Comments 2

Confirmed in 1.20.3-pre4.

This issue can be traced back to 1.9.

Run this command when you are in Ender Dragon's hitbox:

/data get entity @s Motion

You will find a large number of Motion on X or Z axis (20-150)

See this screenshot

[media]

This motion is only on server side but not on client side.

So this should be a client-server desync.

COMETC2021A1

gegy

Confirmed

Platform

Normal

Collision, Statistics

EnderDragon, Player, Server, statistics

Minecraft 13w36a, 1.20.2, 1.20.3 Pre-Release 2, 1.20.3 Pre-Release 4, 1.20.3, , 24w18a, 24w20a, 24w21b, 1.21 Pre-Release 1, 1.21 Pre-Release 2

24w33a

Retrieved