Initial commit: Terrafier v0.1.0

- Core world model (World, Dimension, Tile, Terrain, Platform)
- NBT reader/writer with full tag support
- Anvil region (.mca) format reader with chunk parsing
- Block palette compression and export
- Biome database with Minecraft 1.21 biomes
- CLI commands: new, import, export, info, render
- GUI application with egui (viewport, tools, undo/redo)
- Noise-based heightmap generation and editing operations

License: GPL-3.0-or-later
This commit is contained in:
loki5512344 2026-06-15 19:14:11 +02:00
commit 91835402b3
94 changed files with 12372 additions and 0 deletions

25
core/Cargo.toml Executable file
View file

@ -0,0 +1,25 @@
[package]
name = "terrafier-core"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Core library for Terrafier — world model, Minecraft I/O, export pipeline"
[dependencies]
serde.workspace = true
thiserror.workspace = true
rayon.workspace = true
log.workspace = true
terrafier-nbt = { path = "../crates/nbt" }
terrafier-fastanvil = { path = "../crates/fastanvil" }
terrafier-noise = { path = "../crates/noise" }
serde-big-array.workspace = true
bincode.workspace = true
image.workspace = true
[dev-dependencies]
tempfile = "3"