[PR #7140] [MERGED] Clear stale client2-008.tsv rows main already implements #7367

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

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-client2-008


📝 Commits (1)

  • fe27ba6 port_map: clear stale client2-008 rows

📊 Changes

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

View changed files

📝 tools/port_map/client2-008.tsv (+3 -3)

📄 Description

Rows in tools/port_map/client2-008.tsv whose verdict was missing but whose behaviour main already has: the world's own resource pack is pushed as a local pack, and the elytra and riding sound loops exist in the sound engine.

row verdict citation
ServerPackManager.pushLocalPack port crates/horizon-client/src/server_packs.rs::ServerPacks::push_local
ElytraOnPlayerSoundInstance.tick port crates/horizon-client-render/src/sound_engine.rs::SoundInstance::tick
RidingEntitySoundInstance.tick port crates/horizon-client-render/src/sound_engine.rs::SoundInstance::tick
  • pushLocalPack: push_local takes a pack already on disk (Download::Done, no url or sha1) and reports DECLINED when the prompt was declined; game/server_packs.rs::server_packs_world_pack calls it with the world's resourcepacks/resources.zip.
  • ElytraOnPlayerSoundInstance.tick: the Ticking::Elytra arm of SoundInstance::tick plays minecraft:item.elytra.flying (created in game/music.rs), follows the player, stops 20 ticks after gliding ends, and takes its volume from speed / 4 clamped, silent for the first second and fading in over the next.
  • RidingEntitySoundInstance.tick: the Ticking::RidingEntity arm covers entity.happy_ghast.riding and entity.nautilus.riding (created in game/mob_sounds.rs): it stops when the ridden mob is gone or silent, and its volume is 0 unless the underwater test matches and the speed reaches 0.01, else the clamped lerp.

Validation, both jars so the client classes are indexed:

python3 tools/port_ledger.py build --jar /data/home/horizon/.local/minecraft/26.3/jars/client.jar --jar /data/home/horizon/.local/minecraft/26.3/jars/server.jar >/dev/null && python3 tools/port_ledger.py map-check tools/port_map/client2-008.tsv
150 rows, no problems.

Proven: the three rows against the tree, and javap -p -c -constants on ElytraOnPlayerSoundInstance.tick (the stop after 20 ticks once isFallFlying is false, the position update and the lengthSqr / 4 volume).

Not proven: SimpleModelWrapper.findNonBlockSprites stays missing (Horizon has one sprite atlas and no rejection of a block model whose sprites are outside the block atlas) and so does EntityBoundSoundInstance.tick (game/remote.rs has a comment saying the sound plays at the packet's arrival because the sound engine has no generic entity-bound instance). Both keep their current notes.


🔄 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/7140 **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-client2-008` --- ### 📝 Commits (1) - [`fe27ba6`](https://github.com/horizon-rust/horizon/commit/fe27ba6a99767f5e21829364af1b508e5dda816e) port_map: clear stale client2-008 rows ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-008.tsv` (+3 -3) </details> ### 📄 Description Rows in `tools/port_map/client2-008.tsv` whose verdict was `missing` but whose behaviour `main` already has: the world's own resource pack is pushed as a local pack, and the elytra and riding sound loops exist in the sound engine. | row | verdict | citation | | --- | --- | --- | | `ServerPackManager.pushLocalPack` | `port` | `crates/horizon-client/src/server_packs.rs::ServerPacks::push_local` | | `ElytraOnPlayerSoundInstance.tick` | `port` | `crates/horizon-client-render/src/sound_engine.rs::SoundInstance::tick` | | `RidingEntitySoundInstance.tick` | `port` | `crates/horizon-client-render/src/sound_engine.rs::SoundInstance::tick` | - `pushLocalPack`: `push_local` takes a pack already on disk (`Download::Done`, no url or sha1) and reports `DECLINED` when the prompt was declined; `game/server_packs.rs::server_packs_world_pack` calls it with the world's `resourcepacks/resources.zip`. - `ElytraOnPlayerSoundInstance.tick`: the `Ticking::Elytra` arm of `SoundInstance::tick` plays `minecraft:item.elytra.flying` (created in `game/music.rs`), follows the player, stops 20 ticks after gliding ends, and takes its volume from `speed / 4` clamped, silent for the first second and fading in over the next. - `RidingEntitySoundInstance.tick`: the `Ticking::RidingEntity` arm covers `entity.happy_ghast.riding` and `entity.nautilus.riding` (created in `game/mob_sounds.rs`): it stops when the ridden mob is gone or silent, and its volume is 0 unless the underwater test matches and the speed reaches 0.01, else the clamped lerp. Validation, both jars so the client classes are indexed: ``` python3 tools/port_ledger.py build --jar /data/home/horizon/.local/minecraft/26.3/jars/client.jar --jar /data/home/horizon/.local/minecraft/26.3/jars/server.jar >/dev/null && python3 tools/port_ledger.py map-check tools/port_map/client2-008.tsv 150 rows, no problems. ``` **Proven:** the three rows against the tree, and `javap -p -c -constants` on `ElytraOnPlayerSoundInstance.tick` (the stop after 20 ticks once `isFallFlying` is false, the position update and the `lengthSqr / 4` volume). **Not proven:** `SimpleModelWrapper.findNonBlockSprites` stays `missing` (Horizon has one sprite atlas and no rejection of a block model whose sprites are outside the block atlas) and so does `EntityBoundSoundInstance.tick` (`game/remote.rs` has a comment saying the sound plays at the packet's arrival because the sound engine has no generic entity-bound instance). Both keep their current notes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:38:27 +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#7367
No description provided.