Rename engine to cubi
This commit is contained in:
@@ -89,7 +89,7 @@ Deno.test("items lying in a box are found, changed and taken away", async () =>
|
||||
game.tick();
|
||||
assertEquals(iron.position, { x: 0.5, y: 100, z: 0.5 });
|
||||
|
||||
const found = ctx.world.entities_in({ x: 0, y: 99.5, z: 0 }, { x: 1, y: 101, z: 1 }, "bworld:item");
|
||||
const found = ctx.world.entities_in({ x: 0, y: 99.5, z: 0 }, { x: 1, y: 101, z: 1 }, "cubi:item");
|
||||
assertEquals(found.map((entity) => entity.get_item()), [{ id: "bworld:iron_ingot", count: 3 }]);
|
||||
assertEquals(ctx.world.entities_in({ x: 0, y: 99.5, z: 0 }, { x: 1, y: 101, z: 1 }, "bworld:chicken"), []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user