[PR #6513] [CLOSED] fixed minecart sound #6926

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6513
Author: @EloniTest
Created: 11/1/2026
Status: ❌ Closed

Base: main ← Head: fix/minecart-sounds


📝 Commits (2)

  • 34d7bfd fixed minecart sound
  • f5ee996 Fix remote minecart sound speed

📊 Changes

2 files changed (+29 additions, -2 deletions)

View changed files

📝 crates/horizon-client/src/game/minecarts.rs (+28 -2)
📝 crates/horizon-client/src/game/remote.rs (+1 -0)

📄 Description

What and why

Remote minecart rolling sounds could stay silent when the cart moved by client-side interpolation but its velocity was still zero. Use interpolated horizontal movement as a fallback for remote carts, while preserving velocity-based behavior for local carts.

Kind

  • parity: Horizon now does what vanilla 26.3 does
  • bug: a crash or a breakage
  • perf: faster, or less memory
  • feature: something new for players (listed under New in the release notes)
  • extra: Horizon-only, off by default
  • tooling: tools, CI, tests, harnesses
  • docs

Vanilla reference

MinecartSoundInstance.tick (rolling-sound behavior). The regression is covered by remote_cart_sound_uses_interpolated_movement_when_velocity_is_missing; no parity harness was added.

Other projects' code

None.

Self-check

Command: python tools\pr_ready.py --base upstream/main — failed on this machine.

Check Result
Scope 1 file, +23 −2
Cargo.lock Passed; unchanged
Public tree Passed
Python tests Failed: 492 run, 12 errors, 12 skipped
rustfmt Passed
clippy Passed
horizon-client tests Failed: 1615 passed, 1 failed, 3 ignored
Doc tests Passed
Parity Failed

Environment details: Python 3.10.6 lacks hashlib.file_digest and tomllib, causing Python-test and parity errors. The Rust suite also reported a failure in game::native_hooks::tests::loot_table_load_stays_hookable.

Fixes #6511


🔄 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/6513 **Author:** [@EloniTest](https://github.com/EloniTest) **Created:** 11/1/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/minecart-sounds` --- ### 📝 Commits (2) - [`34d7bfd`](https://github.com/horizon-rust/horizon/commit/34d7bfd7944909dbba0c234a9899533d68b48978) fixed minecart sound - [`f5ee996`](https://github.com/horizon-rust/horizon/commit/f5ee9961c2578146bbeb120b411f3deca5f36425) Fix remote minecart sound speed ### 📊 Changes **2 files changed** (+29 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/minecarts.rs` (+28 -2) 📝 `crates/horizon-client/src/game/remote.rs` (+1 -0) </details> ### 📄 Description ## What and why Remote minecart rolling sounds could stay silent when the cart moved by client-side interpolation but its velocity was still zero. Use interpolated horizontal movement as a fallback for remote carts, while preserving velocity-based behavior for local carts. ## Kind - [ ] parity: Horizon now does what vanilla 26.3 does - [x] bug: a crash or a breakage - [ ] perf: faster, or less memory - [ ] feature: something new for players (listed under New in the release notes) - [ ] extra: Horizon-only, off by default - [ ] tooling: tools, CI, tests, harnesses - [ ] docs ## Vanilla reference `MinecartSoundInstance.tick` (rolling-sound behavior). The regression is covered by `remote_cart_sound_uses_interpolated_movement_when_velocity_is_missing`; no parity harness was added. ## Other projects' code None. ## Self-check Command: `python tools\pr_ready.py --base upstream/main` — **failed** on this machine. | Check | Result | |---|---| | Scope | 1 file, +23 −2 | | Cargo.lock | Passed; unchanged | | Public tree | Passed | | Python tests | Failed: 492 run, 12 errors, 12 skipped | | rustfmt | Passed | | clippy | Passed | | horizon-client tests | Failed: 1615 passed, 1 failed, 3 ignored | | Doc tests | Passed | | Parity | Failed | Environment details: Python 3.10.6 lacks `hashlib.file_digest` and `tomllib`, causing Python-test and parity errors. The Rust suite also reported a failure in `game::native_hooks::tests::loot_table_load_stays_hookable`. Fixes #6511 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:29:20 +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#6926
No description provided.