Hand crank and shafts
This commit is contained in:
+5
-2
@@ -46,7 +46,9 @@ options:
|
||||
{ "textures": { "minecraft:block/": "bworld:" }, "models": {}, "ids": {}, "tags": {},
|
||||
"skip": ["crimson"] }
|
||||
minecraft's block and item textures, blocks, items and tags become bworld's of the same name,
|
||||
and forge's shared tags c's, unless it says otherwise`;
|
||||
and forge's shared tags c's, unless it says otherwise
|
||||
--blocks FILE json of fields blocks get by id, over the placeholders, for blockstate. what java sets in
|
||||
code, like components and mining: { "gears:shaft": { "components": {...} } }`;
|
||||
|
||||
function parse_args(args: string[]) {
|
||||
const positional: string[] = [];
|
||||
@@ -70,7 +72,8 @@ function parse_args(args: string[]) {
|
||||
tags: { ...DEFAULT_REMAPS.tags, ...remap.tags },
|
||||
...(remap.skip ? { skip: remap.skip } : {}),
|
||||
};
|
||||
} else if (arg.startsWith("--")) throw new Error(`unknown option ${arg}`);
|
||||
} else if (arg === "--blocks") options.blocks = JSON.parse(Deno.readTextFileSync(value()));
|
||||
else if (arg.startsWith("--")) throw new Error(`unknown option ${arg}`);
|
||||
else positional.push(arg);
|
||||
}
|
||||
return { positional, options };
|
||||
|
||||
Reference in New Issue
Block a user