[PR #6960] [MERGED] Clear stale rest-009 rows main already implements #7234

Closed
opened 2026-11-03 06:36:04 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-rest-009


📝 Commits (3)

  • ea5de0f Clear stale rest-009 rows main already implements
  • 19e6ac0 Merge remote-tracking branch 'upstream/main' into HEAD
  • d9eb111 Merge main into #6960

📊 Changes

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

View changed files

📝 tools/port_map/rest-009.tsv (+2 -2)

📄 Description

Gizmos.rect and RectGizmo.fromCuboidFace were missing. Both are inlined in
crates/horizon-client/src/game/debug_renderers.rs::Game::solid_face_shapes, the port of
SolidFaceRenderer, which calls Gizmos.rect(box, direction, GizmoStyle.fill(...)) —
the box-and-direction overload that goes through fromCuboidFace. The four corners come
from crates/horizon-client/src/gizmos.rs::cuboid_fill_quads (+X, -X, -Z, +Z, +Y, -Y).

The other eleven stale rows stay missing: no circle, point or text gizmo emitter, no
rect stroke (RectGizmo.emit), no persisted-gizmo expiry or fade, no left-aligned text
style, and billboardTextOverBlock/OverMob have no counterpart (their only callers —
Poi/Brain/Bee debug renderers — are not ported; the debug renderers Horizon does port
use the centred Gizmos.billboardText). NbtUtils.packStructureTemplate and
packBlockState also stay: template.rs::save_nbt writes the unpacked palette, and no
state-to-string writer exists.

149 rows, no problems.

Proven: python3 tools/port_ledger.py map-check tools/port_map/rest-009.tsv → 149 rows, no problems.

Not proven: no in-game check.


🔄 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/6960 **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/ledger-rest-009` --- ### 📝 Commits (3) - [`ea5de0f`](https://github.com/horizon-rust/horizon/commit/ea5de0f51f6596ed2d9c65f25d2e4aba0cbaedcf) Clear stale rest-009 rows main already implements - [`19e6ac0`](https://github.com/horizon-rust/horizon/commit/19e6ac0b9ad6454eaf99bf33df6517627c946d31) Merge remote-tracking branch 'upstream/main' into HEAD - [`d9eb111`](https://github.com/horizon-rust/horizon/commit/d9eb1115887d4ef701ccf494137a155b2b1299b4) Merge main into #6960 ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/rest-009.tsv` (+2 -2) </details> ### 📄 Description `Gizmos.rect` and `RectGizmo.fromCuboidFace` were `missing`. Both are inlined in `crates/horizon-client/src/game/debug_renderers.rs::Game::solid_face_shapes`, the port of `SolidFaceRenderer`, which calls `Gizmos.rect(box, direction, GizmoStyle.fill(...))` — the box-and-direction overload that goes through `fromCuboidFace`. The four corners come from `crates/horizon-client/src/gizmos.rs::cuboid_fill_quads` (+X, -X, -Z, +Z, +Y, -Y). The other eleven stale rows stay `missing`: no circle, point or text gizmo emitter, no rect stroke (`RectGizmo.emit`), no persisted-gizmo expiry or fade, no left-aligned text style, and `billboardTextOverBlock`/`OverMob` have no counterpart (their only callers — Poi/Brain/Bee debug renderers — are not ported; the debug renderers Horizon does port use the centred `Gizmos.billboardText`). `NbtUtils.packStructureTemplate` and `packBlockState` also stay: `template.rs::save_nbt` writes the unpacked palette, and no state-to-string writer exists. ``` 149 rows, no problems. ``` **Proven:** `python3 tools/port_ledger.py map-check tools/port_map/rest-009.tsv` → `149 rows, no problems.` **Not proven:** no in-game check. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:36:04 +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#7234
No description provided.