Rename engine to cubi

This commit is contained in:
2026-11-03 17:17:37 -03:00
parent 68b78f053a
commit 98fa45ebd1
109 changed files with 643 additions and 788 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ Deno.test("check-mods catches fluids that can't work", () => {
assertEquals(problems({ textures: { top: "a:b" } }), [
"textures must be a texture id or { still, flowing } for a fluid",
]);
assertEquals(problems({ model: "engine:cross" }), ["model isn't for fluids, the engine draws them"]);
assertEquals(problems({ model: "cubi:cross" }), ["model isn't for fluids, the engine draws them"]);
assertEquals(problems({ states: [{ name: "level", bits: 2, default: 0 }] }), [
`states can't have "level", a fluid gets that state of its own`,
]);
@@ -175,7 +175,7 @@ async function mesh(blocks: [number, number, number, string, number?][]) {
// with the registry's gaps, like the client sends it
blocks_registry: registry.map((block) => JSON.parse(JSON.stringify(block))),
models: {},
textures_info: { "engine:missing": { x: 0, y: 0, width: 16, height: 16 } },
textures_info: { "cubi:missing": { x: 0, y: 0, width: 16, height: 16 } },
image: { width: 1024, height: 1024 },
visuals: [],
});