[PR #6852] [MERGED] Clear seventeen game-011 ledger rows: ten main has, seven dangling #7144

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

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-game-011


📝 Commits (1)

  • df47162 Clear seventeen game-011 ledger rows: ten main has, seven dangling

📊 Changes

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

View changed files

📝 tools/port_map/game-011.tsv (+17 -17)

📄 Description

Data only: tools/port_map/game-011.tsv.

Ten rows still saying missing

  • SkeletonHorse.playJumpSound -> game/mounts.rs::Game::tick_mount_riding,
    which picks entity.skeleton_horse.jump_water for a skeleton horse in water
    and the horse's jump otherwise.
  • Ocelot.OcelotAvoidEntityGoal.canContinueToUse -> mobs/tame.rs::OcelotAvoid::can_continue
    (!isTrusting() && super), and Ocelot.OcelotTemptGoal.canScare ->
    mobs/tame.rs::OcelotTempt::scared_unless_trusting.
  • AbstractSchoolingFish.isFollower -> mobs/aquatic.rs::follows,
    canBeFollowed -> can_be_followed, tick -> school_tick,
    inRangeOfLeader / pathToLeader / addFollowers ->
    FollowFlockLeader's can_continue (121.0 squared), tick (pathToLeader)
    and can_use (the room limit and the recruits; start_following applies
    each). The schooling is all there, only the ledger did not know it.
  • Pufferfish.readAdditionalSaveData -> entity_nbt.rs::mob_from_nbt
    (getIntOr("PuffState", 0) clamped to 2); mob_to_nbt writes it and
    mobs_keep_their_variant_puff_state_carried_block_and_conversion_times
    covers the round trip.

Seven dangling rows

python3 tools/port_ledger.py map-check tools/port_map/game-011.tsv reported
seven rows whose file::fn is gone:

  • five bucket rows (Salmon.applyImplicitComponent, TropicalFish.setPattern,
    setBaseColor, setPatternColor, applyImplicitComponents) cited
    entity_nbt.rs::load_bucket_data; the bucket's components are written by
    bucket_components and read back onto the mob by apply_item_components,
    which reads minecraft:salmon/size and the tropical fish's pattern and both
    colours.
  • AbstractHorse.causeFallDamage and Llama.causeFallDamage cited
    Mob::cause_fall_damage, now Mob::cause_fall_damage_at. The horse row's
    note also claimed a landing horse makes no thud; it plays
    entity.horse.land / entity.baby_horse.land above one block and passes the
    fall to its riders when it was hurt, so the note now says so and keeps the
    safe-distance gap.

Proven

python3 tools/port_ledger.py build --jar .../26.3/jars/server.jar then
map-check tools/port_map/game-011.tsv: 148 rows, no problems (before:
seven "no fn" rows). No code changed, so nothing else to compile; every claim
is from reading the named function.

Not proven

No behaviour was run or changed: these are ledger verdicts. No in-game check
applies.


🔄 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/6852 **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-game-011` --- ### 📝 Commits (1) - [`df47162`](https://github.com/horizon-rust/horizon/commit/df471629cfd096a666d394bf21895e228d64f7b1) Clear seventeen game-011 ledger rows: ten main has, seven dangling ### 📊 Changes **1 file changed** (+17 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game-011.tsv` (+17 -17) </details> ### 📄 Description Data only: `tools/port_map/game-011.tsv`. ## Ten rows still saying `missing` - `SkeletonHorse.playJumpSound` -> `game/mounts.rs::Game::tick_mount_riding`, which picks `entity.skeleton_horse.jump_water` for a skeleton horse in water and the horse's jump otherwise. - `Ocelot.OcelotAvoidEntityGoal.canContinueToUse` -> `mobs/tame.rs::OcelotAvoid::can_continue` (`!isTrusting() && super`), and `Ocelot.OcelotTemptGoal.canScare` -> `mobs/tame.rs::OcelotTempt::scared_unless_trusting`. - `AbstractSchoolingFish.isFollower` -> `mobs/aquatic.rs::follows`, `canBeFollowed` -> `can_be_followed`, `tick` -> `school_tick`, `inRangeOfLeader` / `pathToLeader` / `addFollowers` -> `FollowFlockLeader`'s `can_continue` (121.0 squared), `tick` (`pathToLeader`) and `can_use` (the room limit and the recruits; `start_following` applies each). The schooling is all there, only the ledger did not know it. - `Pufferfish.readAdditionalSaveData` -> `entity_nbt.rs::mob_from_nbt` (`getIntOr("PuffState", 0)` clamped to 2); `mob_to_nbt` writes it and `mobs_keep_their_variant_puff_state_carried_block_and_conversion_times` covers the round trip. ## Seven dangling rows `python3 tools/port_ledger.py map-check tools/port_map/game-011.tsv` reported seven rows whose `file::fn` is gone: - five bucket rows (`Salmon.applyImplicitComponent`, `TropicalFish.setPattern`, `setBaseColor`, `setPatternColor`, `applyImplicitComponents`) cited `entity_nbt.rs::load_bucket_data`; the bucket's components are written by `bucket_components` and read back onto the mob by `apply_item_components`, which reads `minecraft:salmon/size` and the tropical fish's pattern and both colours. - `AbstractHorse.causeFallDamage` and `Llama.causeFallDamage` cited `Mob::cause_fall_damage`, now `Mob::cause_fall_damage_at`. The horse row's note also claimed a landing horse makes no thud; it plays `entity.horse.land` / `entity.baby_horse.land` above one block and passes the fall to its riders when it was hurt, so the note now says so and keeps the safe-distance gap. ## Proven `python3 tools/port_ledger.py build --jar .../26.3/jars/server.jar` then `map-check tools/port_map/game-011.tsv`: **148 rows, no problems** (before: seven "no fn" rows). No code changed, so nothing else to compile; every claim is from reading the named function. ## Not proven No behaviour was run or changed: these are ledger verdicts. No in-game check applies. --- <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:38 +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#7144
No description provided.