-
Bug
-
Resolution: Duplicate
-
None
-
23w06a
-
Unconfirmed
-
(Unassigned)
Bug
If a display entity is animating all transformation values, and the player leaves and rejoins, the transformation will continue mid-interpolation, but assume its animation from an incorrect previous transformation state, possibly the default transformation state.
Expected behavior
The transformation should continue animating properly from the previous state before the player exited the world.
Steps to Reproduce
1. Ensure you are in spawn chunks
2. Summon with all transformation values set
/summon block_display ~ ~ ~ {block_state:{Name:"stone"},transformation:{translation:[-5.3f,9.0f,3.3f],scale:[1.0f,10.0f,1.0f],left_rotation:[0.3f,0.0f,0.7f,1.0f],right_rotation:[0.2f,0.4f,0.0f,1.0f]},interpolation_start:-1,interpolation_duration:0}
4. Modify all transformation values and interpolate over 100 ticks
/data merge entity @e[type=block_display,sort=nearest,limit=1] {transformation:{translation:[0.4f,0.6f,1.0f],scale:[3.2f,1.2f,0.5f],left_rotation:[0.1f,0.2f,-0.3f,1.0f],right_rotation:[0.4f,-0.3f,0.1f,1f]},interpolation_start:-1,interpolation_duration:100}
5. Leave the game in mid-interpolation and rejoin
6. The block display will be transformed incorrectly, but continue interpolating towards the target transformation, as if animating from the default transformation.
- duplicates
-
MC-259926 Interpolation animation of Display entities is non-deterministic
- Open