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:
commit
91835402b3
94 changed files with 12372 additions and 0 deletions
20
core/src/lib.rs
Executable file
20
core/src/lib.rs
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
//! Terrafier Core — world model, I/O, operations.
|
||||
//!
|
||||
//! The core library provides the data model (World, Dimension, Tile, Terrain),
|
||||
//! Minecraft save import/export, editing operations, and height map generation.
|
||||
|
||||
pub mod coords;
|
||||
pub mod io;
|
||||
pub mod model;
|
||||
pub mod ops;
|
||||
pub mod plugins;
|
||||
|
||||
// Re-export key types for convenience
|
||||
pub use coords::{BlockCoords, ChunkCoords, RegionCoords, TileCoords};
|
||||
pub use io::export;
|
||||
pub use io::import;
|
||||
pub use model::dimension::Dimension;
|
||||
pub use model::platform::Platform;
|
||||
pub use model::terrain::Terrain;
|
||||
pub use model::tile::Tile;
|
||||
pub use model::world::World;
|
||||
Loading…
Add table
Add a link
Reference in a new issue