summaryrefslogtreecommitdiff
path: root/data/minecraft/structure/generate_empty_structures.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/minecraft/structure/generate_empty_structures.js')
-rw-r--r--data/minecraft/structure/generate_empty_structures.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/minecraft/structure/generate_empty_structures.js b/data/minecraft/structure/generate_empty_structures.js
new file mode 100644
index 0000000..ff5d505
--- /dev/null
+++ b/data/minecraft/structure/generate_empty_structures.js
@@ -0,0 +1,12 @@
+let mcmetaPath = '~/mcmeta'; // ~/Downloads/Minecraft/mcmeta # if not exists => git clone https://github.com/misode/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');