[PR #7040] [MERGED] Fix game2-013.tsv's dangling citation and three closed gaps #7289

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

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-game2-013-v


📝 Commits (2)

  • 4e15803 port map: game2-013's flower pot row named a function that is gone
  • aee99b2 port map: game2-013 gaps that have closed

📊 Changes

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

View changed files

📝 tools/port_map/game2-013.tsv (+4 -4)

📄 Description

Four rows of tools/port_map/game2-013.tsv were stale: one citation named a function the tree no longer has, and three described gaps that have closed. No verdict changes and no other row is touched.

row verdict citation
FlowerPotBlock.getCloneItemStack port (unchanged) crates/horizon-client/src/game/block_items.rs::Game::picked_stack
CopperGolemStatueBlock.getCloneItemStack port (unchanged) crates/horizon-client/src/game/block_items.rs::Game::picked_stack
DriedGhastBlock.placeLiquid port (unchanged) crates/horizon-world/src/level/fluids.rs::Sim::place_liquid
FarmlandBlock.turnToBaseBlock port (unchanged) crates/horizon-world/src/level/tick.rs::Sim::turn_to_base_block
  • FlowerPotBlock.getCloneItemStack named Game::clone_item_stack, which is not in block_items.rs any more - map-check reports the row as no fn. The function is Game::picked_stack now, and its FlowerPot arm is exactly what the note says: a potted plant picks as that plant, an empty pot as the pot itself.
  • CopperGolemStatueBlock.getCloneItemStack said the picked statue loses its pose. picked_stack puts copper_golem_pose into the item's block_state, picked with or without the block data.
  • DriedGhastBlock.placeLiquid said no place-in-water sound was played. Sim::place_liquid waterlogs through the generic path and then emits minecraft:block.dried_ghast.place_in_water.
  • FarmlandBlock.turnToBaseBlock said entities standing on the block were not pushed up. turn_to_base_block now emits Block.pushEntitiesUp as the push_entities_up block event before it sets the base block.

The file's other notes were re-read and left alone: DoublePlantBlock.playerWillDestroy still reads only the creative upper-half removal, DoublePlantBlock.getSeed still seeds the offset with y 0, FarmlandBlock.isNearWater still tests the water fluid alone, EndGatewayBlock.getPortalDestination still has no thrown-ender-pearl branch, and the rest are structural notes about overloads folded into one port.

Proven: each citation is in the tree at the row's file::fn. git grep "fn picked_stack" upstream/main -- crates/horizon-client/src/game/block_items.rs finds the pick path, with the FlowerPot arm and the statue's minecraft:block_state patch inside it; crates/horizon-world/src/level/fluids.rs::Sim::place_liquid has the Class::DriedGhast arm that emits minecraft:block.dried_ghast.place_in_water; crates/horizon-world/src/level/tick.rs::Sim::turn_to_base_block emits push_entities_up and then sets the base block. map-check deferred, build VM in cooldown - the box is cooling down until 10:55Z, so PORT_LEDGER_OUT=/tmp/led-game2-013 python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar && python3 tools/port_ledger.py map-check tools/port_map/game2-013.tsv is re-run and reported here as soon as it answers.

Not proven: the map-check line count for this file; the rename behind the first row was traced through block_items.rs only, not through the ledger's own index.


🔄 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/7040 **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-game2-013-v` --- ### 📝 Commits (2) - [`4e15803`](https://github.com/horizon-rust/horizon/commit/4e15803e0fa028e77651b3a3a3aa81fa12eb78ed) port map: game2-013's flower pot row named a function that is gone - [`aee99b2`](https://github.com/horizon-rust/horizon/commit/aee99b2ad19562f96c5b59328a5470be17bc3a34) port map: game2-013 gaps that have closed ### 📊 Changes **1 file changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game2-013.tsv` (+4 -4) </details> ### 📄 Description Four rows of `tools/port_map/game2-013.tsv` were stale: one citation named a function the tree no longer has, and three described gaps that have closed. No verdict changes and no other row is touched. | row | verdict | citation | | --- | --- | --- | | `FlowerPotBlock.getCloneItemStack` | `port` (unchanged) | `crates/horizon-client/src/game/block_items.rs::Game::picked_stack` | | `CopperGolemStatueBlock.getCloneItemStack` | `port` (unchanged) | `crates/horizon-client/src/game/block_items.rs::Game::picked_stack` | | `DriedGhastBlock.placeLiquid` | `port` (unchanged) | `crates/horizon-world/src/level/fluids.rs::Sim::place_liquid` | | `FarmlandBlock.turnToBaseBlock` | `port` (unchanged) | `crates/horizon-world/src/level/tick.rs::Sim::turn_to_base_block` | - `FlowerPotBlock.getCloneItemStack` named `Game::clone_item_stack`, which is not in `block_items.rs` any more - `map-check` reports the row as `no fn`. The function is `Game::picked_stack` now, and its FlowerPot arm is exactly what the note says: a potted plant picks as that plant, an empty pot as the pot itself. - `CopperGolemStatueBlock.getCloneItemStack` said the picked statue loses its pose. `picked_stack` puts `copper_golem_pose` into the item's `block_state`, picked with or without the block data. - `DriedGhastBlock.placeLiquid` said no place-in-water sound was played. `Sim::place_liquid` waterlogs through the generic path and then emits `minecraft:block.dried_ghast.place_in_water`. - `FarmlandBlock.turnToBaseBlock` said entities standing on the block were not pushed up. `turn_to_base_block` now emits `Block.pushEntitiesUp` as the `push_entities_up` block event before it sets the base block. The file's other notes were re-read and left alone: `DoublePlantBlock.playerWillDestroy` still reads only the creative upper-half removal, `DoublePlantBlock.getSeed` still seeds the offset with y 0, `FarmlandBlock.isNearWater` still tests the water fluid alone, `EndGatewayBlock.getPortalDestination` still has no thrown-ender-pearl branch, and the rest are structural notes about overloads folded into one port. **Proven:** each citation is in the tree at the row's `file::fn`. `git grep "fn picked_stack" upstream/main -- crates/horizon-client/src/game/block_items.rs` finds the pick path, with the FlowerPot arm and the statue's `minecraft:block_state` patch inside it; `crates/horizon-world/src/level/fluids.rs::Sim::place_liquid` has the `Class::DriedGhast` arm that emits `minecraft:block.dried_ghast.place_in_water`; `crates/horizon-world/src/level/tick.rs::Sim::turn_to_base_block` emits `push_entities_up` and then sets the base block. map-check deferred, build VM in cooldown - the box is cooling down until 10:55Z, so `PORT_LEDGER_OUT=/tmp/led-game2-013 python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar && python3 tools/port_ledger.py map-check tools/port_map/game2-013.tsv` is re-run and reported here as soon as it answers. **Not proven:** the map-check line count for this file; the rename behind the first row was traced through `block_items.rs` only, not through the ledger's own index. --- <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:11 +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#7289
No description provided.