Names on players

This commit is contained in:
2026-10-05 11:33:00 -03:00
parent 5d4b91b3a1
commit c29f3be466
4 changed files with 169 additions and 1 deletions
+2
View File
@@ -5,6 +5,7 @@ import { Hud } from "$/client/gui/hud.ts";
import { DebugOverlay } from "$/client/gui/debug_overlay.ts";
import { LevelRenderer } from "./level_renderer.ts";
import { HandRenderer } from "./hand_renderer.ts";
import { render_nameplates } from "./nameplate_renderer.ts";
import { profiler } from "$/client/profiler.ts";
// the sky at noon and in the middle of the night
@@ -49,6 +50,7 @@ export class GameRenderer {
level.render_entities(client.level, camera, client.player, partial_tick);
});
profiler.section("translucent", () => level.render_translucent(client.level, camera));
profiler.section("nameplates", () => render_nameplates(client.level, camera, client.player, partial_tick));
end_mode_3d();
profiler.section("hand", () => this.hand.render(client.player, partial_tick));