feat(cli): add --cell-size flag, route png through build_png
This commit is contained in:
@@ -13,6 +13,7 @@ type ExporterFactory = fn(&BlockPalette) -> Box<dyn StructureExporter>;
|
||||
const REGISTRY: &[(&str, ExporterFactory)] = &[
|
||||
("mcfunction", |p| Box::new(McFunctionExporter::new(p))),
|
||||
("litematica", |p| Box::new(LitematicaExporter::new(p))),
|
||||
// cell_size=16 default; CLI uses build_png() to honour --cell-size
|
||||
("png", |p| Box::new(PngExporter::new(p, 16))),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user