[PR #6838] [MERGED] Port map: client-008 rows the tree already ports #7130

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

📋 Pull Request Information

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

Base: main ← Head: fix/map-client-008


📝 Commits (1)

  • 8324aab Port map: client-008 rows the tree already ports

📊 Changes

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

View changed files

📝 tools/port_map/client-008.tsv (+11 -11)

📄 Description

tools/port_map/client-008.tsv still marked eleven renderer behaviours missing that the tree ports.

Vanilla:

  • BlockStateModelWrapper.updateTints multiplies each face by its tint source's colour.
  • CompositeBlockModel.update adds the special model of a chest, head, banner and the like on top of the block model.
  • BlockEntityWithBoundingBoxRenderer.submit / renderInvisibleBlocks draw a structure's box and the markers of barrier, light, air and structure void blocks.
  • BrushableBlockRenderer.extractRenderState / submit / translations draw the buried item on the brushed face, sliding out 0.075 blocks per dust stage.
  • ShelfRenderer.extractRenderState / submit / submitItem draw a shelf's three items facing out, 0.3125 apart, aligned to the bottom or centred.
  • TestInstanceRenderer.submitErrorMarker draws a marked block's red box and its text.

What Horizon got wrong: the map said all eleven were missing. They are ported in game/minecarts.rs::Game::block_model_vertices and Game::special_block_model, gizmos.rs::Gizmos::bounding_box and error_marker_shape, game/brush.rs::Game::brushable_geometry, game/shelf.rs::Game::shelf_geometry, and game/test_instances.rs::Game::test_instance_marker_geometry calls the error-marker shape.

Proven: python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar then python3 tools/port_ledger.py map-check tools/port_map/client-008.tsv -> 115 rows, no problems. Each corrected row cites a function that exists in the tree for that behaviour.

Not proven: nothing was built or run: the change is a verdict-map correction only. In-game: place a shelf with three items, brush a suspicious sand block, show a structure block's bounding box as an op, and fail a test instance.


🔄 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/6838 **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:** `fix/map-client-008` --- ### 📝 Commits (1) - [`8324aab`](https://github.com/horizon-rust/horizon/commit/8324aabac279ae06a866272a8aa68a3ec0ff0ebc) Port map: client-008 rows the tree already ports ### 📊 Changes **1 file changed** (+11 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client-008.tsv` (+11 -11) </details> ### 📄 Description `tools/port_map/client-008.tsv` still marked eleven renderer behaviours missing that the tree ports. Vanilla: - `BlockStateModelWrapper.updateTints` multiplies each face by its tint source's colour. - `CompositeBlockModel.update` adds the special model of a chest, head, banner and the like on top of the block model. - `BlockEntityWithBoundingBoxRenderer.submit` / `renderInvisibleBlocks` draw a structure's box and the markers of barrier, light, air and structure void blocks. - `BrushableBlockRenderer.extractRenderState` / `submit` / `translations` draw the buried item on the brushed face, sliding out 0.075 blocks per dust stage. - `ShelfRenderer.extractRenderState` / `submit` / `submitItem` draw a shelf's three items facing out, 0.3125 apart, aligned to the bottom or centred. - `TestInstanceRenderer.submitErrorMarker` draws a marked block's red box and its text. What Horizon got wrong: the map said all eleven were missing. They are ported in `game/minecarts.rs::Game::block_model_vertices` and `Game::special_block_model`, `gizmos.rs::Gizmos::bounding_box` and `error_marker_shape`, `game/brush.rs::Game::brushable_geometry`, `game/shelf.rs::Game::shelf_geometry`, and `game/test_instances.rs::Game::test_instance_marker_geometry` calls the error-marker shape. **Proven:** `python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar` then `python3 tools/port_ledger.py map-check tools/port_map/client-008.tsv` -> `115 rows, no problems.` Each corrected row cites a function that exists in the tree for that behaviour. **Not proven:** nothing was built or run: the change is a verdict-map correction only. In-game: place a shelf with three items, brush a suspicious sand block, show a structure block's bounding box as an op, and fail a test instance. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:34: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#7130
No description provided.