[PR #7532] [MERGED] notes: the debug views Horizon draws, and the entries that draw nothing #7651

Closed
opened 2026-11-03 07:21:23 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7532
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/led2-client2-003


📝 Commits (1)

  • 4ae934a notes: the debug views Horizon draws, and the entries that draw nothing

📊 Changes

1 file changed (+6 additions, -6 deletions)

View changed files

📝 tools/port_map/client2-003.tsv (+6 -6)

📄 Description

tools/port_map/client2-003.tsv: the note on DebugRenderer.refreshRendererList said Horizon has only chunk borders and hitboxes, and three rows said their F3 view is simply absent. Both are out of date — the views are drawn, or their entry exists and draws nothing.

  • DebugRenderer.refreshRendererList -> inline crates/horizon-client/src/game/debug_keys.rs::Game::debug_gizmos — the entry list is real now. debug_gizmos draws the chunk borders, the hitbox and entity-hitbox passes, the 3d crosshair and the structure and test instance boxes (game/structure_blocks.rs::Game::bounding_box_gizmos), and game/debug_renderers.rs::Game::debug_renderer_geometry draws the F3 geometry: water levels, heightmaps, collision boxes, block and sky light levels and the sturdy faces. What the old note called "the rest" is still missing, and the new note names it: the bee, brain, breeze, goal, path, poi, raid, octree, neighbours, light section, village, support and redstone views.
  • ChunkDebugRenderer and ChunkDebugRenderer.ChunkData — the visualize_chunks_on_server entry is registered in debug_entries.rs:170 and is a no-op: game/debug_renderers.rs's module comment lists it under "No-ops, for want of the data", and nothing builds a ChunkData.
  • LightSectionDebugRenderer and LightSectionDebugRenderer.SectionData — the same for visualize_sky_light_sections (debug_entries.rs:171): the entry draws nothing because the light engine keeps no section data, and no SectionData is built.
  • SupportBlockRenderer — the same for visualize_entity_supporting_blocks (debug_entries.rs:166): Entity.mainSupportingBlockPos is not kept, so there is nothing to draw.

The verdicts stay missing (nothing is drawn for those three), so this only corrects what the notes claim; the rows that are real are already home in this file (CollisionBoxRenderer, HeightMapRenderer, LightDebugRenderer, SolidFaceRenderer).

Map-check:

PORT_LEDGER_OUT=/tmp/led-led python3 tools/port_ledger.py map-check tools/port_map/client2-003.tsv
104 rows, no problems.

Proven: debug_entries.rs's renderer list (the six path names), debug_renderers.rs's module comment and its debug_entry reads, debug_gizmos's calls including bounding_box_gizmos, and the geometry views' keys inside debug_renderer_geometry. Every where cell resolves under map-check.

Not proven: no in-game check; no F3 debug options screen was opened to see which entries are listed and which draw anything.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7532 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/led2-client2-003` --- ### 📝 Commits (1) - [`4ae934a`](https://github.com/horizon-rust/horizon/commit/4ae934a8d67a30a67b7cb25082573f75b50d7c9f) notes: the debug views Horizon draws, and the entries that draw nothing ### 📊 Changes **1 file changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-003.tsv` (+6 -6) </details> ### 📄 Description `tools/port_map/client2-003.tsv`: the note on `DebugRenderer.refreshRendererList` said Horizon has only chunk borders and hitboxes, and three rows said their F3 view is simply absent. Both are out of date — the views are drawn, or their entry exists and draws nothing. - `DebugRenderer.refreshRendererList` -> `inline crates/horizon-client/src/game/debug_keys.rs::Game::debug_gizmos` — the entry list is real now. `debug_gizmos` draws the chunk borders, the hitbox and entity-hitbox passes, the 3d crosshair and the structure and test instance boxes (`game/structure_blocks.rs::Game::bounding_box_gizmos`), and `game/debug_renderers.rs::Game::debug_renderer_geometry` draws the F3 geometry: water levels, heightmaps, collision boxes, block and sky light levels and the sturdy faces. What the old note called "the rest" is still missing, and the new note names it: the bee, brain, breeze, goal, path, poi, raid, octree, neighbours, light section, village, support and redstone views. - `ChunkDebugRenderer` and `ChunkDebugRenderer.ChunkData` — the `visualize_chunks_on_server` entry is registered in `debug_entries.rs:170` and is a no-op: `game/debug_renderers.rs`'s module comment lists it under "No-ops, for want of the data", and nothing builds a `ChunkData`. - `LightSectionDebugRenderer` and `LightSectionDebugRenderer.SectionData` — the same for `visualize_sky_light_sections` (`debug_entries.rs:171`): the entry draws nothing because the light engine keeps no section data, and no `SectionData` is built. - `SupportBlockRenderer` — the same for `visualize_entity_supporting_blocks` (`debug_entries.rs:166`): `Entity.mainSupportingBlockPos` is not kept, so there is nothing to draw. The verdicts stay `missing` (nothing is drawn for those three), so this only corrects what the notes claim; the rows that are real are already `home` in this file (`CollisionBoxRenderer`, `HeightMapRenderer`, `LightDebugRenderer`, `SolidFaceRenderer`). Map-check: ``` PORT_LEDGER_OUT=/tmp/led-led python3 tools/port_ledger.py map-check tools/port_map/client2-003.tsv 104 rows, no problems. ``` **Proven:** `debug_entries.rs`'s renderer list (the six path names), `debug_renderers.rs`'s module comment and its `debug_entry` reads, `debug_gizmos`'s calls including `bounding_box_gizmos`, and the geometry views' keys inside `debug_renderer_geometry`. Every `where` cell resolves under map-check. **Not proven:** no in-game check; no F3 debug options screen was opened to see which entries are listed and which draw anything. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 07:21:23 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7651
No description provided.