[PR #2260] [MERGED] Give the Ender Dragon its ambient sound #4154

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

📋 Pull Request Information

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

Base: main ← Head: fix/dragon-ambient-sound


📝 Commits (2)

  • aff673a Give the Ender Dragon its ambient sound
  • d77569c The dragon's ambient pitch draws from its own random

📊 Changes

1 file changed (+25 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game/dragon.rs (+25 -0)

📄 Description

What and why

The Ender Dragon never made its ambient sound, only the growl and the wing flaps. Like every mob, vanilla gives it a random ambient sound that gets rarer right after it plays or after the dragon is hurt. It now plays entity.ender_dragon.ambient at volume 5.0 with the usual voice pitch.

Vanilla reference

  • Mob.baseTick (random.nextInt(1000) < ambientSoundTime++), resetAmbientSoundTime, playHurtSound, getAmbientSoundInterval (80)
  • EnderDragon.getAmbientSound (ENDER_DRAGON_AMBIENT) and getSoundVolume (5.0)
  • LivingEntity.makeSound, getVoicePitch

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/2260 **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/dragon-ambient-sound` --- ### 📝 Commits (2) - [`aff673a`](https://github.com/horizon-rust/horizon/commit/aff673a08dbec0ababc2e70c51abe1706cd32c5e) Give the Ender Dragon its ambient sound - [`d77569c`](https://github.com/horizon-rust/horizon/commit/d77569c6720a9ea593460b7fc0398f1328e009c6) The dragon's ambient pitch draws from its own random ### 📊 Changes **1 file changed** (+25 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/dragon.rs` (+25 -0) </details> ### 📄 Description ## What and why The Ender Dragon never made its ambient sound, only the growl and the wing flaps. Like every mob, vanilla gives it a random ambient sound that gets rarer right after it plays or after the dragon is hurt. It now plays `entity.ender_dragon.ambient` at volume 5.0 with the usual voice pitch. ## Vanilla reference - `Mob.baseTick` (`random.nextInt(1000) < ambientSoundTime++`), `resetAmbientSoundTime`, `playHurtSound`, `getAmbientSoundInterval` (80) - `EnderDragon.getAmbientSound` (`ENDER_DRAGON_AMBIENT`) and `getSoundVolume` (5.0) - `LivingEntity.makeSound`, `getVoicePitch` ## 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:15:03 +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#4154
No description provided.