Affects Version/s: Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2
Fix Version/s: Minecraft 1.13.2
When you try to load a structure, it updates all the Blocks and Palette(s) values if the DataVersion version is below the value of the version you're using. This upgrading is super slow. For a structure with a dimension of 32*32*32, it can take 20 seconds to 2 whole minutes.
After the structure is loaded once, it loads fast again (presumably since the structure gets saved to memory, with remembers the updated version), but after you do /reload or after you leave and rejoin the world, it is slow again.
You can use the datapack provided to load a structure from 15a, and a structure from 1.13-pre5 (they both have the same blocks/palette; they only include andesite blocks)
- Reload the world
- Run these two functions:
as you can see, this is instant
This takes ~20 seconds.
- If you run the second function again, it is instant until you do /reload