mojira.dev
MC-131019

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

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.

Linked issues

Attachments

Comments 5

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".

[media]

Affects 1.13-pre4

 

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)

Tristan

boq

Confirmed

Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5

Minecraft 1.13-pre6

Retrieved