[PR #2514] [MERGED] Play the amethyst chime when walking on amethyst blocks #4384

Closed
opened 2026-11-03 04:16:46 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2514
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/amethyst-step-chime


📝 Commits (1)

  • 7673d38 Play the amethyst chime when walking on amethyst blocks

📊 Changes

3 files changed (+54 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+8 -0)
📝 crates/horizon-client/src/game/remote.rs (+8 -0)
📝 crates/horizon-client/src/motion.rs (+38 -0)

📄 Description

What and why

Walking on an amethyst block or a budding amethyst gave no chime. Vanilla plays block.amethyst_block.chime after the step, at most once every 20 ticks. The chime gets louder and higher with steps taken close together (intensity +0.07 per chime, capped at 1, decaying by 0.997 per tick).

The player now keeps vanilla's intensity and last chime tick, and walking_step_sound emits a new Chime event that both the in-frame player and the server-thread client play.

Vanilla reference

  • Entity.walkingStepSound, shouldPlayAmethystStepSound, playAmethystStepSound
  • Tag crystal_sound_blocks

Self-check

cargo check -p horizon-client passes.


🔄 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/2514 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/amethyst-step-chime` --- ### 📝 Commits (1) - [`7673d38`](https://github.com/horizon-rust/horizon/commit/7673d38ed77042a3972d2040524231410e1564c4) Play the amethyst chime when walking on amethyst blocks ### 📊 Changes **3 files changed** (+54 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+8 -0) 📝 `crates/horizon-client/src/game/remote.rs` (+8 -0) 📝 `crates/horizon-client/src/motion.rs` (+38 -0) </details> ### 📄 Description ## What and why Walking on an amethyst block or a budding amethyst gave no chime. Vanilla plays `block.amethyst_block.chime` after the step, at most once every 20 ticks. The chime gets louder and higher with steps taken close together (intensity +0.07 per chime, capped at 1, decaying by 0.997 per tick). The player now keeps vanilla's intensity and last chime tick, and `walking_step_sound` emits a new `Chime` event that both the in-frame player and the server-thread client play. ## Vanilla reference - `Entity.walkingStepSound`, `shouldPlayAmethystStepSound`, `playAmethystStepSound` - Tag `crystal_sound_blocks` ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:16:46 +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#4384
No description provided.