let mcmetaPath = '~/mcmeta'; // ~/Downloads/Minecraft/mcmeta // TODO // go to directory, switch to "summary" branch // get "registries/data.json" // => get "worldgen/template_pool" // switch to "data" branch // foreach entry get "data/minecraft/worldgen/template_pool/$entry.json" // => foreach "elements[].element.location" // create empty nbt file in "data/minecraft/structures" const result = fetch('template_pool');