[PR #7090] [MERGED] Clear stale rest-010 rows main already implements #7329

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

📋 Pull Request Information

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

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


📝 Commits (1)

  • 02696a0 Clear stale rest-010 rows main already implements

📊 Changes

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

View changed files

📝 tools/port_map/rest-010.tsv (+5 -5)

📄 Description

Four stale rows, all missing, all now inline on crates/horizon-protocol/src/entity_data.rs:

  • FriendlyByteBuf.readVector3f → read_value, the VECTOR3 arm (three big-endian floats);
    crates/horizon-client/src/text_display.rs::TextDisplayData::apply takes ids 11 and 12
    (translation, scale) from it.
  • FriendlyByteBuf.writeVector3f → write_value, the Value::Floats arm.
  • FriendlyByteBuf.readQuaternion → read_value, the QUATERNION arm (four floats); ids 13
    and 14 (left and right rotation).
  • FriendlyByteBuf.writeQuaternion → write_value.

The old note ("Horizon reads no display transforms, no Vector3f or Quaternion codec") no longer
holds. One extra row in the same file: StringTagVisitor.handleKeyEscape cited
snbt.rs::unquoted_key, a function that is gone — the bare-or-quoted key test is inline in
snbt.rs::Pretty::compound, so it is now inline there (quote_and_escape still does the
quoting). That citation was already failing map-check on main.

150 rows, no problems.

Proven: python3 tools/port_ledger.py map-check tools/port_map/rest-010.tsv → 150 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/7090 **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-010` --- ### 📝 Commits (1) - [`02696a0`](https://github.com/horizon-rust/horizon/commit/02696a0e624c9821f886bb589240e7bc5140724f) Clear stale rest-010 rows main already implements ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/rest-010.tsv` (+5 -5) </details> ### 📄 Description Four stale rows, all `missing`, all now `inline` on `crates/horizon-protocol/src/entity_data.rs`: - `FriendlyByteBuf.readVector3f` → `read_value`, the `VECTOR3` arm (three big-endian floats); `crates/horizon-client/src/text_display.rs::TextDisplayData::apply` takes ids 11 and 12 (translation, scale) from it. - `FriendlyByteBuf.writeVector3f` → `write_value`, the `Value::Floats` arm. - `FriendlyByteBuf.readQuaternion` → `read_value`, the `QUATERNION` arm (four floats); ids 13 and 14 (left and right rotation). - `FriendlyByteBuf.writeQuaternion` → `write_value`. The old note ("Horizon reads no display transforms, no Vector3f or Quaternion codec") no longer holds. One extra row in the same file: `StringTagVisitor.handleKeyEscape` cited `snbt.rs::unquoted_key`, a function that is gone — the bare-or-quoted key test is inline in `snbt.rs::Pretty::compound`, so it is now `inline` there (`quote_and_escape` still does the quoting). That citation was already failing `map-check` on main. ``` 150 rows, no problems. ``` **Proven:** `python3 tools/port_ledger.py map-check tools/port_map/rest-010.tsv` → `150 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:37:46 +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#7329
No description provided.