mojira.dev
MC-202027

Cumulative error in Position of Entity being pushed by a Piston

When pushing an entity with a piston, sometimes (at "power of 2" coords?  2^n) it doesn't get moved the amount it should, and a lot of extra decimal numbers start appearing. If the bug gets triggered multiple times, the entity acumulates those errors.
video: 

[media]



and if you trigger a reload of the entity's NBT (like with "/data merge {some nbt}") and then push the entity again, the error disappears (the value in Pos gets fixed, but the collision problems shown in 

[media]

 seems to remain).
video: 

[media]

 

video showing an issue due to this bug: 

[media]

 

test world: 

[media]

Attachments

Comments 5

Does this have any observable effect in the entity's resulting collision, etc?

@tryashtar I added an extra video now

Can't reproduce on 1.17.1 Pre-release 1

FACS01

(Unassigned)

Community Consensus

(Unassigned)

Pos, entity, piston, position

1.16.3, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, ..., 21w03a, 21w05b, 21w07a, 21w10a, 21w11a

Retrieved