3D biomes
This commit is contained in:
+2
-2
@@ -169,8 +169,8 @@ export class Hud {
|
||||
|
||||
#render_info(client: Client) {
|
||||
const { day, hour, minute } = clock(client.level.time);
|
||||
const { x, z } = client.player;
|
||||
const biome = client.level.biome_at(Math.floor(x), Math.floor(z));
|
||||
const { x, y, z } = client.player;
|
||||
const biome = client.level.biome_at(Math.floor(x), Math.floor(y), Math.floor(z));
|
||||
const lines = [
|
||||
`Day ${day}`,
|
||||
`${String(hour).padStart(2, "0")}:${String(minute).padStart(2, "0")}`,
|
||||
|
||||
Reference in New Issue
Block a user