[PR #3227] [CLOSED] elytra: gliding plays its wind loop, as ElytraOnPlayerSoundInstance does #4856

Closed
opened 2026-11-03 05:08:26 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3227
Author: @iLostName
Created: 10/28/2026
Status: ❌ Closed

Base: main ← Head: elytra-flying-sound


📝 Commits (1)

  • d62b1e9 elytra: gliding plays its wind loop, as ElytraOnPlayerSoundInstance does

📊 Changes

3 files changed (+78 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+4 -0)
📝 crates/horizon-client/src/game/music.rs (+19 -1)
📝 crates/horizon-client/src/sound_engine.rs (+55 -0)

📄 Description

What and why

Gliding with an elytra was silent. The loop now starts when gliding does: silent for its first second, fading in over the next, louder and higher with speed, and it stops when gliding ends. Fixes #2930.

Vanilla reference

LocalPlayer.onSyncedDataUpdated starts ElytraOnPlayerSoundInstance (item.elytra.flying, PLAYERS, looping, volume 0.1); its tick is ported as written, a new Ticking::Elytra beside the minecart and bee instances.

Self-check

tools/pr_ready.py --quick on PC-Lost was stopped partway (the machine ran low on memory). On this branch, against origin/main at 56f968e11: public tree ✅, rustfmt ✅, clippy ✅. The horizon-client tests ran on a branch with this commit and nine other fixes on the same base: 1093 passed, 2 failed (save::session_lock_is_exclusive and crash::stacks_start_at_the_panicking_frame, which fail on Windows on main too). The Python tests call python3, the Microsoft Store stub here, and fail for that reason. Parity is left to CI.


🔄 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/3227 **Author:** [@iLostName](https://github.com/iLostName) **Created:** 10/28/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `elytra-flying-sound` --- ### 📝 Commits (1) - [`d62b1e9`](https://github.com/horizon-rust/horizon/commit/d62b1e96fa206c9f923f19d83574f8d794ad237b) elytra: gliding plays its wind loop, as ElytraOnPlayerSoundInstance does ### 📊 Changes **3 files changed** (+78 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+4 -0) 📝 `crates/horizon-client/src/game/music.rs` (+19 -1) 📝 `crates/horizon-client/src/sound_engine.rs` (+55 -0) </details> ### 📄 Description ## What and why Gliding with an elytra was silent. The loop now starts when gliding does: silent for its first second, fading in over the next, louder and higher with speed, and it stops when gliding ends. Fixes #2930. ## Vanilla reference `LocalPlayer.onSyncedDataUpdated` starts `ElytraOnPlayerSoundInstance` (`item.elytra.flying`, PLAYERS, looping, volume 0.1); its `tick` is ported as written, a new `Ticking::Elytra` beside the minecart and bee instances. ## Self-check `tools/pr_ready.py --quick` on PC-Lost was stopped partway (the machine ran low on memory). On this branch, against origin/main at 56f968e11: public tree ✅, rustfmt ✅, clippy ✅. The `horizon-client` tests ran on a branch with this commit and nine other fixes on the same base: 1093 passed, 2 failed (`save::session_lock_is_exclusive` and `crash::stacks_start_at_the_panicking_frame`, which fail on Windows on main too). The Python tests call `python3`, the Microsoft Store stub here, and fail for that reason. Parity is left to CI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:08:26 +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#4856
No description provided.