Add various generic models
This commit is contained in:
+2
-3
@@ -25,7 +25,7 @@ options:
|
||||
--output PATH the file (for one input file) or the folder to write. one model without it is printed
|
||||
--namespace NS the namespace, when the input isn't inside assets/<namespace>/, or the only one to take from a
|
||||
folder with several
|
||||
--parents FOLDER another folder to find parent models in, like another mod's resources. can be repeated
|
||||
--parents FOLDER another folder to follow parent models through, like another mod's resources. can be repeated
|
||||
--remap FILE json that renames locations before they become ids, longest match first:
|
||||
{ "textures": { "minecraft:block/": "bworld:" }, "models": {} }
|
||||
minecraft's block and item textures become bworld's of the same name unless it says otherwise`;
|
||||
@@ -71,9 +71,8 @@ function print_report(report: ImportReport) {
|
||||
console.error(`warning: ${warning} (${locations.length === 1 ? locations[0] : `${locations.length} files`})`);
|
||||
}
|
||||
const converted = new Set(report.written.map(({ location }) => location)).size;
|
||||
const parents = report.parents.length > 0 ? `${report.parents.length} only parents, ` : "";
|
||||
console.error(
|
||||
`${converted} converted, ${parents}${report.skipped.length} skipped, ${report.errors.length} with errors`,
|
||||
`${converted} converted, ${report.skipped.length} skipped, ${report.errors.length} with errors`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user