Add the oak_ on the oak blocks
This commit is contained in:
@@ -73,11 +73,9 @@ export function generate_raw_chunk(
|
||||
const nid = block_ids[name];
|
||||
return nid === undefined ? AIR : default_values?.[nid] ?? nid;
|
||||
};
|
||||
// oak's are the plain bworld:log and bworld:leaves, the others are named after their wood
|
||||
// each wood's are named after it, like bworld:oak_log
|
||||
const wood_ids = (part: "log" | "leaves") =>
|
||||
Object.fromEntries(
|
||||
WOODS.map((wood) => [wood, id(wood === "oak" ? `bworld:${part}` : `bworld:${wood}_${part}`)]),
|
||||
) as Record<Wood, number>;
|
||||
Object.fromEntries(WOODS.map((wood) => [wood, id(`bworld:${wood}_${part}`)])) as Record<Wood, number>;
|
||||
generate_overworld(blocks, heights, biomes, chunk_x, chunk_z, seed, {
|
||||
stone: id("bworld:stone"),
|
||||
dirt: id("bworld:dirt"),
|
||||
|
||||
Reference in New Issue
Block a user