3D biomes

This commit is contained in:
2026-11-07 12:13:43 -03:00
parent b726ce9695
commit 22191d260c
53 changed files with 874 additions and 316 deletions
+2 -2
View File
@@ -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")}`,