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, and so the vault is uninteractable, and doesn't update.
How to replicate the issue
I've attached the following datapack, which includes a custom structure I'd been working on. To demonstrate the issue, when adding this datapack to a new world (with experimental features) and searching for the structure "players-versus:trial_tower", you will notice that all vaults are seemingly disabled; they're waiting for gametick 100000+ to happen before updating, which was the gametime value when I originally saved the structure nbt files in a test world (
[media].
[media]Unable to embed resource: Datapack for Mojira - Vault Bug.zip of type application/zip
Possible fixes:
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.
Linked issues
duplicates 1
Attachments
Comments 2
Thank you for your report!
We're tracking this issue in MC-268618, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
This is a duplicate of MC-268618, but that issue was closed due to no response from the owner, so here I am.