mojira.dev
MC-108230

Structures don't get saved properly when using buttons.

Original Post:

In snapshot 16w39c, structures don't get saved as file, when you power the structure block with redstone. On client, it's impossible to save structures with redstone. On server the structure seem to be saved in RAM (sometimes), but after restarting the server, the structure stop to exist.

Edit: On client, the structures can be saved in RAM, if you wait long enough to save (not possible with buttons). After re-entering the world, changes to the structure disappear.

Edit2: Removed.

Edit3: Saving structures using redstone will only save it to memory instead of creating a file. (Seems to be a feature, I don't like it anyway.)
But, I still can't save via stone Button / wood button.
Example:
1. Build a pattern.
2. Save the pattern as structure using the save button (UI).
3. Destroy the pattern.
4. Load the pattern.
Should work fine.

5. Change the pattern.
6. Save the pattern using a button.
7. Load the pattern using a button.
Well, you should see the old pattern.
It didn't save it anywhere.

8. Change the pattern again.
9. Save the pattern using a redstoneblock.
10. Wait a second. (Important!)
11. Destroy the redstoneblock and the pattern.
12. Load the pattern using a button.
Seem to work. (As long as you don't re-enter the world.)

Linked issues

Comments 6

Redstone saved structures are saved to memory, but not to file.
Only player saved structures are saved to file.
This is the intended behaviour.

Ok, well, this is a really annoying and useless feature, but this, still does NOT work as intended:

5. Change the pattern.
6. Save the pattern using a button.
7. Load the pattern using a button.
Well, you should see the old pattern.
It didn't even save to memory. It didn't save at all!

Reopened only for those points, please reduce the ticket to those only. (Haven't gotten the time to test that yet.)

I kept the original post and removed the 2nd edit, because it seem to work as intended. 3rd Edit is explaining the actual problem.

Are you sure, that it works as intended?
I did some research and in 16w20a it works like I intend. If I save using redstone in 16w20a, a new file generates AND buttons are working fine.
In 1.10.2, buttons still seem to work, however, no file generates.

Can't reproduce the issue: I get the latest saved structure in all cases, both in 1.11.2 and 17w06a

Jan L.

(Unassigned)

Unconfirmed

redstone

Minecraft 1.10.2, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a

Retrieved