[PR #2422] [MERGED] Players slide down the sides of honey blocks #4302

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

📋 Pull Request Information

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

Base: main ← Head: fix/honey-block-slide


📝 Commits (2)

  • 4ebfaef Slide slowly down the sides of honey blocks
  • eab8d0f Slide on honey for the server's player and show the slide effects to multiplayer clients

📊 Changes

4 files changed (+143 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+43 -0)
📝 crates/horizon-client/src/game/lan_actions.rs (+21 -0)
📝 crates/horizon-client/src/game/remote.rs (+24 -0)
📝 crates/horizon-client/src/motion.rs (+55 -0)

📄 Description

What and why

Falling against the side of a honey block did nothing: the player dropped at full speed and took fall damage. Now a player who touches the side of a honey block while falling slides down it slowly (vertical speed held to about -0.05 per tick, horizontal speed scaled to match, fall distance reset), with the slide sound and block particles every few ticks.

The slide is applied where the other client-side block effects (cobweb, sweet berry bush) are, so the player's own movement and the server's copy of it both use it. The sound and the five particles are played for the local player, as vanilla's client does.

Vanilla reference

  • HoneyBlock.entityInside, isSlidingDown, doSlideMovement, getOldDeltaY / getNewDeltaY, maybeDoSlideEffects, showSlideParticles (entity event 53).

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/2422 **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/honey-block-slide` --- ### 📝 Commits (2) - [`4ebfaef`](https://github.com/horizon-rust/horizon/commit/4ebfaef0d3976c2e003acddeded25c891028d1d4) Slide slowly down the sides of honey blocks - [`eab8d0f`](https://github.com/horizon-rust/horizon/commit/eab8d0f91120e6f9732196a01e2b2a9fb03bf0bf) Slide on honey for the server's player and show the slide effects to multiplayer clients ### 📊 Changes **4 files changed** (+143 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+43 -0) 📝 `crates/horizon-client/src/game/lan_actions.rs` (+21 -0) 📝 `crates/horizon-client/src/game/remote.rs` (+24 -0) 📝 `crates/horizon-client/src/motion.rs` (+55 -0) </details> ### 📄 Description ## What and why Falling against the side of a honey block did nothing: the player dropped at full speed and took fall damage. Now a player who touches the side of a honey block while falling slides down it slowly (vertical speed held to about -0.05 per tick, horizontal speed scaled to match, fall distance reset), with the slide sound and block particles every few ticks. The slide is applied where the other client-side block effects (cobweb, sweet berry bush) are, so the player's own movement and the server's copy of it both use it. The sound and the five particles are played for the local player, as vanilla's client does. ## Vanilla reference - `HoneyBlock.entityInside`, `isSlidingDown`, `doSlideMovement`, `getOldDeltaY` / `getNewDeltaY`, `maybeDoSlideEffects`, `showSlideParticles` (entity event 53). ## 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:11 +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#4302
No description provided.