mojira.dev
MC-86074

Wrong path for loading and saving structures

What should happen:

Loading and saving structures from a structure block is supposed to use the path ".minecraft/structures".

What actually happens:

The structures are loaded from and saved to the "saves/worldname/structures/" folder which doesn't exist and doesn't get created upon saving.

How to fix ?

In the auj class (as of 15w33b, contains only methods for loading and saving structure files), the only String field (b as of 15w33b) should have the value "structures" as in the default constructor.

Comments 7

The structure block isn't supposed to work. It's just in the game to help them to implement new structures (such as the end city).

I know, I worked on it to make it work but that doesn't mean it isn't an issue ! Actually, it won't work for them either so I guess we would both be happy if they were to fix it

I would be happy if they add support for it, yes. But as far as I know it will work for them, because they just disabled it in the released version...

They didn't just disable it, they removed the whole code for the GUI. That means their codebase is the same as ours but with the GUI. This issue is not in the GUI (indeed!) so it also affects their codebase which is why I submitted it. They won't add any GUI for the structure blocks (Please, don't do it ! I like it this way) but they could fix this.

Well I wouldn't call this a bug, because they just disabled it completely (not just the gui!), but you are free to try. As I said before I would love to get access to it's functions too, but I don't think it will be in 1.9.

No they did not disable it completely, it is just the GUI. Trust me, I've worked on bringing it back. This issue doesn't concern at all neither the GUI nor wether or not the block should be in the game. It's just a simple path problem.

Unless we officially make the structure block available in the game, it can change behavior at any time and we will not "fix" any reported bugs for them.

Frazew

michael

Unconfirmed

Minecraft 15w33b

Retrieved