[PR #2513] [MERGED] Play the sand idle and poplar leaves ambient sounds #4383

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

📋 Pull Request Information

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

Base: main ← Head: fix/desert-leaves-ambient


📝 Commits (6)

  • 426b3c8 Play the sand idle and poplar leaves ambient sounds
  • 765cef8 Put the candle's doc comment back on candle
  • a21cf57 Merge main into fix/desert-leaves-ambient
  • 0e927e6 Merge commit 'refs/cg19/pr/2516' into HEAD
  • 78dba05 Merge #2516 into fix/desert-leaves-ambient
  • bcb5390 Merge main into fix/desert-leaves-ambient

📊 Changes

1 file changed (+129 additions, -24 deletions)

View changed files

📝 crates/horizon-client/src/animate_tick.rs (+129 -24)

📄 Description

What and why

Two ambient block sounds had no code in Horizon:

  • Sand idle: sand and red sand with plain air above play block.sand.idle (1 in 2100 per animate tick) when the surface column eight blocks away on all four sides also has sand under open air.
  • Poplar leaves ambient: red, orange and yellow poplar leaves play block.poplar_leaves.ambient (1 in 300) when they touch one natural log and three leaves of the same kind on the sides.

The poplar leaves also had no animate behaviour at all, so they now drop their falling leaf particle (chance 0.01) like the other leaves.

The dead bush and dry grass desert sounds are in #2412 and are not touched here, so the two PRs edit the same tables in animate_tick.rs and may need a small merge.

Vanilla reference

  • AmbientDesertBlockSoundsPlayer.playAmbientSandSounds, shouldPlayAmbientSandSound, columnContainsTriggeringBlock (called from SandBlock.animateTick)
  • AmbientLeavesBlockSoundPlayer.playAmbientLeavesSounds (called from LeavesBlock.animateTick), UntintedParticleLeavesBlock for the particle
  • Tags triggers_ambient_desert_sand_block_sounds, required_for_poplar_leaf_ambience

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/2513 **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/desert-leaves-ambient` --- ### 📝 Commits (6) - [`426b3c8`](https://github.com/horizon-rust/horizon/commit/426b3c83cf6a749e6966528bc90baab7ca6d658a) Play the sand idle and poplar leaves ambient sounds - [`765cef8`](https://github.com/horizon-rust/horizon/commit/765cef8a4eb33b82f7f9e8c79ede3d037f513968) Put the candle's doc comment back on candle - [`a21cf57`](https://github.com/horizon-rust/horizon/commit/a21cf57a1194d0f1bd74c58dd5ab2a636643e489) Merge main into fix/desert-leaves-ambient - [`0e927e6`](https://github.com/horizon-rust/horizon/commit/0e927e6f11c09013783e91f54d04f79f46fa7e1a) Merge commit 'refs/cg19/pr/2516' into HEAD - [`78dba05`](https://github.com/horizon-rust/horizon/commit/78dba05d8f7e7daa62e4355c3d8ff1dbc5c67b49) Merge #2516 into fix/desert-leaves-ambient - [`bcb5390`](https://github.com/horizon-rust/horizon/commit/bcb539057d9f2e896914277db57aceefdf3e2369) Merge main into fix/desert-leaves-ambient ### 📊 Changes **1 file changed** (+129 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/animate_tick.rs` (+129 -24) </details> ### 📄 Description ## What and why Two ambient block sounds had no code in Horizon: - **Sand idle**: sand and red sand with plain air above play `block.sand.idle` (1 in 2100 per animate tick) when the surface column eight blocks away on all four sides also has sand under open air. - **Poplar leaves ambient**: red, orange and yellow poplar leaves play `block.poplar_leaves.ambient` (1 in 300) when they touch one natural log and three leaves of the same kind on the sides. The poplar leaves also had no animate behaviour at all, so they now drop their falling leaf particle (chance 0.01) like the other leaves. The dead bush and dry grass desert sounds are in #2412 and are not touched here, so the two PRs edit the same tables in `animate_tick.rs` and may need a small merge. ## Vanilla reference - `AmbientDesertBlockSoundsPlayer.playAmbientSandSounds`, `shouldPlayAmbientSandSound`, `columnContainsTriggeringBlock` (called from `SandBlock.animateTick`) - `AmbientLeavesBlockSoundPlayer.playAmbientLeavesSounds` (called from `LeavesBlock.animateTick`), `UntintedParticleLeavesBlock` for the particle - Tags `triggers_ambient_desert_sand_block_sounds`, `required_for_poplar_leaf_ambience` ## 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:45 +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#4383
No description provided.