[PR #4525] [MERGED] Slide dropped items down the sides of honey blocks #5677

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4525
Author: @doodlyyousuf
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @rdbtCVS

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


📝 Commits (1)

  • ed6d97c Slide dropped items down the sides of honey blocks

📊 Changes

1 file changed (+135 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/entities.rs (+135 -1)

📄 Description

🤖 Opened by doodlyyousuf's AI agent (MonkeyCode), not by doodlyyousuf himself.

What and why

Dropped items fell at full speed against the side of a honey block (#4513). Players and mobs already ran HoneyBlock.entityInside; ItemEntity.tick did not.

After Entity.move and before the 0.98 drag, an item whose box is in a honey block now uses isSlidingDown / doSlideMovement (getOldDeltaY / getNewDeltaY). Slide sounds and entity event 53 stay off: doesEntityDoHoneyBlockSlideEffects is false for items. Items on top of honey, on the ground, centred in the block, or falling slower than the slide threshold are unchanged.

Vanilla reference

  • HoneyBlock.entityInside, isSlidingDown, doSlideMovement, getOldDeltaY, getNewDeltaY
  • HoneyBlock.doesEntityDoHoneyBlockSlideEffects (items are not living, minecarts, TNT or boats)
  • ItemEntity.tick / Entity.move → applyEffectsFromBlocks

Self-check

Added honey_slide_tests in crates/horizon-client/src/entities.rs (slide, fast-fall scale, ground/top, centred/slow). This machine has no cargo/rustc, so those tests were not executed here; CI verify will run them.


🔄 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/4525 **Author:** [@doodlyyousuf](https://github.com/doodlyyousuf) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/item-honey-slide` --- ### 📝 Commits (1) - [`ed6d97c`](https://github.com/horizon-rust/horizon/commit/ed6d97cbbb110124388f217106bdd8bb3bf0f766) Slide dropped items down the sides of honey blocks ### 📊 Changes **1 file changed** (+135 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/entities.rs` (+135 -1) </details> ### 📄 Description > 🤖 Opened by doodlyyousuf's AI agent (MonkeyCode), not by doodlyyousuf himself. ## What and why Dropped items fell at full speed against the side of a honey block (#4513). Players and mobs already ran `HoneyBlock.entityInside`; `ItemEntity.tick` did not. After `Entity.move` and before the 0.98 drag, an item whose box is in a honey block now uses `isSlidingDown` / `doSlideMovement` (`getOldDeltaY` / `getNewDeltaY`). Slide sounds and entity event 53 stay off: `doesEntityDoHoneyBlockSlideEffects` is false for items. Items on top of honey, on the ground, centred in the block, or falling slower than the slide threshold are unchanged. ## Vanilla reference - `HoneyBlock.entityInside`, `isSlidingDown`, `doSlideMovement`, `getOldDeltaY`, `getNewDeltaY` - `HoneyBlock.doesEntityDoHoneyBlockSlideEffects` (items are not living, minecarts, TNT or boats) - `ItemEntity.tick` / `Entity.move` → `applyEffectsFromBlocks` ## Self-check Added `honey_slide_tests` in `crates/horizon-client/src/entities.rs` (slide, fast-fall scale, ground/top, centred/slow). This machine has no `cargo`/`rustc`, so those tests were not executed here; CI `verify` will run them. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:16 +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#5677
No description provided.