Complete local voxel MVP with server, client, MCP, packages and world interchange
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
Reference in New Issue
Block a user