Rename all "liquid" mentions to "fluid"
This commit is contained in:
@@ -68,7 +68,7 @@ Deno.test("water flows out of a waterlogged fence, which never drains, and break
|
||||
const value = set_state_value(t.game.world.get_block_value(2, 100, 0), fence, "waterlogged", 1)!;
|
||||
t.game.set_block_state(2, 100, 0, value >>> 16);
|
||||
assertEquals(waterlogged(t.game, 2, 100, 0), 1);
|
||||
assert(t.game.entities.is_liquid(2, 100, 0), "entities are in water in it");
|
||||
assert(t.game.entities.is_fluid(2, 100, 0), "entities are in water in it");
|
||||
|
||||
ticks(t.game, 30);
|
||||
assertEquals(t.game.world.get_block_id(3, 100, 0), "bworld:water");
|
||||
@@ -94,7 +94,7 @@ Deno.test("rice is only planted in a water source, holds it, and leaves it behin
|
||||
assertEquals(t.game.world.get_block_id(2, 100, 0), "farmersdelight:rice");
|
||||
const rice = EverythingRegistry.get<BlockRegistry>("blocks", "farmersdelight:rice")!;
|
||||
assertEquals(get_state_value(t.game.world.get_block_value(2, 100, 0), rice, "waterlogged"), 1);
|
||||
assert(t.game.entities.is_liquid(2, 100, 0));
|
||||
assert(t.game.entities.is_fluid(2, 100, 0));
|
||||
|
||||
t.game.destroy_block(2, 100, 0);
|
||||
ticks(t.game, 1);
|
||||
|
||||
Reference in New Issue
Block a user