Make players mobs too !
This commit is contained in:
@@ -172,7 +172,7 @@ Deno.test("a stove is placed lit and heats the pot, coal relights it, and standi
|
||||
// standing on it: 1 every 10 ticks
|
||||
t.game.destroy_block(...POT);
|
||||
t.send(1, { type: "move", x: 0.5, y: 101, z: 0.5, yaw: 0, pitch: 0 });
|
||||
const health = () => t.game.players()[0].vitals.health;
|
||||
const health = () => t.game.players()[0].health;
|
||||
// (full hunger heals some of it back meanwhile, like minecraft)
|
||||
const before = health();
|
||||
t.ticks(40);
|
||||
|
||||
Reference in New Issue
Block a user