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

Vault blocks spawned by custom structures are not interactable in new worlds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w07a, 1.20.5
    • None
    • Confirmed
    • Structures
    • Normal
    • 1226523
    • Expansion B

      The Issue

      If a player saves a structure that contains a vault block using structure blocks in a world with a high playtime, then loads that structure into a different world, the vault blocks will be uninteractive. This is caused by the server_data.state_updating_resumes_at property of the new vault block being the same as the original. This property prevents the vault block from being interacted with until the world timer exceeds the given value. Because the structure has been loaded into a new world, the value of this property is far higher than the new world's world timer, rendering the vault uninteractable.

      Fixing the Issue

      To fix this issue, one of two things should happen;

      • Make structure blocks not save the server_data.state_updating_resumes_at property of vault blocks when saving to a file.
      • Set the value of server_data.state_updating_resumes_at to zero (or delete the property) when loading the structure into the world.

       

            Unassigned Unassigned
            JABrules JABrules
            Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: