Worm bin model
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user