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
@@ -114,7 +114,7 @@ Deno.test("sneaking with an item places it against a block that does something w
hold("testmod:pillar");
send(1, { type: "use_block", x: 1, y: 99, z: 1, face: "top" });
assertEquals(log()["interact"], [false]);
assertEquals(game.world.get_block_id(1, 100, 1), "bworld:air");
assertEquals(game.world.get_block_id(1, 100, 1), "cubi:air");
// the box isn't used, and the pillar's placement knows they were sneaking
move(true);
@@ -195,6 +195,6 @@ Deno.test("how far players reach is an attribute, which their client is sent", a
const sent = take(1).filter((m) => m.type === "attributes").at(-1);
assertEquals([sent.block_interaction_range, sent.entity_interaction_range], [9, 3]);
send(1, { type: "break_block", x: 0, y: 99, z: 9 });
assertEquals(game.world.get_block_id(0, 99, 9), "bworld:air");
assertEquals(game.world.get_block_id(0, 99, 9), "cubi:air");
cleanup();
});