[PR #2962] [MERGED] Show the End gateway spawn burst and sound #4715

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

📋 Pull Request Information

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

Base: main ← Head: fix/end-gateway-spawn-effects


📝 Commits (2)

  • 60c5d9f Apply falling stalactite damage and landing sounds
  • cac7fa9 Show the End gateway spawn burst and sound

📊 Changes

10 files changed (+120 additions, -21 deletions)

View changed files

📝 crates/horizon-client/src/falling_block.rs (+5 -1)
📝 crates/horizon-client/src/game.rs (+45 -6)
📝 crates/horizon-client/src/game/creatures.rs (+1 -0)
📝 crates/horizon-client/src/game/dragon.rs (+1 -0)
📝 crates/horizon-client/src/game/falling_damage.rs (+39 -4)
📝 crates/horizon-client/src/game/lan.rs (+4 -1)
📝 crates/horizon-client/src/mobs.rs (+5 -2)
📝 crates/horizon-world/src/level/falling.rs (+12 -4)
📝 crates/horizon-world/src/level/mod.rs (+6 -1)
📝 crates/horizon-world/src/level/tick.rs (+2 -2)

📄 Description

Depends on #2961; review after it.

What and why

After the dragon died the new gateway appeared silently. Now it comes with the explosion burst and the gateway spawn sound.

  • The dragon fight emits level event 3000 at the new gateway.
  • Clients draw the always-visible explosion emitter there and play block.end_gateway.spawn (volume 10, pitch 0.7 with the random spread).
  • LAN guests get the event too.

Vanilla reference

  • EnderDragonFight.java:430-446: spawnNewGateway emits the event.
  • LevelEventHandler.java:458-463: the sound and the emitter for event 3000.
  • ClientLevel.java:903-924: the particle call.

Self-check

clippy and fmt pass for horizon-client. Not run in game.


🔄 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/2962 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/end-gateway-spawn-effects` --- ### 📝 Commits (2) - [`60c5d9f`](https://github.com/horizon-rust/horizon/commit/60c5d9fefd9ae8b97123b86e493e08610aaea90d) Apply falling stalactite damage and landing sounds - [`cac7fa9`](https://github.com/horizon-rust/horizon/commit/cac7fa95fd6387043db4e58711610c34730d83cb) Show the End gateway spawn burst and sound ### 📊 Changes **10 files changed** (+120 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/falling_block.rs` (+5 -1) 📝 `crates/horizon-client/src/game.rs` (+45 -6) 📝 `crates/horizon-client/src/game/creatures.rs` (+1 -0) 📝 `crates/horizon-client/src/game/dragon.rs` (+1 -0) 📝 `crates/horizon-client/src/game/falling_damage.rs` (+39 -4) 📝 `crates/horizon-client/src/game/lan.rs` (+4 -1) 📝 `crates/horizon-client/src/mobs.rs` (+5 -2) 📝 `crates/horizon-world/src/level/falling.rs` (+12 -4) 📝 `crates/horizon-world/src/level/mod.rs` (+6 -1) 📝 `crates/horizon-world/src/level/tick.rs` (+2 -2) </details> ### 📄 Description Depends on #2961; review after it. ## What and why After the dragon died the new gateway appeared silently. Now it comes with the explosion burst and the gateway spawn sound. - The dragon fight emits level event 3000 at the new gateway. - Clients draw the always-visible explosion emitter there and play `block.end_gateway.spawn` (volume 10, pitch 0.7 with the random spread). - LAN guests get the event too. ## Vanilla reference - `EnderDragonFight.java:430-446`: `spawnNewGateway` emits the event. - `LevelEventHandler.java:458-463`: the sound and the emitter for event 3000. - `ClientLevel.java:903-924`: the particle call. ## Self-check clippy and fmt pass for horizon-client. Not run in game. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:07:25 +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#4715
No description provided.