Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-259964

Display Entity does not resume interpolation outside of spawn chunks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 23w06a, 23w13a, 1.20 Pre-release 4
    • Confirmed
    • Commands, Data Packs, Entities
    • Normal
    • Platform

      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

            Unassigned Unassigned
            onnowhere Onnowhere
            Votes:
            10 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              CHK: