Seasons api
This commit is contained in:
@@ -104,6 +104,10 @@ export class EntityManager implements EntityLevel {
|
||||
return this.#host.world.get_block_info(x, y, z);
|
||||
}
|
||||
|
||||
biome_at(x: number, z: number) {
|
||||
return this.#host.world.biome_at(x, z);
|
||||
}
|
||||
|
||||
liquid_at(x: number, y: number, z: number) {
|
||||
const world = this.#host.world;
|
||||
return liquid_in_cell(world.get_block_value(x, y, z), world.get_block_info(x, y, z));
|
||||
|
||||
Reference in New Issue
Block a user