How to create plugin that loads minecraft world into the editor?

Hi everyone.
How can I create a plugin, that opens up minecraft world save, reads it and then use blocks and other mesh things from current project to populate level in the right way?

Not an answer but a curious question. Are you actually trying to use Minecraft as a level editor…?! Oh how mighty have fallen…