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

BlockEntity animations reset current animation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.20.1
    • None
    • Unconfirmed
    • (Unassigned)

      If you run an animation with let's sat for example interpolation_duration:700 and then you run an animation with start_interpolation:700, it resets the current animation. I think that the code should sum animations instead of just running one

       

      Steps to reproduce:

      1- Create a block_display
      2- Give it an animation (example, translation[whatever],start_interpolation:0,interpolation_duration:700)
      3- whithin 700 ticks, change any data of the block_display

      Let's say that the block_display traveled 20 blocks and has still to travel another 10 blocks. if you change any kind of data (translation, block_state) etc it will just stop at 20 blocks of translation and restart his animation from tick 0 but this time from this tranformations values

            Unassigned Unassigned
            LIUKRAST Luca Rastrelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: