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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • 1.19.4 Pre-release 4
    • 23w07a, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 2, 1.19.4, 23w13a, 1.20 Pre-release 4
    • None
    • Confirmed
    • Commands, Entities
    • Low
    • Platform

      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

            Unassigned Unassigned
            onnowhere Onnowhere
            Votes:
            11 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: