Client side chunk sections
This commit is contained in:
@@ -19,7 +19,7 @@ import { AssetManager } from "@/client/assets.ts";
|
||||
import { load_client_mods } from "@/client/mods.ts";
|
||||
import { load_and_check } from "@/tools/check_mods.ts";
|
||||
import { pack_mod } from "@/tools/pack_mod.ts";
|
||||
import { copy_dir, test_game } from "./helpers.ts";
|
||||
import { copy_dir, section_data, test_game } from "./helpers.ts";
|
||||
|
||||
const HALF = {
|
||||
textures: { "0": "testmod:shaft" },
|
||||
@@ -108,7 +108,7 @@ Deno.test("the chunk mesher lists the blocks with visuals, and leaves out models
|
||||
chunk_x: 0,
|
||||
chunk_z: 0,
|
||||
version: 1,
|
||||
chunks,
|
||||
chunks: chunks.map(section_data),
|
||||
biome_colors: chunks.map(() => null),
|
||||
camera: [0, 0, 0],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user