[PR #2520] [MERGED] Fix turtle step timing and camel sand step sounds #4390

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

📋 Pull Request Information

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

Base: main ← Head: fix/mob-step-sounds


📝 Commits (1)

  • dca96dd Fix turtle step timing and camel sand step sounds

📊 Changes

2 files changed (+17 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/mobs/ai.rs (+14 -2)
📝 crates/horizon-client/src/mobs/living.rs (+3 -1)

📄 Description

What and why

Two mob footstep fixes.

  • A turtle's next step is moveDist + 0.15, so it shuffles about every quarter block. Horizon used the default of one whole metre, so land turtles were nearly silent.
  • Camels and camel husks use their own step sound (entity.camel.step_sand, entity.camel_husk.step_sand) on blocks in camel_sand_step_sound_blocks (sand and concrete powder). Horizon always played the normal step.

Vanilla reference

  • Turtle.nextStep
  • Camel.playStepSound, CamelHusk.playStepSound
  • Tag camel_sand_step_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/2520 **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/mob-step-sounds` --- ### 📝 Commits (1) - [`dca96dd`](https://github.com/horizon-rust/horizon/commit/dca96dd1df8f0fc2b4328b904e32a7ef7a2ae64a) Fix turtle step timing and camel sand step sounds ### 📊 Changes **2 files changed** (+17 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mobs/ai.rs` (+14 -2) 📝 `crates/horizon-client/src/mobs/living.rs` (+3 -1) </details> ### 📄 Description ## What and why Two mob footstep fixes. - A turtle's next step is `moveDist + 0.15`, so it shuffles about every quarter block. Horizon used the default of one whole metre, so land turtles were nearly silent. - Camels and camel husks use their own step sound (`entity.camel.step_sand`, `entity.camel_husk.step_sand`) on blocks in `camel_sand_step_sound_blocks` (sand and concrete powder). Horizon always played the normal step. ## Vanilla reference - `Turtle.nextStep` - `Camel.playStepSound`, `CamelHusk.playStepSound` - Tag `camel_sand_step_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:49 +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#4390
No description provided.