[PR #6939] [MERGED] Clear stale game2-005 rows main already implements #7214

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

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-game2-005.tsv


📝 Commits (1)

  • d3ffd9c Clear stale game2-005 rows main already implements

📊 Changes

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

View changed files

📝 tools/port_map/game2-005.tsv (+6 -6)

📄 Description

tools/port_map/game2-005.tsv: 6 rows cleared. No code change.

row now cites
Villager.ageBoundaryReached port crates/horizon-client/src/mobs/villager_brain.rs::age_boundary_reached - a villager that grows up rebuilds its brain from its memories, so the adult schedule and its work activity take hold (called from mobs/ai.rs on the age boundary)
WanderingTrader.addAdditionalSaveData port crates/horizon-client/src/entity_nbt.rs::mob_to_nbt - DespawnDelay and wander_target are written with the trader
WanderingTrader.readAdditionalSaveData port crates/horizon-client/src/entity_nbt.rs::read_villager - both fields are read back
Player.isSleepingLongEnough port crates/horizon-client/src/game/lan_actions.rs::sleep_counts - 100 ticks in bed (tick_sleep_timer) is what counts a sleeper as deep for SleepStatus.update
Player.decorateDisplayNameComponent port crates/horizon-client/src/game/commands.rs::player_display_name - click suggests /tell <name> , hover shows the player entity, plus the insertion
Player.extractParrotVariant port crates/horizon-client/src/game/shoulders.rs::shoulder_variants - the saved Variant of the shoulder parrot, clamped by Parrot.Variant.byId

Rows left alone, the tree really does lack them: ZombieVillager.applyImplicitComponent
and Villager.applyImplicitComponent (implicit item components are applied to
buckets only), AbstractVillager.getSlot (commands still cannot address a
villager's container slots), Villager.releasePoi/releaseAllPois (no POI claim
store to release from), Player.canPlayerFitWithinBlocksAndEntitiesWhen,
Player.getWeaponItem (no autoSpinAttackItemStack), Player.hasContainerOpen,
Player.hasEnoughFoodToDoExhaustiveManoeuvres, the EvokerFangs save pair and
EyeOfEnder.readAdditionalSaveData (neither entity is written).

Validation, on the build VM:

python3 tools/port_ledger.py build --jar .../26.3/jars/server.jar >/dev/null && python3 tools/port_ledger.py map-check tools/port_map/game2-005.tsv
142 rows, no problems.

Proven: 142 rows, no problems. (map-check build of the ledger: every class, method and file::fn in the file resolves).

Not proven: no in-game check; nothing here was run against a live world.


🔄 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/6939 **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-005.tsv` --- ### 📝 Commits (1) - [`d3ffd9c`](https://github.com/horizon-rust/horizon/commit/d3ffd9c8ea817ad45dbac404b53f5131a1b8020e) Clear stale game2-005 rows main already implements ### 📊 Changes **1 file changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game2-005.tsv` (+6 -6) </details> ### 📄 Description `tools/port_map/game2-005.tsv`: 6 rows cleared. No code change. | row | now | cites | | --- | --- | --- | | `Villager.ageBoundaryReached` | port | `crates/horizon-client/src/mobs/villager_brain.rs::age_boundary_reached` - a villager that grows up rebuilds its brain from its memories, so the adult schedule and its work activity take hold (called from `mobs/ai.rs` on the age boundary) | | `WanderingTrader.addAdditionalSaveData` | port | `crates/horizon-client/src/entity_nbt.rs::mob_to_nbt` - `DespawnDelay` and `wander_target` are written with the trader | | `WanderingTrader.readAdditionalSaveData` | port | `crates/horizon-client/src/entity_nbt.rs::read_villager` - both fields are read back | | `Player.isSleepingLongEnough` | port | `crates/horizon-client/src/game/lan_actions.rs::sleep_counts` - 100 ticks in bed (`tick_sleep_timer`) is what counts a sleeper as deep for `SleepStatus.update` | | `Player.decorateDisplayNameComponent` | port | `crates/horizon-client/src/game/commands.rs::player_display_name` - click suggests `/tell <name> `, hover shows the player entity, plus the insertion | | `Player.extractParrotVariant` | port | `crates/horizon-client/src/game/shoulders.rs::shoulder_variants` - the saved `Variant` of the shoulder parrot, clamped by `Parrot.Variant.byId` | Rows left alone, the tree really does lack them: `ZombieVillager.applyImplicitComponent` and `Villager.applyImplicitComponent` (implicit item components are applied to buckets only), `AbstractVillager.getSlot` (commands still cannot address a villager's container slots), `Villager.releasePoi`/`releaseAllPois` (no POI claim store to release from), `Player.canPlayerFitWithinBlocksAndEntitiesWhen`, `Player.getWeaponItem` (no `autoSpinAttackItemStack`), `Player.hasContainerOpen`, `Player.hasEnoughFoodToDoExhaustiveManoeuvres`, the `EvokerFangs` save pair and `EyeOfEnder.readAdditionalSaveData` (neither entity is written). Validation, on the build VM: python3 tools/port_ledger.py build --jar .../26.3/jars/server.jar >/dev/null && python3 tools/port_ledger.py map-check tools/port_map/game2-005.tsv 142 rows, no problems. **Proven:** `142 rows, no problems.` (map-check build of the ledger: every class, method and `file::fn` in the file resolves). **Not proven:** no in-game check; nothing here was run against a live world. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:35:50 +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#7214
No description provided.