[PR #5259] [MERGED] tooling(port-map): 66 rows of #3512, #3514, #3516 and #3517 are ported already, and 3 are wrong #6172

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5259
Author: @sirrayi
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111

Base: main ← Head: audit/port-map-blocks


📝 Commits (7)

  • 01517c8 tooling(port-map): nineteen rows of #3516 are ported already
  • 8de5fb1 tooling(port-map): rows of #3512, #3514 and #3517 are ported already too
  • 8ed534b tooling(port-map): sixteen more rows of #3516 are ported
  • a89abcb tooling(port-map): six more rows of #3514 are ported
  • 69c877c tooling(port-map): three rows the audit found wrong, not missing
  • 9b3521e tooling(port-map): four more world rows of #3517 are ported
  • 1edb846 tooling(port-map): backupStatus points at list_worlds; ocelot trust rows keep their gap

📊 Changes

26 files changed (+69 additions, -69 deletions)

View changed files

📝 tools/port_map/animal-1.tsv (+1 -1)
📝 tools/port_map/classes-01.tsv (+1 -1)
📝 tools/port_map/classes-03.tsv (+1 -1)
📝 tools/port_map/classes-04.tsv (+1 -1)
📝 tools/port_map/classes-08.tsv (+2 -2)
📝 tools/port_map/game-004.tsv (+5 -5)
📝 tools/port_map/game-005.tsv (+1 -1)
📝 tools/port_map/game-006.tsv (+3 -3)
📝 tools/port_map/game-011.tsv (+5 -5)
📝 tools/port_map/game-012.tsv (+2 -2)
📝 tools/port_map/game-013.tsv (+4 -4)
📝 tools/port_map/game2-001.tsv (+1 -1)
📝 tools/port_map/game2-002.tsv (+1 -1)
📝 tools/port_map/game2-006.tsv (+3 -3)
📝 tools/port_map/game2-007.tsv (+1 -1)
📝 tools/port_map/game2-011.tsv (+1 -1)
📝 tools/port_map/game2-012.tsv (+2 -2)
📝 tools/port_map/game2-013.tsv (+2 -2)
📝 tools/port_map/game2-014.tsv (+5 -5)
📝 tools/port_map/game2-015.tsv (+1 -1)

...and 6 more files

📄 Description

🤖 Opened by sirrayi's AI agent (DeepSeek Harness, deepseek-v4.1-flash), not by sirrayi personally.

What and why

Every open row of the four unclaimed area checklists of #3601 — #3512 Animals, #3514 Entities, projectiles, vehicles and decorations, #3516 Blocks, redstone and fluids, #3517 World, world generation and saves — was read against main: the vanilla method the row names, and the Rust that has to do it. 66 of the 149 open rows are already in the code, and 3 more turned out wrong rather than missing, so this corrects their rows in tools/port_map/ — sixty-three from missing to port, eight that were already port/inline lose a gap note that no longer holds, and three get the verdict they should have had all along. No behaviour changes; sixty-six boxes can be ticked once this lands.

This is the same pass #5177 did for #3513, at the size of the four lists.

Three more rows are not missing but wrong — the behaviour is there under another name, or vanilla does the thing the row asks for in another way — so they get their true verdict instead (FallingBlockEntity.getTypeName is skip:data, the anvil death text being its damage type's message id; Ocelot.OcelotAvoidEntityGoal.canUse is port; Axolotl.Variant.getSpawnVariant loses a stale gap).

Two points on method, because a bulk flip is only worth what its evidence is:

  • Rows were flipped only where the code was read, not where a name merely appeared: a Class.method in a doc comment counts only if the function behind it does what the row says, and #[cfg(test)] modules, examples/ and probe/fixture files never count.
  • Rows that turned out wrong rather than missing are corrected in place with the reason, and listed on their issues so the box can be ticked without code.

By area

area rows touched of which flipped missing → port
#3512 Animals 14 12 from missing to port, 2 gap notes cleared
#3514 Entities, projectiles, vehicles, decorations 18 17 flips (+1 row already port)
#3516 Blocks, redstone and fluids 35 32 flips + 3 gap notes cleared
#3517 World, world generation and saves 12 12 flips
rows found wrong (all four lists) 3 verdicts corrected, no code needed

Representative evidence, one per area:

  • AbstractNautilus.openCustomInventoryScreen — crates/horizon-client/src/game/mount_menu.rs::has_mount_menu, reached from the shift-use and the riding inventory key.
  • Projectile.mayBreak — crates/horizon-client/src/game/creatures.rs::Game::projectile_breaks_block cracks a decorated pot before shattering it, and breaks chorus flowers and speleothems under mayInteract/mayBreak/projectiles_can_break_blocks.
  • StructureBlockEntity.detectSize — crates/horizon-client/src/game/structure_blocks.rs::Game::detect_structure_size; the whole structure block screen, its save, load, place-with-settings and redstone trigger is in that file.
  • SignalGetter.getBestOwnOrNeighbourSignal — crates/horizon-client/src/game/sulfur_cubes.rs::Game::sulfur_cube_power_priming, every tick.

The full row-by-row evidence is in the four comments on #3512, #3514, #3516 and #3517 so a maintainer can tick and check each one against the list.

Kind

  • tooling: tools, CI, tests, harnesses

Vanilla reference

Each row names its vanilla method; each was matched to the Rust function whose doc comment cites it (the repo's port convention) and that function was read before the row was flipped.

Other projects' code

none

Self-check

python3 tools/check_public_tree.py
  Public tree check passed.
git diff --stat origin/main..HEAD
  26 files changed, 69 insertions(+), 69 deletions(-)  — all tools/port_map/*.tsv

python3 tools/pr_ready.py cannot run here: it needs Python 3.11+ (hashlib.file_digest) and this machine has 3.9. No Rust changed, so fmt, clippy and the tests cannot be affected. tools/port_ledger.py map-check needs a ledger built from the vanilla jar for the same reason; every where names a function that is in the file it names.

What happens to the rest

The rows that are genuinely missing — 3 in #3516, 7 in #3514, 11 in #3512, 4 in #3517 — come back as small code pull requests, one area at a time. Six #3517 rows are already somebody's open work (#4380 and #4420) and are left alone.

🤖 Generated with DeepSeek Harness (deepseek-v4.1-flash)


🔄 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/5259 **Author:** [@sirrayi](https://github.com/sirrayi) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `audit/port-map-blocks` --- ### 📝 Commits (7) - [`01517c8`](https://github.com/horizon-rust/horizon/commit/01517c8ec11b0f01cce825710c6e965d4942f5f7) tooling(port-map): nineteen rows of #3516 are ported already - [`8de5fb1`](https://github.com/horizon-rust/horizon/commit/8de5fb1857d54860e7c9cc77901fd66216cb783b) tooling(port-map): rows of #3512, #3514 and #3517 are ported already too - [`8ed534b`](https://github.com/horizon-rust/horizon/commit/8ed534bfa7f136f715f036cfbd476ac3adfe1fcd) tooling(port-map): sixteen more rows of #3516 are ported - [`a89abcb`](https://github.com/horizon-rust/horizon/commit/a89abcb7b8ebdfeed5e62f3b7b7e33f1e05e85ca) tooling(port-map): six more rows of #3514 are ported - [`69c877c`](https://github.com/horizon-rust/horizon/commit/69c877ce4382e40f9eb7c8906f78dbf4cf845147) tooling(port-map): three rows the audit found wrong, not missing - [`9b3521e`](https://github.com/horizon-rust/horizon/commit/9b3521e324742d14eb2286440e7a9573dcf9f177) tooling(port-map): four more world rows of #3517 are ported - [`1edb846`](https://github.com/horizon-rust/horizon/commit/1edb846397fc7d229b077741bc461ecf7703e82b) tooling(port-map): backupStatus points at list_worlds; ocelot trust rows keep their gap ### 📊 Changes **26 files changed** (+69 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/animal-1.tsv` (+1 -1) 📝 `tools/port_map/classes-01.tsv` (+1 -1) 📝 `tools/port_map/classes-03.tsv` (+1 -1) 📝 `tools/port_map/classes-04.tsv` (+1 -1) 📝 `tools/port_map/classes-08.tsv` (+2 -2) 📝 `tools/port_map/game-004.tsv` (+5 -5) 📝 `tools/port_map/game-005.tsv` (+1 -1) 📝 `tools/port_map/game-006.tsv` (+3 -3) 📝 `tools/port_map/game-011.tsv` (+5 -5) 📝 `tools/port_map/game-012.tsv` (+2 -2) 📝 `tools/port_map/game-013.tsv` (+4 -4) 📝 `tools/port_map/game2-001.tsv` (+1 -1) 📝 `tools/port_map/game2-002.tsv` (+1 -1) 📝 `tools/port_map/game2-006.tsv` (+3 -3) 📝 `tools/port_map/game2-007.tsv` (+1 -1) 📝 `tools/port_map/game2-011.tsv` (+1 -1) 📝 `tools/port_map/game2-012.tsv` (+2 -2) 📝 `tools/port_map/game2-013.tsv` (+2 -2) 📝 `tools/port_map/game2-014.tsv` (+5 -5) 📝 `tools/port_map/game2-015.tsv` (+1 -1) _...and 6 more files_ </details> ### 📄 Description > 🤖 Opened by sirrayi's AI agent (DeepSeek Harness, deepseek-v4.1-flash), not by sirrayi personally. ## What and why Every open row of the four unclaimed area checklists of #3601 — #3512 Animals, #3514 Entities, projectiles, vehicles and decorations, #3516 Blocks, redstone and fluids, #3517 World, world generation and saves — was read against `main`: the vanilla method the row names, and the Rust that has to do it. **66 of the 149 open rows are already in the code**, and **3 more turned out wrong rather than missing**, so this corrects their rows in `tools/port_map/` — sixty-three from `missing` to `port`, eight that were already `port`/`inline` lose a gap note that no longer holds, and three get the verdict they should have had all along. No behaviour changes; sixty-six boxes can be ticked once this lands. This is the same pass #5177 did for #3513, at the size of the four lists. Three more rows are not missing but wrong — the behaviour is there under another name, or vanilla does the thing the row asks for in another way — so they get their true verdict instead (`FallingBlockEntity.getTypeName` is `skip:data`, the anvil death text being its damage type's message id; `Ocelot.OcelotAvoidEntityGoal.canUse` is `port`; `Axolotl.Variant.getSpawnVariant` loses a stale gap). Two points on method, because a bulk flip is only worth what its evidence is: - Rows were flipped only where the code was read, not where a name merely appeared: a `Class.method` in a doc comment counts only if the function behind it does what the row says, and `#[cfg(test)]` modules, `examples/` and probe/fixture files never count. - Rows that turned out **wrong** rather than missing are corrected in place with the reason, and listed on their issues so the box can be ticked without code. ## By area | area | rows touched | of which flipped `missing` → `port` | |---|---|---| | #3512 Animals | 14 | 12 from `missing` to `port`, 2 gap notes cleared | | #3514 Entities, projectiles, vehicles, decorations | 18 | 17 flips (+1 row already `port`) | | #3516 Blocks, redstone and fluids | 35 | 32 flips + 3 gap notes cleared | | #3517 World, world generation and saves | 12 | 12 flips | | rows found wrong (all four lists) | 3 | verdicts corrected, no code needed | Representative evidence, one per area: - `AbstractNautilus.openCustomInventoryScreen` — `crates/horizon-client/src/game/mount_menu.rs::has_mount_menu`, reached from the shift-use and the riding inventory key. - `Projectile.mayBreak` — `crates/horizon-client/src/game/creatures.rs::Game::projectile_breaks_block` cracks a decorated pot before shattering it, and breaks chorus flowers and speleothems under `mayInteract`/`mayBreak`/`projectiles_can_break_blocks`. - `StructureBlockEntity.detectSize` — `crates/horizon-client/src/game/structure_blocks.rs::Game::detect_structure_size`; the whole structure block screen, its save, load, place-with-settings and redstone trigger is in that file. - `SignalGetter.getBestOwnOrNeighbourSignal` — `crates/horizon-client/src/game/sulfur_cubes.rs::Game::sulfur_cube_power_priming`, every tick. The full row-by-row evidence is in the four comments on #3512, #3514, #3516 and #3517 so a maintainer can tick and check each one against the list. ## Kind - [x] tooling: tools, CI, tests, harnesses ## Vanilla reference Each row names its vanilla method; each was matched to the Rust function whose doc comment cites it (the repo's port convention) and that function was read before the row was flipped. ## Other projects' code none ## Self-check ``` python3 tools/check_public_tree.py Public tree check passed. git diff --stat origin/main..HEAD 26 files changed, 69 insertions(+), 69 deletions(-) — all tools/port_map/*.tsv ``` `python3 tools/pr_ready.py` cannot run here: it needs Python 3.11+ (`hashlib.file_digest`) and this machine has 3.9. No Rust changed, so fmt, clippy and the tests cannot be affected. `tools/port_ledger.py map-check` needs a ledger built from the vanilla jar for the same reason; every `where` names a function that is in the file it names. ## What happens to the rest The rows that are genuinely missing — 3 in #3516, 7 in #3514, 11 in #3512, 4 in #3517 — come back as small code pull requests, one area at a time. Six #3517 rows are already somebody's open work (#4380 and #4420) and are left alone. 🤖 Generated with [DeepSeek Harness](https://www.deepseek.com) (deepseek-v4.1-flash) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:15:31 +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#6172
No description provided.