Worm bin model

This commit is contained in:
2026-10-12 18:58:38 -03:00
parent 99bdcaeffc
commit 038b6d2caa
16 changed files with 447 additions and 39 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ const CUBES = [
export function import_blocks(input: string, options: ImportOptions = {}): ImportReport {
if (options.output === undefined) throw new Error("--output is needed for blocks");
const remaps = options.remaps ?? DEFAULT_REMAPS;
const files = input_files(input, "blockstates", ".json", options.namespace);
const files = input_files(input, "blockstates", ".json", options.namespace, options.output);
// models say how a block is drawn (a full cube or not, cutout or translucent) and whether it has an item
const read = model_source(models_near(input, files.map(({ root }) => root), options));
const report = empty_report();