I have a Schematic class that allows me to have easier generation of things, that gets serialised using Json.
I'm using
GameData.getBlockRegistry().getNameForObject(block);
to get the names ("minecraft:grass" for example), and
Block.getBlockFromName(name);
to get the block back. Is this the suggested way to save blocks (to allow for transfer between worlds)?
Also, as a side note, is there any way to set multiple blocks at once? Because otherwise, setting blocks in a 3d plane takes O(n^3) time at best, and Minecraft doesn't support multithreaded world 'block setting' (or multithreaded anything, to be honest).