[PR #2963] [MERGED] Send End portal frame fill effects to nearby players #4716

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/2963
Author: @kacpherek
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @ludovic111

Base: main ← Head: fix/end-portal-frame-effects


📝 Commits (3)

  • 60c5d9f Apply falling stalactite damage and landing sounds
  • cac7fa9 Show the End gateway spawn burst and sound
  • 305ffc4 Send End portal frame fill effects to nearby players

📊 Changes

12 files changed (+141 additions, -32 deletions)

View changed files

📝 crates/horizon-client/src/falling_block.rs (+5 -1)
📝 crates/horizon-client/src/game.rs (+52 -8)
📝 crates/horizon-client/src/game/creatures.rs (+1 -0)
📝 crates/horizon-client/src/game/dragon.rs (+1 -0)
📝 crates/horizon-client/src/game/end.rs (+2 -8)
📝 crates/horizon-client/src/game/falling_damage.rs (+39 -4)
📝 crates/horizon-client/src/game/lan.rs (+5 -2)
📝 crates/horizon-client/src/game/level_particles.rs (+11 -0)
📝 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 #2962, which stacks on #2961; review after it.

What and why

Putting an Eye of Ender in a portal frame played the sound only for the player who placed it, and there was no smoke.

  • The frame fill is now level event 1503, sent to nearby players: the fill sound plus 16 smoke puffs above the frame.
  • The player who places the eye sees and hears it through the same event, so there is one path for everyone.

Vanilla reference

  • EnderEyeItem.java:49-53: useOn emits event 1503.
  • LevelEventHandler.java:292-300: the sound and the 16 smoke particles.

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/2963 **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-portal-frame-effects` --- ### 📝 Commits (3) - [`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 - [`305ffc4`](https://github.com/horizon-rust/horizon/commit/305ffc4e39a006eef52a5b4504e612d97c3c41e1) Send End portal frame fill effects to nearby players ### 📊 Changes **12 files changed** (+141 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/falling_block.rs` (+5 -1) 📝 `crates/horizon-client/src/game.rs` (+52 -8) 📝 `crates/horizon-client/src/game/creatures.rs` (+1 -0) 📝 `crates/horizon-client/src/game/dragon.rs` (+1 -0) 📝 `crates/horizon-client/src/game/end.rs` (+2 -8) 📝 `crates/horizon-client/src/game/falling_damage.rs` (+39 -4) 📝 `crates/horizon-client/src/game/lan.rs` (+5 -2) 📝 `crates/horizon-client/src/game/level_particles.rs` (+11 -0) 📝 `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 #2962, which stacks on #2961; review after it. ## What and why Putting an Eye of Ender in a portal frame played the sound only for the player who placed it, and there was no smoke. - The frame fill is now level event 1503, sent to nearby players: the fill sound plus 16 smoke puffs above the frame. - The player who places the eye sees and hears it through the same event, so there is one path for everyone. ## Vanilla reference - `EnderEyeItem.java:49-53`: `useOn` emits event 1503. - `LevelEventHandler.java:292-300`: the sound and the 16 smoke particles. ## 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#4716
No description provided.