Mojira Archive
MC-259964

Display Entity does not resume interpolation outside of spawn chunks

Bug

If a display entity is animating in a non-spawn chunk, and the player leaves and rejoins, the transformation will jump to the end without continuing mid-interpolation.

Expected behavior

Like in spawn chunks, the animation should continue animating from the point at which the player exited the world.

Steps to Reproduce

Expected Behavior (No longer works as of March 10, 2023)

  1. Ensure you are in spawn chunks
  2. Summon a display with no transformation
    /summon block_display ~ ~ ~ {block_state:{Name:"stone"}}
    
  3. Translate the display over 100 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:100}
    
  4. Leave the game mid-interpolation and rejoin
  5. The display will continue animating mid-interpolation from where it was before exiting the world

Unexpected Behavior

  1. Teleport out of spawn chunks
    /tp ~100000 ~ ~
    
  2. Summon a display with no transformation
    /summon block_display ~ ~ ~ {block_state:{Name:"stone"}}
    
  3. Translate the display over 100 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:100}
    
  4. Leave the game mid-interpolation and rejoin
  5. The display will have jumped to the target transformation instead of continuing to animate mid-interpolation

Unresolved

Onnowhere

2023-02-12, 03:40 PM

2023-05-21, 11:33 AM

11

8

Confirmed

Normal

Platform

Commands, Data Packs, Entities

display-entities

23w06a, 23w13a, 1.20 Pre-release 4

-