Complete local voxel MVP with server, client, MCP, packages and world interchange

This commit is contained in:
Emil
2026-09-14 17:35:17 +03:00
parent cf8d1aae2e
commit b6ba064339
98 changed files with 58116 additions and 194 deletions
@@ -0,0 +1,16 @@
use shacraft_content::Catalog;
fn main() -> anyhow::Result<()> {
let c = Catalog::load_builtin()?;
println!("{}", serde_json::to_string_pretty(&c.summary())?);
let mut approximate = std::collections::BTreeMap::<String, usize>::new();
for state in &c.states {
if state.coverage.render == "authored-approximate" {
*approximate.entry(state.family.clone()).or_default() += 1;
}
}
eprintln!(
"Approximate render families: {}",
serde_json::to_string(&approximate)?
);
Ok(())
}