World gen stuff
This commit is contained in:
@@ -11,7 +11,7 @@ import { load_worldgen } from "@/common/worldgen_loader.ts";
|
||||
import { create_mod } from "@/tools/new_mod.ts";
|
||||
import { PLAYER_MENU_CRAFTING, PROTOCOL_VERSION } from "@/common/protocol.ts";
|
||||
import { recipe_lookup } from "@/common/mod_loader.ts";
|
||||
import { container_items, copy_dir, test_game } from "./helpers.ts";
|
||||
import { container_items, copy_dir, GROUND_BLOCKS, test_game } from "./helpers.ts";
|
||||
|
||||
// mods/bworld plus a mod made from the template, in a temp folder
|
||||
function mods_with_template() {
|
||||
@@ -175,7 +175,7 @@ Deno.test("mod ores generate into the block they replace", async () => {
|
||||
format_version: 1,
|
||||
ores: [{
|
||||
id: "copper_tools:example_block",
|
||||
replaces: "bworld:stone",
|
||||
replaces: GROUND_BLOCKS,
|
||||
min_y: 0,
|
||||
max_y: 60,
|
||||
scale: 0.1,
|
||||
|
||||
Reference in New Issue
Block a user