Mojira Archive
MC-260285

Applying an identical transformation will result in the previous interpolation repeating instead of having no effect

If the same transformation with interpolation is applied that is currently applied on a display, it will animate the interpolation from the previous transformation rather than staying in place. Unsure if this is intended behavior based on how the previous state is saved on client.

To Reproduce

  1. Summon a display
    /summon block_display ~ ~ ~ {block_state:{Name:"stone"}}
    
  2. Interpolate over 20 ticks
    /data merge entity @e[type=block_display,sort=nearest,limit=1] {transformation:{translation:[0.0f,10.0f,0.0f]},start_interpolation:0,interpolation_duration:20}
    
  3. Wait until interpolation completes
  4. Apply the same transformation and interpolate again
    /data merge entity @e[type=block_display,sort=nearest,limit=1] {transformation:{translation:[0.0f,10.0f,0.0f]},start_interpolation:0,interpolation_duration:20}
    
  5. Notice the previous animation repeats by starting from the original default transformation instead of staying in place
  6. Apply a slightly different transformation and interpolate again
    /data merge entity @e[type=block_display,sort=nearest,limit=1] {transformation:{translation:[0.0f,0.0f,0.0f]},start_interpolation:0,interpolation_duration:20}
    
  7. Notice the animation properly animates from the current transformation

Unresolved

Onnowhere

2023-02-17, 10:51 AM

2023-05-21, 11:33 AM

12

6

Confirmed

Low

Platform

Commands, Entities

23w07a - 1.20 Pre-release 423w07a, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 2, 1.19.4, 23w13a, 1.20 Pre-release 4

1.19.4 Pre-release 4