Update worldgen exporter features

This commit is contained in:
chelsea
2026-05-02 13:54:15 -05:00
parent 5bb1e05acf
commit 2f11a5b5fa
9 changed files with 320 additions and 27 deletions

View File

@@ -27,7 +27,7 @@ TAG_COMPOUND = 10
TAG_INT_ARRAY = 11
TAG_LONG_ARRAY = 12
DATA_VERSION = 2586 # Minecraft 1.15.2
DATA_VERSION = 2730 # Minecraft Java Edition 1.17.1; matches copper-era block IDs.
DEFAULT_RADIUS = 256 # ~512 block diameter (~0.5 km)
CHUNK_HEIGHT = 256
SECTION_COUNT = CHUNK_HEIGHT // 16
@@ -54,6 +54,7 @@ def build_state_mapping():
set_state("oak_leaves", "minecraft:oak_leaves", {"distance": "1", "persistent": "false"})
set_state("birch_log", "minecraft:birch_log", {"axis": "y"})
set_state("birch_leaves", "minecraft:birch_leaves", {"distance": "1", "persistent": "false"})
set_state("coal", "minecraft:coal_ore")
return mapping