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

Save structure block GUI shows old state if opened while detecting corner structure block

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • Minecraft 1.14 Pre-Release 1, Minecraft 1.14, Minecraft 1.14.3 Pre-Release 3, 19w39a, 21w08b
    • None
    • None
    • Confirmed

    Description

      To reproduce:

      1. Place two corner structure blocks with a structure name set.
      2. Place a save structure block, enter the same structure name, possibly change some other values and click "detect".
      3. Quickly open the save structure block GUI again after it automatically closes.

      Result: The old values appear again, as if all changes from the last time the structure block was edited were reset. So the structure name is also not correct anymore, if "done" wasn't pressed since then. Closing and reopening the structure block GUI after the detection is done shows the correct values again (manual changes and detection included).

      Possible fixes:

      • Delay opening the structure block GUI until detection is done. (should be the next server tick)
      • Update the values once the detection is done. If possible, showing a placeholder before, instead of the old values.

      From my understanding it should be possible to fix the issue that the manual changes are not shown without any downside, they could just be updated client-side when pressing "detect" just like they are when pressing "done".

      Attachments

        Activity

          People

            Unassigned Unassigned
            FaRo1 Fabian Röling
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              CHK: