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

Setting and changing data of signs creates unnecessary "extra" tags and causes slow downs

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.13-pre6
    • Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5
    • None
    • Confirmed

      The bug

      After playing around with some toggle-text signs I found the game would drop from 300+ fps down to around 10 after a few toggles, which seemed very odd. Looking away from the sign would return the fps back up high. Believe it has something to do with extra extra: [] tags appearing.

      Running data merge block <pos> on a sign will add an extra: [] to each Text part of a sign. This effect also seems to stack. See images below. First is the initial sign data. Then I add an empty text, then I have done it 3 more times.

        1. Inital.png
          Inital.png
          308 kB
        2. One Change.png
          One Change.png
          341 kB
        3. sign.png
          sign.png
          1.04 MB
        4. Three Changes.png
          Three Changes.png
          388 kB

          [MC-131019] Setting and changing data of signs creates unnecessary "extra" tags and causes slow downs

          MineGassy added a comment -

          Confirmed for 1.13-pre5 but for me the lag keep going even when I can't see the sign (by looking up for example)

          MineGassy added a comment - Confirmed for 1.13-pre5 but for me the lag keep going even when I can't see the sign (by looking up for example)

          Adam added a comment -

          Affects 1.13-pre4

           

          Adam added a comment - Affects 1.13-pre4  

          Adam added a comment -

          Affects 1.13-pre3

          Adam added a comment - Affects 1.13-pre3

          Adam added a comment -

          Affects 1.13-pre2

          Adam added a comment - Affects 1.13-pre2

          Unarybit added a comment -

          I can confirm that the "extra: [] tags" can cause extreme lag. They are created not only by data merge, but also by copying them with "pick block", or by the clone command, or structure save / load.
          This is especially bad for map makers, a map with only a few copied signs is unplayable.

          The picture shows a sign before and after it was copied with "pick block".

          Unarybit added a comment - I can confirm that the "extra: [] tags" can cause extreme lag. They are created not only by data merge, but also by copying them with "pick block", or by the clone command, or structure save / load. This is especially bad for map makers, a map with only a few copied signs is unplayable. The picture shows a sign before and after it was copied with "pick block".

            boq [Mojang] Bartosz Bok
            Bored_Banana Tristan
            Votes:
            16 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: